blob: af1eca8f4f3b8db1eb1a581cebfaf24cf19ba473 [file] [log] [blame]
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//testing/test.gni")
group("cloud_print") {
if (is_win) {
public_deps = [
"//cloud_print/service/win:cloud_print_service",
"//cloud_print/service/win:cloud_print_service_config",
"//cloud_print/service/win:cloud_print_service_setup",
"//cloud_print/virtual_driver/win/install:virtual_driver_setup",
"//cloud_print/virtual_driver/win/port_monitor",
]
# When compiling 32-bit, also reference the 64-bit driver for installing on
# 64-bit systems.
if (target_cpu == "x86" && current_cpu == "x86") {
public_deps += [ "//cloud_print/virtual_driver/win/port_monitor(//build/toolchain/win:x64)" ]
}
}
}
test("cloud_print_unittests") {
sources = [
"service/service_state_unittest.cc",
]
deps = [
"//base",
"//base/test:run_all_unittests",
"//cloud_print/service:lib",
"//testing/gmock",
"//testing/gtest",
]
if (is_win) {
sources += [
"service/win/service_ipc_unittest.cc",
"virtual_driver/win/port_monitor/port_monitor_unittest.cc",
]
deps += [ "//cloud_print/virtual_driver/win/port_monitor:lib" ]
libs = [ "secur32.lib" ]
}
}