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

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

Issue 1524873002: 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') | tools/battor_agent/battor_agent.h » ('J')
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
5 executable("battor_agent") { 7 executable("battor_agent") {
6 sources = [ 8 sources = [
7 "battor_agent_bin.cc", 9 "battor_agent_bin.cc",
8 ] 10 ]
9 deps = [ 11 deps = [
10 ":battor_agent_lib", 12 ":battor_agent_lib",
11 "//base", 13 "//base",
12 "//device/serial", 14 "//device/serial",
13 "//mojo/public/c/system:for_shared_library", 15 "//mojo/public/c/system:for_shared_library",
14 ] 16 ]
15 } 17 }
16 18
17 static_library("battor_agent_lib") { 19 static_library("battor_agent_lib") {
Primiano Tucci (use gerrit) 2015/12/15 11:07:19 I missed this in a previous review. I think this s
charliea (OOO until 10-5) 2015/12/15 23:50:03 Done. It looks like no parallel option is availabl
18 sources = [ 20 sources = [
19 "battor_agent.cc", 21 "battor_agent.cc",
20 "battor_agent.h", 22 "battor_agent.h",
23 "battor_connection.cc",
24 "battor_connection.h",
21 "battor_error.h", 25 "battor_error.h",
22 ] 26 ]
23 deps = [ 27 deps = [
24 "//base", 28 "//base",
25 "//device/serial", 29 "//device/serial",
30 "//net",
26 ] 31 ]
27 } 32 }
33
34 test("battor_agent_unittests") {
35 sources = [
36 "battor_connection_unittest.cc",
37 ]
38 deps = [
39 ":battor_agent_lib",
40 "//base/test:run_all_unittests",
41 "//device/serial:test_support",
42 "//mojo/public/c/system:for_shared_library",
43 "//testing/gtest",
44 ]
45 }
OLDNEW
« no previous file with comments | « no previous file | tools/battor_agent/DEPS » ('j') | tools/battor_agent/battor_agent.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698