Chromium Code Reviews| Index: chrome/browser/media/router/BUILD.gn |
| diff --git a/chrome/browser/media/router/BUILD.gn b/chrome/browser/media/router/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5090c3ed10ee1015e63144cfc75f4587d262b468 |
| --- /dev/null |
| +++ b/chrome/browser/media/router/BUILD.gn |
| @@ -0,0 +1,50 @@ |
| +# 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") |
| + |
| +source_set("router") { |
| + deps = [ |
| + "//base", |
| + "//url", |
| + ] |
| + sources = [ |
| + "media_route.cc", |
| + "media_route.h", |
| + "media_route_id.h", |
| + "media_sink.cc", |
| + "media_sink.h", |
| + "media_source.cc", |
| + "media_source.h", |
| + "route_id_manager.cc", |
|
sky
2015/03/11 19:53:56
I don't see media_source_helper.* listed here.
Kevin M
2015/03/11 20:47:41
Done.
|
| + "route_id_manager.h", |
| + ] |
| +} |
| + |
| +source_set("unit_tests") { |
| + testonly = true |
| + deps = [ |
| + ":router", |
| + "//base/test:test_support", |
| + "//testing/gmock", |
| + "//testing/gtest", |
| + ] |
| + sources = [ |
| + "media_route_unittest.cc", |
| + "media_sink_unittest.cc", |
| + "media_source_unittest.cc", |
| + "route_id_manager_unittest.cc", |
| + ] |
| +} |
| + |
| +# Optional standalone test binary, for faster isolated builds. |
| +test("unit_tests_main") { |
| + deps = [ |
| + ":unit_tests", |
| + "//testing/gmock:gmock_main", |
| + ] |
| + sources = [ |
| + ":unittest_files", |
| + ] |
| +} |