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

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

Issue 2058023004: Clean up Mojo C API dependent targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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 | « third_party/WebKit/public/BUILD.gn ('k') | ui/display/mojo/BUILD.gn » ('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") {
11 sources = [ 11 sources = [
12 "battor_agent_bin.cc", 12 "battor_agent_bin.cc",
13 ] 13 ]
14 deps = [ 14 deps = [
15 ":battor_agent_lib", 15 ":battor_agent_lib",
16 "//base", 16 "//base",
17 "//build/win:default_exe_manifest", 17 "//build/win:default_exe_manifest",
18 "//device/serial", 18 "//device/serial",
19 "//mojo/public/c/system:for_shared_library",
20 ] 19 ]
21 } 20 }
22 21
23 source_set("battor_agent_lib") { 22 source_set("battor_agent_lib") {
24 sources = [ 23 sources = [
25 "battor_agent.cc", 24 "battor_agent.cc",
26 "battor_agent.h", 25 "battor_agent.h",
27 "battor_connection.cc", 26 "battor_connection.cc",
28 "battor_connection.h", 27 "battor_connection.h",
29 "battor_connection_impl.cc", 28 "battor_connection_impl.cc",
30 "battor_connection_impl.h", 29 "battor_connection_impl.h",
31 "battor_error.cc", 30 "battor_error.cc",
32 "battor_error.h", 31 "battor_error.h",
33 "battor_finder.cc", 32 "battor_finder.cc",
34 "battor_finder.h", 33 "battor_finder.h",
35 "battor_sample_converter.cc", 34 "battor_sample_converter.cc",
36 "battor_sample_converter.h", 35 "battor_sample_converter.h",
37 "serial_utils.cc", 36 "serial_utils.cc",
38 "serial_utils.h", 37 "serial_utils.h",
39 ] 38 ]
40 deps = [ 39 deps = [
41 "//base", 40 "//base",
42 "//device/serial", 41 "//device/serial",
42 "//mojo/public/cpp/bindings",
43 "//net", 43 "//net",
44 ] 44 ]
45 } 45 }
46 46
47 test("battor_agent_unittests") { 47 test("battor_agent_unittests") {
48 sources = [ 48 sources = [
49 "battor_agent_unittest.cc", 49 "battor_agent_unittest.cc",
50 "battor_connection_impl_unittest.cc", 50 "battor_connection_impl_unittest.cc",
51 "battor_protocol_types_unittest.cc", 51 "battor_protocol_types_unittest.cc",
52 "battor_sample_converter_unittest.cc", 52 "battor_sample_converter_unittest.cc",
53 "serial_utils_unittest.cc", 53 "serial_utils_unittest.cc",
54 ] 54 ]
55 deps = [ 55 deps = [
56 ":battor_agent_lib", 56 ":battor_agent_lib",
57 "//base", 57 "//base",
58 "//base/test:run_all_unittests", 58 "//base/test:run_all_unittests",
59 "//base/test:test_support", 59 "//base/test:test_support",
60 "//device/serial", 60 "//device/serial",
61 "//device/serial:test_support", 61 "//device/serial:test_support",
62 "//mojo/public/c/system:for_shared_library",
63 "//testing/gmock", 62 "//testing/gmock",
64 "//testing/gtest", 63 "//testing/gtest",
65 ] 64 ]
66 } 65 }
OLDNEW
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | ui/display/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698