summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorbenm@chromium.org <benm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-04 04:06:27 +0000
committerbenm@chromium.org <benm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-04 04:06:27 +0000
commitb215eedacfcd9cc5f912b22ed8110ca1918aecfe (patch)
tree602e23368921c03fa6e6fe0a7225cc33749b930d /base
parent2eeae9aa59e0c0fbb6a77ac69a794ad0411ba77b (diff)
downloadchromium_src-b215eedacfcd9cc5f912b22ed8110ca1918aecfe.zip
chromium_src-b215eedacfcd9cc5f912b22ed8110ca1918aecfe.tar.gz
chromium_src-b215eedacfcd9cc5f912b22ed8110ca1918aecfe.tar.bz2
GN: Exclude symbolize, xdg_mime and xdg_user_dirs on Android
Following current GYP rules, exclude these dependencies on Android. This causes a downstream break for the WebView build which must exclude xdg_mime for licensing reasons. Review URL: https://codereview.chromium.org/106013005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243001 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/BUILD.gn14
1 files changed, 9 insertions, 5 deletions
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 733c649..c3884ba 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -789,11 +789,15 @@ component("base") {
configs += linux_configs
all_dependent_configs = linux_configs
- deps += [
- "//base/third_party/symbolize",
- "//base/third_party/xdg_mime",
- "//base/third_party/xdg_user_dirs",
- ]
+ if (!is_android) {
+ # These dependencies are not required on Android, and in the case
+ # of xdg_mime must be excluded due to licensing restrictions.
+ deps += [
+ "//base/third_party/symbolize",
+ "//base/third_party/xdg_mime",
+ "//base/third_party/xdg_user_dirs",
+ ]
+ }
} else {
# Non-Linux.
sources -= [