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', | |
17 '../../third_party/mojo/mojo_public.gyp:mojo_environment_standalone', | 16 '../../third_party/mojo/mojo_public.gyp:mojo_environment_standalone', |
18 '../../third_party/mojo/mojo_public.gyp:mojo_public', | 17 '../../third_party/mojo/mojo_public.gyp:mojo_public', |
19 ], | 18 ], |
20 'sources': [ | 19 'sources': [ |
21 'battor_agent_bin.cc', | 20 'battor_agent_bin.cc', |
22 ], | 21 ], |
23 }, | 22 }, |
24 { | 23 { |
25 'target_name': 'battor_agent_lib', | 24 'target_name': 'battor_agent_lib', |
26 'type': 'static_library', | 25 'type': 'static_library', |
27 'include_dirs': [ | 26 'include_dirs': [ |
28 '../..', | 27 '../..', |
29 ], | 28 ], |
30 'sources': [ | 29 'sources': [ |
31 'battor_agent.cc', | 30 'battor_agent.cc', |
32 'battor_agent.h', | 31 'battor_agent.h', |
| 32 'battor_connection.cc', |
| 33 'battor_connection.h', |
33 'battor_error.h', | 34 'battor_error.h', |
34 ], | 35 ], |
35 'dependencies': [ | 36 'dependencies': [ |
36 '../../base/base.gyp:base', | 37 '../../base/base.gyp:base', |
37 '../../device/serial/serial.gyp:device_serial', | 38 '../../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 }, |
41 ], | 59 ], |
42 } | 60 } |
OLD | NEW |