Index: components/url_formatter/BUILD.gn |
diff --git a/components/url_formatter/BUILD.gn b/components/url_formatter/BUILD.gn |
index b74ef78db67a2427d26a282ba21ad67dce314cfd..3b777de5fa02551584b4b415a5fc1c234a3d09b6 100644 |
--- a/components/url_formatter/BUILD.gn |
+++ b/components/url_formatter/BUILD.gn |
@@ -1,8 +1,6 @@ |
# 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 = [ |
@@ -24,7 +22,7 @@ |
"//url", |
] |
- if (!is_android || use_aura) { |
+ if (!is_android) { |
deps += [ "//ui/gfx" ] |
} |
} |
@@ -42,10 +40,11 @@ |
"//base", |
"//net", |
"//testing/gtest", |
+ "//ui/gfx", |
"//url", |
] |
- if (!is_android || use_aura) { |
- deps += [ "//ui/gfx" ] |
+ if (is_android) { |
+ deps -= [ "//ui/gfx" ] |
} |
} |