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/win:default_exe_manifest", |
17 "//device/serial", | 18 "//device/serial", |
18 "//mojo/public/c/system:for_shared_library", | 19 "//mojo/public/c/system:for_shared_library", |
19 ] | 20 ] |
20 } | 21 } |
21 | 22 |
22 source_set("battor_agent_lib") { | 23 source_set("battor_agent_lib") { |
23 sources = [ | 24 sources = [ |
24 "battor_agent.cc", | 25 "battor_agent.cc", |
25 "battor_agent.h", | 26 "battor_agent.h", |
26 "battor_connection.cc", | 27 "battor_connection.cc", |
(...skipping 26 matching lines...) Expand all Loading... |
53 "//base", | 54 "//base", |
54 "//base/test:run_all_unittests", | 55 "//base/test:run_all_unittests", |
55 "//base/test:test_support", | 56 "//base/test:test_support", |
56 "//device/serial", | 57 "//device/serial", |
57 "//device/serial:test_support", | 58 "//device/serial:test_support", |
58 "//mojo/public/c/system:for_shared_library", | 59 "//mojo/public/c/system:for_shared_library", |
59 "//testing/gmock", | 60 "//testing/gmock", |
60 "//testing/gtest", | 61 "//testing/gtest", |
61 ] | 62 ] |
62 } | 63 } |
OLD | NEW |