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 |
| index 8e14962577f5426491f211829e3e81540866154d..3c42873c1070fa54206515da8909d8ca62f41a3d 100644 |
| --- a/chrome/browser/media/router/BUILD.gn |
| +++ b/chrome/browser/media/router/BUILD.gn |
| @@ -3,6 +3,7 @@ |
| # found in the LICENSE file. |
| # |
| +import("//build/config/features.gni") |
| import("//mojo/public/tools/bindings/mojom.gni") |
| import("//testing/test.gni") |
| @@ -26,9 +27,11 @@ static_library("router") { |
| if (!is_android) { |
| deps += [ |
| ":mojo_bindings", |
| - "//extensions/browser", |
| "//mojo/public/cpp/bindings", |
| ] |
| + if (enable_extensions) { |
|
mark a. foltz
2016/05/19 20:00:39
Is there now a valid build target with !is_android
asaka
2016/05/20 05:59:41
Hi!
I think chromecast may end up as that with th
mark a. foltz
2016/05/20 17:48:21
I think this works because //chromecast is prevent
asaka
2016/05/24 10:57:31
Reverting this change only will not build:
$ gn g
|
| + deps += [ "//extensions/browser" ] |
| + } |
| sources += rebase_path(gypi_values.media_router_non_android_sources, |
| ".", |
| "//chrome/browser/media/router") |
| @@ -52,10 +55,10 @@ source_set("test_support") { |
| ".", |
| "//chrome/browser/media/router") |
| if (!is_android) { |
| - deps += [ |
| - ":mojo_bindings", |
| - "//extensions/common", |
| - ] |
| + deps += [ ":mojo_bindings" ] |
| + if (enable_extensions) { |
| + deps += [ "//extensions/common" ] |
| + } |
| sources += |
| rebase_path(gypi_values.media_router_non_android_test_support_sources, |
| ".", |