Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Side by Side Diff: tools/battor_agent/BUILD.gn

Issue 1611533002: tools/battor_agent: Adds a tool to find connected BattOrs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/battor_agent/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 10 matching lines...) Expand all
21 21
22 source_set("battor_agent_lib") { 22 source_set("battor_agent_lib") {
23 sources = [ 23 sources = [
24 "battor_agent.cc", 24 "battor_agent.cc",
25 "battor_agent.h", 25 "battor_agent.h",
26 "battor_connection.cc", 26 "battor_connection.cc",
27 "battor_connection.h", 27 "battor_connection.h",
28 "battor_connection_impl.cc", 28 "battor_connection_impl.cc",
29 "battor_connection_impl.h", 29 "battor_connection_impl.h",
30 "battor_error.h", 30 "battor_error.h",
31 "battor_finder.cc",
32 "battor_finder.h",
31 "battor_sample_converter.cc", 33 "battor_sample_converter.cc",
32 "battor_sample_converter.h", 34 "battor_sample_converter.h",
33 ] 35 ]
34 deps = [ 36 deps = [
35 "//base", 37 "//base",
36 "//device/serial", 38 "//device/serial",
37 "//net", 39 "//net",
38 ] 40 ]
39 } 41 }
40 42
41 test("battor_agent_unittests") { 43 test("battor_agent_unittests") {
42 sources = [ 44 sources = [
43 "battor_agent_unittest.cc", 45 "battor_agent_unittest.cc",
44 "battor_connection_impl_unittest.cc", 46 "battor_connection_impl_unittest.cc",
45 "battor_protocol_types_unittest.cc", 47 "battor_protocol_types_unittest.cc",
46 "battor_sample_converter_unittest.cc", 48 "battor_sample_converter_unittest.cc",
47 ] 49 ]
48 deps = [ 50 deps = [
49 ":battor_agent_lib", 51 ":battor_agent_lib",
50 "//base", 52 "//base",
51 "//base/test:run_all_unittests", 53 "//base/test:run_all_unittests",
52 "//base/test:test_support", 54 "//base/test:test_support",
53 "//device/serial", 55 "//device/serial",
54 "//device/serial:test_support", 56 "//device/serial:test_support",
55 "//mojo/public/c/system:for_shared_library", 57 "//mojo/public/c/system:for_shared_library",
56 "//testing/gmock", 58 "//testing/gmock",
57 "//testing/gtest", 59 "//testing/gtest",
58 ] 60 ]
59 } 61 }
OLDNEW
« no previous file with comments | « no previous file | tools/battor_agent/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698