Chromium Code Reviews| Index: components/url_formatter/BUILD.gn |
| diff --git a/components/url_formatter/BUILD.gn b/components/url_formatter/BUILD.gn |
| index 3b777de5fa02551584b4b415a5fc1c234a3d09b6..2b8762b3729e74f9d5c681b91e107d1e4ce90faa 100644 |
| --- a/components/url_formatter/BUILD.gn |
| +++ b/components/url_formatter/BUILD.gn |
| @@ -1,6 +1,7 @@ |
| # 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("//build/config/ui.gni") |
| source_set("url_formatter") { |
| sources = [ |
| @@ -22,7 +23,7 @@ source_set("url_formatter") { |
| "//url", |
| ] |
| - if (!is_android) { |
| + if (!is_android || use_aura) { |
| deps += [ "//ui/gfx" ] |
|
mfomitchev
2015/11/03 17:03:14
This is not your issue, but it is a bit weird that
bshe
2015/11/03 17:33:58
Done.
|
| } |
| } |
| @@ -44,7 +45,7 @@ source_set("unit_tests") { |
| "//url", |
| ] |
| - if (is_android) { |
| + if (is_android && !use_aura) { |
| deps -= [ "//ui/gfx" ] |
| } |
| } |