OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//chrome/version.gni") | 5 import("//chrome/version.gni") |
6 | 6 |
7 assert(is_win) | 7 assert(is_win) |
8 | 8 |
9 # When cross-compiling a 64-bit driver for a 32-bit build, some things get name | 9 # When cross-compiling a 64-bit driver for a 32-bit build, some things get name |
10 # mangled with this suffix. | 10 # mangled with this suffix. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 "port_monitor.def", | 44 "port_monitor.def", |
45 "port_monitor_dll.cc", | 45 "port_monitor_dll.cc", |
46 ] | 46 ] |
47 | 47 |
48 deps = [ | 48 deps = [ |
49 ":lib", | 49 ":lib", |
50 ":resources", | 50 ":resources", |
51 "//base", | 51 "//base", |
52 "//chrome/common:constants", | 52 "//chrome/common:constants", |
53 "//chrome/common:version_header", | 53 "//chrome/common:version_header", |
| 54 "//cloud_print/common", |
| 55 "//cloud_print/virtual_driver/win", |
54 ] | 56 ] |
55 | 57 |
56 libs = [ "userenv.lib" ] | 58 libs = [ "userenv.lib" ] |
57 } | 59 } |
58 | 60 |
59 source_set("lib") { | 61 source_set("lib") { |
60 sources = [ | 62 sources = [ |
61 "port_monitor.cc", | 63 "port_monitor.cc", |
62 "port_monitor.h", | 64 "port_monitor.h", |
63 ] | 65 ] |
64 | 66 |
65 deps = [ | 67 deps = [ |
66 "//base", | 68 "//base", |
67 "//chrome/common:constants", | 69 "//chrome/common:constants", |
68 "//chrome/installer/launcher_support", | 70 "//chrome/installer/launcher_support", |
| 71 "//cloud_print/common", |
69 "//cloud_print/virtual_driver/win", | 72 "//cloud_print/virtual_driver/win", |
70 ] | 73 ] |
71 } | 74 } |
72 | 75 |
73 process_version("resources") { | 76 process_version("resources") { |
74 template_file = chrome_version_rc_template | 77 template_file = chrome_version_rc_template |
75 sources = [ | 78 sources = [ |
76 "../gcp_portmon${arch_suffix}_dll.ver", | 79 "../gcp_portmon${arch_suffix}_dll.ver", |
77 ] | 80 ] |
78 | 81 |
79 # Note: target_gen_dir will be different for each toolchain so the output | 82 # Note: target_gen_dir will be different for each toolchain so the output |
80 # name doesn't need mangling. | 83 # name doesn't need mangling. |
81 output = "$target_gen_dir/gcp_portmon_dll.rc" | 84 output = "$target_gen_dir/gcp_portmon_dll.rc" |
82 } | 85 } |
OLD | NEW |