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
3 # found in the LICENSE file.
5 import("//testing/test.gni")
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
8 gypi_values = exec_script("//build/gypi_to_gn.py",
9 [ rebase_path("media_router.gypi") ],
11 [ "media_router.gypi" ])
13 # TODO(mfoltz): Fix problem that requires explicitly listing //skia
14 static_library("router") {
17 "//chrome/common:constants",
18 "//components/keyed_service/content",
19 "//components/keyed_service/core",
23 sources = rebase_path(gypi_values.media_router_sources,
25 "//chrome/browser/media/router")
29 "//extensions/browser",
30 "//third_party/mojo/src/mojo/public/cpp/bindings",
32 sources += rebase_path(gypi_values.media_router_non_android_sources,
34 "//chrome/browser/media/router")
38 mojom("mojo_bindings") {
44 source_set("test_support") {
49 "//chrome/test:test_support",
52 sources = rebase_path(gypi_values.media_router_test_support_sources,
54 "//chrome/browser/media/router")