| 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/process_version_rc_template.gni") | 5 import("//chrome/process_version_rc_template.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 source_set("client") { | 8 source_set("client") { |
| 9 sources = [ | 9 sources = [ |
| 10 "chrome_watcher_main_api.cc", | 10 "chrome_watcher_main_api.cc", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 ] | 34 ] |
| 35 deps = [ | 35 deps = [ |
| 36 ":client", | 36 ":client", |
| 37 ":hang_util", | 37 ":hang_util", |
| 38 "//base/test:run_all_unittests", | 38 "//base/test:run_all_unittests", |
| 39 "//base/test:test_support", | 39 "//base/test:test_support", |
| 40 "//testing/gtest", | 40 "//testing/gtest", |
| 41 ] | 41 ] |
| 42 } | 42 } |
| 43 | 43 |
| 44 group("kasko_util") { | |
| 45 public_deps = [ | |
| 46 "//third_party/kasko:kasko_features", | |
| 47 ] | |
| 48 } | |
| 49 | |
| 50 process_version_rc_template("chrome_watcher_resources") { | 44 process_version_rc_template("chrome_watcher_resources") { |
| 51 sources = [ | 45 sources = [ |
| 52 "chrome_watcher.ver", | 46 "chrome_watcher.ver", |
| 53 ] | 47 ] |
| 54 output = "$target_gen_dir/chrome_watcher_version.rc" | 48 output = "$target_gen_dir/chrome_watcher_version.rc" |
| 55 } | 49 } |
| 56 | 50 |
| 57 shared_library("chrome_watcher") { | 51 shared_library("chrome_watcher") { |
| 58 sources = [ | 52 sources = [ |
| 59 "chrome_watcher_main.cc", | 53 "chrome_watcher_main.cc", |
| 60 ] | 54 ] |
| 61 inputs = [ | 55 inputs = [ |
| 62 "chrome_watcher.def", | 56 "chrome_watcher.def", |
| 63 ] | 57 ] |
| 64 deps = [ | 58 deps = [ |
| 65 ":chrome_watcher_resources", | 59 ":chrome_watcher_resources", |
| 66 ":client", | 60 ":client", |
| 67 ":kasko_util", | |
| 68 "//base", | 61 "//base", |
| 69 "//base:base_static", | 62 "//base:base_static", |
| 70 "//build/config/sanitizers:deps", | 63 "//build/config/sanitizers:deps", |
| 71 "//chrome/common:metrics_constants_util_win", | 64 "//chrome/common:metrics_constants_util_win", |
| 72 "//chrome/install_static:secondary_module", | 65 "//chrome/install_static:secondary_module", |
| 73 "//chrome_elf", | 66 "//chrome_elf", |
| 74 "//components/browser_watcher", | 67 "//components/browser_watcher", |
| 75 ] | 68 ] |
| 76 ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ] | 69 ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ] |
| 77 configs -= [ "//build/config/win:console" ] | 70 configs -= [ "//build/config/win:console" ] |
| 78 configs += [ "//build/config/win:windowed" ] | 71 configs += [ "//build/config/win:windowed" ] |
| 79 } | 72 } |
| OLD | NEW |