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. |
| 8 assert(is_win || is_linux || is_mac) |
| 9 |
7 executable("battor_agent") { | 10 executable("battor_agent") { |
8 sources = [ | 11 sources = [ |
9 "battor_agent_bin.cc", | 12 "battor_agent_bin.cc", |
10 ] | 13 ] |
11 deps = [ | 14 deps = [ |
12 ":battor_agent_lib", | 15 ":battor_agent_lib", |
13 "//base", | 16 "//base", |
14 "//device/serial", | 17 "//device/serial", |
15 "//mojo/public/c/system:for_shared_library", | 18 "//mojo/public/c/system:for_shared_library", |
16 ] | 19 ] |
(...skipping 21 matching lines...) Expand all Loading... |
38 deps = [ | 41 deps = [ |
39 ":battor_agent_lib", | 42 ":battor_agent_lib", |
40 "//base", | 43 "//base", |
41 "//base/test:run_all_unittests", | 44 "//base/test:run_all_unittests", |
42 "//device/serial", | 45 "//device/serial", |
43 "//device/serial:test_support", | 46 "//device/serial:test_support", |
44 "//mojo/public/c/system:for_shared_library", | 47 "//mojo/public/c/system:for_shared_library", |
45 "//testing/gtest", | 48 "//testing/gtest", |
46 ] | 49 ] |
47 } | 50 } |
OLD | NEW |