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

Unified Diff: components/url_formatter/BUILD.gn

Issue 1428593004: Enable url_formatter::ElideUrl and url_formatter::ElideHost for aura Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enable ElideUrl for aura Android Created 5 years, 1 month 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') | no next file with comments »
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 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" ]
}
}
« no previous file with comments | « no previous file | components/url_formatter/elide_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698