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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 # Works only on desktop platforms. | 7 # Works only on desktop platforms. |
8 assert(is_win || is_linux || is_mac) | 8 assert(is_win || is_linux || is_mac) |
9 | 9 |
10 executable("battor_agent") { | 10 executable("battor_agent") { |
11 sources = [ | 11 sources = [ |
12 "battor_agent_bin.cc", | 12 "battor_agent_bin.cc", |
13 ] | 13 ] |
14 deps = [ | 14 deps = [ |
15 ":battor_agent_lib", | 15 ":battor_agent_lib", |
16 "//base", | 16 "//base", |
17 "//build/config/sanitizers:deps", | 17 "//build/config:exe_and_shlib_deps", |
18 "//build/win:default_exe_manifest", | 18 "//build/win:default_exe_manifest", |
19 "//device/serial", | 19 "//device/serial", |
20 ] | 20 ] |
21 } | 21 } |
22 | 22 |
23 source_set("battor_agent_lib") { | 23 source_set("battor_agent_lib") { |
24 sources = [ | 24 sources = [ |
25 "battor_agent.cc", | 25 "battor_agent.cc", |
26 "battor_agent.h", | 26 "battor_agent.h", |
27 "battor_connection.cc", | 27 "battor_connection.cc", |
(...skipping 29 matching lines...) Expand all Loading... |
57 ":battor_agent_lib", | 57 ":battor_agent_lib", |
58 "//base", | 58 "//base", |
59 "//base/test:run_all_unittests", | 59 "//base/test:run_all_unittests", |
60 "//base/test:test_support", | 60 "//base/test:test_support", |
61 "//device/serial", | 61 "//device/serial", |
62 "//device/serial:test_support", | 62 "//device/serial:test_support", |
63 "//testing/gmock", | 63 "//testing/gmock", |
64 "//testing/gtest", | 64 "//testing/gtest", |
65 ] | 65 ] |
66 } | 66 } |
OLD | NEW |