| OLD | NEW |
| (Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//chrome/process_version_rc_template.gni") |
| 6 |
| 7 assert(is_win) |
| 8 |
| 9 group("port_monitor") { |
| 10 public_deps = [ |
| 11 ":port_monitor_dll", |
| 12 ] |
| 13 } |
| 14 |
| 15 shared_library("port_monitor_dll") { |
| 16 output_name = "gcp_portmon" |
| 17 |
| 18 sources = [ |
| 19 "port_monitor.def", |
| 20 "port_monitor_dll.cc", |
| 21 ] |
| 22 |
| 23 deps = [ |
| 24 ":lib", |
| 25 ":resources", |
| 26 "//base", |
| 27 "//chrome/common:constants", |
| 28 "//chrome/common:version_header", |
| 29 "//cloud_print/common", |
| 30 "//cloud_print/virtual_driver/win", |
| 31 ] |
| 32 |
| 33 libs = [ "userenv.lib" ] |
| 34 } |
| 35 |
| 36 source_set("lib") { |
| 37 sources = [ |
| 38 "port_monitor.cc", |
| 39 "port_monitor.h", |
| 40 ] |
| 41 |
| 42 deps = [ |
| 43 "//base", |
| 44 "//chrome/common:constants", |
| 45 "//chrome/installer/launcher_support", |
| 46 "//cloud_print/common", |
| 47 "//cloud_print/virtual_driver/win", |
| 48 ] |
| 49 } |
| 50 |
| 51 process_version_rc_template("resources") { |
| 52 sources = [ |
| 53 "../gcp_portmon_dll.ver", |
| 54 ] |
| 55 |
| 56 # Note: target_gen_dir will be different for each toolchain so the output |
| 57 # name doesn't need mangling. |
| 58 output = "$target_gen_dir/gcp_portmon_dll.rc" |
| 59 } |
| OLD | NEW |