| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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("//chromecast/chromecast.gni") | 5 import("//chromecast/chromecast.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 # GYP target: chromecast.gyp:cast_component | |
| 9 source_set("component") { | 8 source_set("component") { |
| 10 sources = [ | 9 sources = [ |
| 11 "component.cc", | 10 "component.cc", |
| 12 "component.h", | 11 "component.h", |
| 13 "component_internal.h", | 12 "component_internal.h", |
| 14 ] | 13 ] |
| 15 | 14 |
| 16 deps = [ | 15 deps = [ |
| 17 "//base", | 16 "//base", |
| 18 ] | 17 ] |
| 19 } | 18 } |
| 20 | 19 |
| 21 # GYP target: chromecast_tests.gypi:cast_component_unittests | |
| 22 test("cast_component_unittests") { | 20 test("cast_component_unittests") { |
| 23 sources = [ | 21 sources = [ |
| 24 "component_unittest.cc", | 22 "component_unittest.cc", |
| 25 ] | 23 ] |
| 26 | 24 |
| 27 deps = [ | 25 deps = [ |
| 28 ":component", | 26 ":component", |
| 29 "//base", | 27 "//base", |
| 30 "//base/test:run_all_unittests", | 28 "//base/test:run_all_unittests", |
| 31 "//testing/gtest", | 29 "//testing/gtest", |
| 32 ] | 30 ] |
| 33 } | 31 } |
| OLD | NEW |