summaryrefslogtreecommitdiffstats
path: root/url
diff options
context:
space:
mode:
authormmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-15 00:41:49 +0000
committermmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-15 00:41:49 +0000
commit85191ed719f061e14cab6c4d7c968476da38fb31 (patch)
tree3ee02c8a41a8b9cd877f5c87d55e484b90aa3ce2 /url
parent4edbcef82c46a634880aec168116c4f1bb7433d7 (diff)
downloadchromium_src-85191ed719f061e14cab6c4d7c968476da38fb31.zip
chromium_src-85191ed719f061e14cab6c4d7c968476da38fb31.tar.gz
chromium_src-85191ed719f061e14cab6c4d7c968476da38fb31.tar.bz2
Add use_icu_alternatives_on_android support to net's gn file.
It's already supported by the gyp file. BUG=362608 Review URL: https://codereview.chromium.org/281593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270541 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'url')
-rw-r--r--url/BUILD.gn5
-rw-r--r--url/config.gni8
2 files changed, 9 insertions, 4 deletions
diff --git a/url/BUILD.gn b/url/BUILD.gn
index 3736b9c..ee43270 100644
--- a/url/BUILD.gn
+++ b/url/BUILD.gn
@@ -2,10 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-declare_args() {
- # Switches to using platform functions instead of ICU on Android.
- use_icu_alternatives_on_android = false
-}
+import("//url/config.gni")
# Sets the USE_ICU_ALTERNATIVES_ON_ANDROID define based on the build flag.
config("url_icu_config") {
diff --git a/url/config.gni b/url/config.gni
new file mode 100644
index 0000000..42d335f
--- /dev/null
+++ b/url/config.gni
@@ -0,0 +1,8 @@
+# Copyright 2014 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.
+
+declare_args() {
+ # Switches to using platform functions instead of ICU on Android.
+ use_icu_alternatives_on_android = false
+}