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

Side by Side Diff: url/BUILD.gn

Issue 227673008: Checkpoint work to get GN builds working on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clean up Created 6 years, 8 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 component("url") { 5 component("url") {
6 if (is_win) { 6 if (is_win) {
7 # Don't conflict with Windows' "url.dll". 7 # Don't conflict with Windows' "url.dll".
8 output_name = "url_lib" 8 output_name = "url_lib"
9 } 9 }
10 sources = [ 10 sources = [
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 # } 48 # }
49 49
50 deps = [ 50 deps = [
51 "//base", 51 "//base",
52 "//third_party/icu:icudata", 52 "//third_party/icu:icudata",
53 "//third_party/icu:icui18n", 53 "//third_party/icu:icui18n",
54 "//third_party/icu:icuuc", 54 "//third_party/icu:icuuc",
55 ] 55 ]
56 } 56 }
57 57
58 test("url_unittests") { 58 # TODO(dpranke): crbug.com/360936. Get this to build and run on Android.
59 sources = [ 59 if (!is_android) {
60 "gurl_unittest.cc", 60 test("url_unittests") {
61 "url_canon_unittest.cc", 61 sources = [
62 "url_parse_unittest.cc", 62 "gurl_unittest.cc",
63 "url_test_utils.h", 63 "url_canon_unittest.cc",
64 "url_util_unittest.cc", 64 "url_parse_unittest.cc",
65 ] 65 "url_test_utils.h",
66 "url_util_unittest.cc",
67 ]
66 68
67 #if (is_posix && !is_mac && !is_ios) { 69 #if (is_posix && !is_mac && !is_ios) {
68 # # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 70 # # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
69 # if ((use_allocator!="none" && use_allocator!="see_use_tcmalloc") || (use_al locator=="see_use_tcmalloc" && linux_use_tcmalloc) { 71 # if ((use_allocator!="none" && use_allocator!="see_use_tcmalloc") || (use_ allocator=="see_use_tcmalloc" && linux_use_tcmalloc) {
70 # deps += "//base/allocator" 72 # deps += "//base/allocator"
71 # } 73 # }
72 #} 74 #}
73 75
74 # if (is_win) { 76 # if (is_win) {
75 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 77 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
76 # 'msvs_disabled_warnings': [ 4267, ] 78 # 'msvs_disabled_warnings': [ 4267, ]
77 # } 79 # }
78 80
79 deps = [ 81 deps = [
80 ":url", 82 ":url",
81 "//base:base_i18n", 83 "//base:base_i18n",
82 "//base/test:run_all_unittests", 84 "//base/test:run_all_unittests",
83 "//testing/gtest", 85 "//testing/gtest",
84 "//third_party/icu:icuuc", 86 "//third_party/icu:icuuc",
85 ] 87 ]
88 }
86 } 89 }
OLDNEW
« ipc/BUILD.gn ('K') | « tools/gn/secondary/third_party/libevent/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698