Index: tools/battor_agent/BUILD.gn |
diff --git a/tools/battor_agent/BUILD.gn b/tools/battor_agent/BUILD.gn |
index ba98b2d36659de35f482072b2f26acc9fc8e6c78..c808409973393e2cbf4105c6db9233f8538e498d 100644 |
--- a/tools/battor_agent/BUILD.gn |
+++ b/tools/battor_agent/BUILD.gn |
@@ -1,8 +1,6 @@ |
# Copyright 2015 The Chromium Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
- |
-import("//testing/test.gni") |
executable("battor_agent") { |
sources = [ |
@@ -16,32 +14,14 @@ |
] |
} |
-source_set("battor_agent_lib") { |
+static_library("battor_agent_lib") { |
sources = [ |
"battor_agent.cc", |
"battor_agent.h", |
- "battor_connection.cc", |
- "battor_connection.h", |
"battor_error.h", |
] |
deps = [ |
"//base", |
"//device/serial", |
- "//net", |
] |
} |
- |
-test("battor_agent_unittests") { |
- sources = [ |
- "battor_connection_unittest.cc", |
- ] |
- deps = [ |
- ":battor_agent_lib", |
- "//base", |
- "//base/test:run_all_unittests", |
- "//device/serial", |
- "//device/serial:test_support", |
- "//mojo/public/c/system:for_shared_library", |
- "//testing/gtest", |
- ] |
-} |