summaryrefslogtreecommitdiffstats
path: root/url
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 /url
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 'url')
-rw-r--r--url/BUILD.gn53
1 files changed, 28 insertions, 25 deletions
diff --git a/url/BUILD.gn b/url/BUILD.gn
index dc4cb0a..6445bfb 100644
--- a/url/BUILD.gn
+++ b/url/BUILD.gn
@@ -54,32 +54,35 @@ component("url") {
]
}
-test("url_unittests") {
- sources = [
- "gurl_unittest.cc",
- "url_canon_unittest.cc",
- "url_parse_unittest.cc",
- "url_test_utils.h",
- "url_util_unittest.cc",
- ]
+# TODO(dpranke): crbug.com/360936. Get this to build and run on Android.
+if (!is_android) {
+ test("url_unittests") {
+ sources = [
+ "gurl_unittest.cc",
+ "url_canon_unittest.cc",
+ "url_parse_unittest.cc",
+ "url_test_utils.h",
+ "url_util_unittest.cc",
+ ]
- #if (is_posix && !is_mac && !is_ios) {
- # # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
- # if ((use_allocator!="none" && use_allocator!="see_use_tcmalloc") || (use_allocator=="see_use_tcmalloc" && linux_use_tcmalloc) {
- # deps += "//base/allocator"
- # }
- #}
+ #if (is_posix && !is_mac && !is_ios) {
+ # # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
+ # if ((use_allocator!="none" && use_allocator!="see_use_tcmalloc") || (use_allocator=="see_use_tcmalloc" && linux_use_tcmalloc) {
+ # deps += "//base/allocator"
+ # }
+ #}
- # if (is_win) {
- # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
- # 'msvs_disabled_warnings': [ 4267, ]
- # }
+ # if (is_win) {
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ # 'msvs_disabled_warnings': [ 4267, ]
+ # }
- deps = [
- ":url",
- "//base:i18n",
- "//base/test:run_all_unittests",
- "//testing/gtest",
- "//third_party/icu:icuuc",
- ]
+ deps = [
+ ":url",
+ "//base:i18n",
+ "//base/test:run_all_unittests",
+ "//testing/gtest",
+ "//third_party/icu:icuuc",
+ ]
+ }
}