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 '../../device/serial/serial.gyp:device_serial_mojo', |
17 '../../third_party/mojo/mojo_public.gyp:mojo_environment_standalone', | 17 '../../mojo/mojo_public.gyp:mojo_environment_standalone', |
18 '../../third_party/mojo/mojo_public.gyp:mojo_public', | 18 '../../mojo/mojo_public.gyp:mojo_public', |
19 ], | 19 ], |
20 'sources': [ | 20 'sources': [ |
21 'battor_agent_bin.cc', | 21 'battor_agent_bin.cc', |
22 ], | 22 ], |
23 }, | 23 }, |
24 { | 24 { |
25 'target_name': 'battor_agent_lib', | 25 'target_name': 'battor_agent_lib', |
26 'type': 'static_library', | 26 'type': 'static_library', |
27 'include_dirs': [ | 27 'include_dirs': [ |
28 '../..', | 28 '../..', |
(...skipping 19 matching lines...) Expand all Loading... |
48 }, | 48 }, |
49 { | 49 { |
50 'target_name': 'battor_agent_unittests', | 50 'target_name': 'battor_agent_unittests', |
51 'type': '<(gtest_target_type)', | 51 'type': '<(gtest_target_type)', |
52 'dependencies': [ | 52 'dependencies': [ |
53 'battor_agent_lib', | 53 'battor_agent_lib', |
54 '../../base/base.gyp:base', | 54 '../../base/base.gyp:base', |
55 '../../base/base.gyp:run_all_unittests', | 55 '../../base/base.gyp:run_all_unittests', |
56 '../../base/base.gyp:test_support_base', | 56 '../../base/base.gyp:test_support_base', |
57 '../../device/serial/serial.gyp:device_serial', | 57 '../../device/serial/serial.gyp:device_serial', |
58 '../../device/serial/serial.gyp:device_serial_test_util', | 58 '../../device/serial/serial.gyp:device_serial_test_util', |
59 » '../../testing/gmock.gyp:gmock', | 59 '../../mojo/mojo_public.gyp:mojo_environment_standalone', |
| 60 '../../mojo/mojo_public.gyp:mojo_public', |
| 61 » '../../testing/gmock.gyp:gmock', |
60 '../../testing/gtest.gyp:gtest', | 62 '../../testing/gtest.gyp:gtest', |
61 '../../third_party/mojo/mojo_public.gyp:mojo_environment_standalone', | |
62 '../../third_party/mojo/mojo_public.gyp:mojo_public', | |
63 ], | 63 ], |
64 'sources': [ | 64 'sources': [ |
65 'battor_agent_unittest.cc', | 65 'battor_agent_unittest.cc', |
66 'battor_connection_impl_unittest.cc', | 66 'battor_connection_impl_unittest.cc', |
67 'battor_protocol_types_unittest.cc', | 67 'battor_protocol_types_unittest.cc', |
68 'battor_sample_converter_unittest.cc', | 68 'battor_sample_converter_unittest.cc', |
69 ], | 69 ], |
70 }, | 70 }, |
71 ], | 71 ], |
72 'conditions': [ | 72 'conditions': [ |
73 ['test_isolation_mode != "noop"', { | 73 ['test_isolation_mode != "noop"', { |
74 'targets': [ | 74 'targets': [ |
75 { | 75 { |
76 'target_name': 'battor_agent_unittests_run', | 76 'target_name': 'battor_agent_unittests_run', |
77 'type': 'none', | 77 'type': 'none', |
78 'dependencies': [ | 78 'dependencies': [ |
79 'battor_agent_unittests', | 79 'battor_agent_unittests', |
80 ], | 80 ], |
81 'includes': [ | 81 'includes': [ |
82 '../../build/isolate.gypi', | 82 '../../build/isolate.gypi', |
83 ], | 83 ], |
84 'sources': [ | 84 'sources': [ |
85 'battor_agent_unittests.isolate', | 85 'battor_agent_unittests.isolate', |
86 ], | 86 ], |
87 }, | 87 }, |
88 ], | 88 ], |
89 }], | 89 }], |
90 ], | 90 ], |
91 } | 91 } |
OLD | NEW |