| 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", |
| 11 "chrome_watcher_main_api.h", | 11 "chrome_watcher_main_api.h", |
| 12 ] | 12 ] |
| 13 deps = [ | 13 deps = [ |
| 14 "//base", | 14 "//base", |
| 15 ] | 15 ] |
| 16 } | 16 } |
| 17 | 17 |
| 18 source_set("hang_util") { | 18 source_set("hang_util") { |
| 19 sources = [ | 19 sources = [ |
| 20 "system_load_estimator.cc", | 20 "system_load_estimator.cc", |
| 21 "system_load_estimator.h", | 21 "system_load_estimator.h", |
| 22 ] | 22 ] |
| 23 deps = [ | 23 deps = [ |
| 24 "//base", | 24 "//base", |
| 25 "//components/memory_pressure", | |
| 26 ] | 25 ] |
| 27 libs = [ "pdh.lib" ] # Used by system_load_estimator.h. | 26 libs = [ "pdh.lib" ] # Used by system_load_estimator.h. |
| 28 ldflags = [ "/DELAYLOAD:pdh.dll" ] # Only used on report capture. | 27 ldflags = [ "/DELAYLOAD:pdh.dll" ] # Only used on report capture. |
| 29 } | 28 } |
| 30 | 29 |
| 31 test("system_load_estimator_unittests") { | 30 test("system_load_estimator_unittests") { |
| 32 sources = [ | 31 sources = [ |
| 33 "system_load_estimator_unittest.cc", | 32 "system_load_estimator_unittest.cc", |
| 34 ] | 33 ] |
| 35 deps = [ | 34 deps = [ |
| (...skipping 27 matching lines...) Expand all Loading... |
| 63 "//build/config/sanitizers:deps", | 62 "//build/config/sanitizers:deps", |
| 64 "//chrome/common", | 63 "//chrome/common", |
| 65 "//chrome/install_static:secondary_module", | 64 "//chrome/install_static:secondary_module", |
| 66 "//chrome_elf", | 65 "//chrome_elf", |
| 67 "//components/browser_watcher", | 66 "//components/browser_watcher", |
| 68 ] | 67 ] |
| 69 ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ] | 68 ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ] |
| 70 configs -= [ "//build/config/win:console" ] | 69 configs -= [ "//build/config/win:console" ] |
| 71 configs += [ "//build/config/win:windowed" ] | 70 configs += [ "//build/config/win:windowed" ] |
| 72 } | 71 } |
| OLD | NEW |