Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: cloud_print/BUILD.gn

Issue 2541123003: Resurrect the cloud printer driver. (Closed)
Patch Set: Remove cross-compiling option for the portmon dll. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cloud_print/BRANDING ('k') | cloud_print/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/BUILD.gn
diff --git a/cloud_print/BUILD.gn b/cloud_print/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..7ff2df9c64f40a4e30d24bd9de33c0cdab6024fb
--- /dev/null
+++ b/cloud_print/BUILD.gn
@@ -0,0 +1,36 @@
+# 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/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 = [
+ "virtual_driver/win/port_monitor/port_monitor_unittest.cc",
+ ]
+
+ deps = [
+ "//base",
+ "//base/test:run_all_unittests",
+ "//cloud_print/virtual_driver/win/port_monitor:lib",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+
+ libs = [ "secur32.lib" ]
+}
« no previous file with comments | « cloud_print/BRANDING ('k') | cloud_print/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698