| 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': [ |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 'battor_connection.cc', | 32 'battor_connection.cc', |
| 33 'battor_connection.h', | 33 'battor_connection.h', |
| 34 'battor_connection_impl.cc', | 34 'battor_connection_impl.cc', |
| 35 'battor_connection_impl.h', | 35 'battor_connection_impl.h', |
| 36 'battor_error.cc', | 36 'battor_error.cc', |
| 37 'battor_error.h', | 37 'battor_error.h', |
| 38 'battor_finder.cc', | 38 'battor_finder.cc', |
| 39 'battor_finder.h', | 39 'battor_finder.h', |
| 40 'battor_sample_converter.cc', | 40 'battor_sample_converter.cc', |
| 41 'battor_sample_converter.h', | 41 'battor_sample_converter.h', |
| 42 'serial_utils.cc', |
| 43 'serial_utils.h', |
| 42 ], | 44 ], |
| 43 'dependencies': [ | 45 'dependencies': [ |
| 44 '../../base/base.gyp:base', | 46 '../../base/base.gyp:base', |
| 45 '../../device/serial/serial.gyp:device_serial', | 47 '../../device/serial/serial.gyp:device_serial', |
| 46 '../../device/serial/serial.gyp:device_serial_mojo', | 48 '../../device/serial/serial.gyp:device_serial_mojo', |
| 47 ] | 49 ] |
| 48 }, | 50 }, |
| 49 { | 51 { |
| 50 'target_name': 'battor_agent_unittests', | 52 'target_name': 'battor_agent_unittests', |
| 51 'type': '<(gtest_target_type)', | 53 'type': '<(gtest_target_type)', |
| 52 'dependencies': [ | 54 'dependencies': [ |
| 53 'battor_agent_lib', | 55 'battor_agent_lib', |
| 54 '../../base/base.gyp:base', | 56 '../../base/base.gyp:base', |
| 55 '../../base/base.gyp:run_all_unittests', | 57 '../../base/base.gyp:run_all_unittests', |
| 56 '../../base/base.gyp:test_support_base', | 58 '../../base/base.gyp:test_support_base', |
| 57 '../../device/serial/serial.gyp:device_serial', | 59 '../../device/serial/serial.gyp:device_serial', |
| 58 '../../device/serial/serial.gyp:device_serial_test_util', | 60 '../../device/serial/serial.gyp:device_serial_test_util', |
| 59 '../../mojo/mojo_edk.gyp:mojo_system_impl', | 61 '../../mojo/mojo_edk.gyp:mojo_system_impl', |
| 60 '../../testing/gmock.gyp:gmock', | 62 '../../testing/gmock.gyp:gmock', |
| 61 '../../testing/gtest.gyp:gtest', | 63 '../../testing/gtest.gyp:gtest', |
| 62 ], | 64 ], |
| 63 'sources': [ | 65 'sources': [ |
| 64 'battor_agent_unittest.cc', | 66 'battor_agent_unittest.cc', |
| 65 'battor_connection_impl_unittest.cc', | 67 'battor_connection_impl_unittest.cc', |
| 66 'battor_protocol_types_unittest.cc', | 68 'battor_protocol_types_unittest.cc', |
| 67 'battor_sample_converter_unittest.cc', | 69 'battor_sample_converter_unittest.cc', |
| 70 'serial_utils_unittest.cc', |
| 68 ], | 71 ], |
| 69 }, | 72 }, |
| 70 ], | 73 ], |
| 71 'conditions': [ | 74 'conditions': [ |
| 72 ['test_isolation_mode != "noop"', { | 75 ['test_isolation_mode != "noop"', { |
| 73 'targets': [ | 76 'targets': [ |
| 74 { | 77 { |
| 75 'target_name': 'battor_agent_unittests_run', | 78 'target_name': 'battor_agent_unittests_run', |
| 76 'type': 'none', | 79 'type': 'none', |
| 77 'dependencies': [ | 80 'dependencies': [ |
| 78 'battor_agent_unittests', | 81 'battor_agent_unittests', |
| 79 ], | 82 ], |
| 80 'includes': [ | 83 'includes': [ |
| 81 '../../build/isolate.gypi', | 84 '../../build/isolate.gypi', |
| 82 ], | 85 ], |
| 83 'sources': [ | 86 'sources': [ |
| 84 'battor_agent_unittests.isolate', | 87 'battor_agent_unittests.isolate', |
| 85 ], | 88 ], |
| 86 }, | 89 }, |
| 87 ], | 90 ], |
| 88 }], | 91 }], |
| 89 ], | 92 ], |
| 90 } | 93 } |
| OLD | NEW |