summaryrefslogtreecommitdiffstats
path: root/BUILD.gn
diff options
context:
space:
mode:
authordpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-12 01:19:16 +0000
committerdpranke@chromium.org <dpranke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-12 01:19:16 +0000
commit5a8d516b32101692d775ce18a5b8e2952308d241 (patch)
tree827738be60c176d95cb07722f6e68db0a3938bf5 /BUILD.gn
parenta403a3d5aead637939190b8361189877f14fc746 (diff)
downloadchromium_src-5a8d516b32101692d775ce18a5b8e2952308d241.zip
chromium_src-5a8d516b32101692d775ce18a5b8e2952308d241.tar.gz
chromium_src-5a8d516b32101692d775ce18a5b8e2952308d241.tar.bz2
Checkpoint work to get GN builds working on Android.
This fixes enough issues so that we can compile and link some libraries, but it is not yet a working build. Work remaining: - base needs JNI support ('base_jni_headers', etc.) - we need to figure out what should link and/or be APKs to run the tests - we need to adjust GN to only build in the host config, not the target config. R=brettw@chromium.org, cjhopman@chromium.org TBR=jam BUG=360936 Review URL: https://codereview.chromium.org/227673008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263440 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn12
1 files changed, 11 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 445f837..abdbc45 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -48,7 +48,7 @@ group("root") {
"//url",
]
- if (is_posix) { # TODO(brettw) should be use_openssl
+ if (is_posix && !is_android) { # TODO(brettw) should be use_openssl
deps += [
"//third_party/openssl",
]
@@ -58,4 +58,14 @@ group("root") {
"//third_party/freetype2",
]
}
+
+ if (is_android) {
+ deps -= [
+ "//skia",
+ "//third_party/libusb",
+ "//tools/gn",
+ "//ui/events",
+ "//ui/gfx",
+ ]
+ }
}