Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//testing/test.gni") | |
| 6 | |
| 7 assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos") | |
| 8 | |
| 9 static_library("components") { | |
| 10 deps = [ | |
| 11 "//chromeos/components/tether", | |
| 12 ] | |
| 13 } | |
|
stevenjb
2016/12/02 00:04:19
Rather than package all of the components as a sin
Kyle Horimoto
2016/12/02 00:17:47
Done.
| |
| 14 | |
| 15 # To add a unit test to this target, make a "unit_test" source_set in your | |
| 16 # component and add a reference here. | |
| 17 test("chromeos_components_unittests") { | |
| 18 sources = [ | |
| 19 "run_all_unittests.cc", | |
| 20 ] | |
| 21 | |
| 22 deps = [ | |
| 23 "//base", | |
| 24 "//chromeos/components/tether:unit_tests", | |
| 25 ] | |
| 26 } | |
| OLD | NEW |