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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'battor_agent', | 8 'target_name': 'battor_agent', |
9 'type': 'executable', | 9 'type': 'executable', |
10 'include_dirs': [ | 10 'include_dirs': [ |
11 '../..', | 11 '../..', |
12 ], | 12 ], |
13 'dependencies': [ | 13 'dependencies': [ |
14 'battor_agent_lib', | 14 'battor_agent_lib', |
15 '../../device/serial/serial.gyp:device_serial', | 15 '../../device/serial/serial.gyp:device_serial', |
| 16 '../../device/serial/serial.gyp:device_serial_mojo', |
16 '../../third_party/mojo/mojo_public.gyp:mojo_environment_standalone', | 17 '../../third_party/mojo/mojo_public.gyp:mojo_environment_standalone', |
17 '../../third_party/mojo/mojo_public.gyp:mojo_public', | 18 '../../third_party/mojo/mojo_public.gyp:mojo_public', |
18 ], | 19 ], |
19 'sources': [ | 20 'sources': [ |
20 'battor_agent_bin.cc', | 21 'battor_agent_bin.cc', |
21 ], | 22 ], |
22 }, | 23 }, |
23 { | 24 { |
24 'target_name': 'battor_agent_lib', | 25 'target_name': 'battor_agent_lib', |
25 'type': 'static_library', | 26 'type': 'static_library', |
26 'include_dirs': [ | 27 'include_dirs': [ |
27 '../..', | 28 '../..', |
28 ], | 29 ], |
29 'sources': [ | 30 'sources': [ |
30 'battor_agent.cc', | 31 'battor_agent.cc', |
31 'battor_agent.h', | 32 'battor_agent.h', |
32 'battor_connection.cc', | |
33 'battor_connection.h', | |
34 'battor_error.h', | 33 'battor_error.h', |
35 ], | 34 ], |
36 'dependencies': [ | 35 'dependencies': [ |
37 '../../base/base.gyp:base', | 36 '../../base/base.gyp:base', |
38 '../../device/serial/serial.gyp:device_serial', | 37 '../../device/serial/serial.gyp:device_serial', |
| 38 '../../device/serial/serial.gyp:device_serial_mojo', |
39 ] | 39 ] |
40 }, | 40 }, |
41 { | |
42 'target_name': 'battor_agent_unittests', | |
43 'type': '<(gtest_target_type)', | |
44 'dependencies': [ | |
45 'battor_agent_lib', | |
46 '../../base/base.gyp:base', | |
47 '../../base/base.gyp:run_all_unittests', | |
48 '../../base/base.gyp:test_support_base', | |
49 '../../device/serial/serial.gyp:device_serial', | |
50 '../../device/serial/serial.gyp:device_serial_test_util', | |
51 '../../testing/gtest.gyp:gtest', | |
52 '../../third_party/mojo/mojo_public.gyp:mojo_environment_standalone', | |
53 '../../third_party/mojo/mojo_public.gyp:mojo_public', | |
54 ], | |
55 'sources': [ | |
56 'battor_connection_unittest.cc', | |
57 ], | |
58 }, | |
59 ], | 41 ], |
60 } | 42 } |
OLD | NEW |