| 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. | 7 # Works only on desktop platforms. |
| 8 assert(is_win || is_linux || is_mac) | 8 assert(is_win || is_linux || is_mac) |
| 9 | 9 |
| 10 executable("battor_agent") { | 10 executable("battor_agent") { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 "battor_connection.cc", | 27 "battor_connection.cc", |
| 28 "battor_connection.h", | 28 "battor_connection.h", |
| 29 "battor_connection_impl.cc", | 29 "battor_connection_impl.cc", |
| 30 "battor_connection_impl.h", | 30 "battor_connection_impl.h", |
| 31 "battor_error.cc", | 31 "battor_error.cc", |
| 32 "battor_error.h", | 32 "battor_error.h", |
| 33 "battor_finder.cc", | 33 "battor_finder.cc", |
| 34 "battor_finder.h", | 34 "battor_finder.h", |
| 35 "battor_sample_converter.cc", | 35 "battor_sample_converter.cc", |
| 36 "battor_sample_converter.h", | 36 "battor_sample_converter.h", |
| 37 "serial_utils.cc", |
| 38 "serial_utils.h", |
| 37 ] | 39 ] |
| 38 deps = [ | 40 deps = [ |
| 39 "//base", | 41 "//base", |
| 40 "//device/serial", | 42 "//device/serial", |
| 41 "//net", | 43 "//net", |
| 42 ] | 44 ] |
| 43 } | 45 } |
| 44 | 46 |
| 45 test("battor_agent_unittests") { | 47 test("battor_agent_unittests") { |
| 46 sources = [ | 48 sources = [ |
| 47 "battor_agent_unittest.cc", | 49 "battor_agent_unittest.cc", |
| 48 "battor_connection_impl_unittest.cc", | 50 "battor_connection_impl_unittest.cc", |
| 49 "battor_protocol_types_unittest.cc", | 51 "battor_protocol_types_unittest.cc", |
| 50 "battor_sample_converter_unittest.cc", | 52 "battor_sample_converter_unittest.cc", |
| 53 "serial_utils_unittest.cc", |
| 51 ] | 54 ] |
| 52 deps = [ | 55 deps = [ |
| 53 ":battor_agent_lib", | 56 ":battor_agent_lib", |
| 54 "//base", | 57 "//base", |
| 55 "//base/test:run_all_unittests", | 58 "//base/test:run_all_unittests", |
| 56 "//base/test:test_support", | 59 "//base/test:test_support", |
| 57 "//device/serial", | 60 "//device/serial", |
| 58 "//device/serial:test_support", | 61 "//device/serial:test_support", |
| 59 "//mojo/public/c/system:for_shared_library", | 62 "//mojo/public/c/system:for_shared_library", |
| 60 "//testing/gmock", | 63 "//testing/gmock", |
| 61 "//testing/gtest", | 64 "//testing/gtest", |
| 62 ] | 65 ] |
| 63 } | 66 } |
| OLD | NEW |