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

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

Issue 1533643002: Revert of Creates a BattOrConnection for communicating with the BattOr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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")
6
7 executable("battor_agent") { 5 executable("battor_agent") {
8 sources = [ 6 sources = [
9 "battor_agent_bin.cc", 7 "battor_agent_bin.cc",
10 ] 8 ]
11 deps = [ 9 deps = [
12 ":battor_agent_lib", 10 ":battor_agent_lib",
13 "//base", 11 "//base",
14 "//device/serial", 12 "//device/serial",
15 "//mojo/public/c/system:for_shared_library", 13 "//mojo/public/c/system:for_shared_library",
16 ] 14 ]
17 } 15 }
18 16
19 source_set("battor_agent_lib") { 17 static_library("battor_agent_lib") {
20 sources = [ 18 sources = [
21 "battor_agent.cc", 19 "battor_agent.cc",
22 "battor_agent.h", 20 "battor_agent.h",
23 "battor_connection.cc",
24 "battor_connection.h",
25 "battor_error.h", 21 "battor_error.h",
26 ] 22 ]
27 deps = [ 23 deps = [
28 "//base", 24 "//base",
29 "//device/serial", 25 "//device/serial",
30 "//net",
31 ] 26 ]
32 } 27 }
33
34 test("battor_agent_unittests") {
35 sources = [
36 "battor_connection_unittest.cc",
37 ]
38 deps = [
39 ":battor_agent_lib",
40 "//base",
41 "//base/test:run_all_unittests",
42 "//device/serial",
43 "//device/serial:test_support",
44 "//mojo/public/c/system:for_shared_library",
45 "//testing/gtest",
46 ]
47 }
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