Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Unified Diff: components/url_formatter/BUILD.gn

Issue 1562833002: Revert of Enable url_formatter::ElideUrl and url_formatter::ElideHost for aura Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/url_formatter/elide_url.h » ('j') | ui/gfx/text_elider.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
}
}
« no previous file with comments | « no previous file | components/url_formatter/elide_url.h » ('j') | ui/gfx/text_elider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698