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

Side by Side Diff: url/url.gyp

Issue 15805003: Make the copy of GURL in src/url buildable as a component build. (try 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'url', 11 'target_name': 'url_lib',
12 'type': 'static_library', 12 'type': '<(component)',
13 'dependencies': [ 13 'dependencies': [
14 '../base/base.gyp:base', 14 '../base/base.gyp:base',
15 '../third_party/icu/icu.gyp:icudata', 15 '../third_party/icu/icu.gyp:icudata',
16 '../third_party/icu/icu.gyp:icui18n', 16 '../third_party/icu/icu.gyp:icui18n',
17 '../third_party/icu/icu.gyp:icuuc', 17 '../third_party/icu/icu.gyp:icuuc',
18 ], 18 ],
19 'sources': [ 19 'sources': [
20 'gurl.cc', 20 'gurl.cc',
21 'gurl.h', 21 'gurl.h',
22 'url_canon.h', 22 'url_canon.h',
(...skipping 22 matching lines...) Expand all
45 'url_parse_internal.h', 45 'url_parse_internal.h',
46 'url_util.cc', 46 'url_util.cc',
47 'url_util.h', 47 'url_util.h',
48 ], 48 ],
49 'direct_dependent_settings': { 49 'direct_dependent_settings': {
50 'include_dirs': [ 50 'include_dirs': [
51 '..', 51 '..',
52 ], 52 ],
53 }, 53 },
54 'defines': [ 54 'defines': [
55 'FULL_FILESYSTEM_URL_SUPPORT=1', 55 'URL_IMPLEMENTATION',
56 ], 56 ],
57 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 57 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
58 'msvs_disabled_warnings': [4267, ], 58 'msvs_disabled_warnings': [4267, ],
59 }, 59 },
60 { 60 {
61 'target_name': 'url_unittests', 61 'target_name': 'url_unittests',
62 'type': 'executable', 62 'type': 'executable',
63 'dependencies': [ 63 'dependencies': [
64 '../base/base.gyp:base_i18n', 64 '../base/base.gyp:base_i18n',
65 '../base/base.gyp:run_all_unittests', 65 '../base/base.gyp:run_all_unittests',
66 '../testing/gtest.gyp:gtest', 66 '../testing/gtest.gyp:gtest',
67 '../third_party/icu/icu.gyp:icuuc', 67 '../third_party/icu/icu.gyp:icuuc',
68 'url', 68 'url_lib',
69 ], 69 ],
70 'sources': [ 70 'sources': [
71 'gurl_unittest.cc', 71 'gurl_unittest.cc',
72 'url_canon_unittest.cc', 72 'url_canon_unittest.cc',
73 'url_parse_unittest.cc', 73 'url_parse_unittest.cc',
74 'url_test_utils.h', 74 'url_test_utils.h',
75 'url_util_unittest.cc', 75 'url_util_unittest.cc',
76 ], 76 ],
77 'defines': [
78 'FULL_FILESYSTEM_URL_SUPPORT=1',
79 ],
80 'conditions': [ 77 'conditions': [
81 ['os_posix==1 and OS!="mac" and OS!="ios"', 78 ['os_posix==1 and OS!="mac" and OS!="ios"',
82 { 79 {
83 'conditions': [ 80 'conditions': [
84 ['linux_use_tcmalloc==1', 81 ['linux_use_tcmalloc==1',
85 { 82 {
86 'dependencies': [ 83 'dependencies': [
87 '../base/allocator/allocator.gyp:allocator', 84 '../base/allocator/allocator.gyp:allocator',
88 ], 85 ],
89 } 86 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 'cp', '-R', '<(source_file)', '<(dest_file)', 146 'cp', '-R', '<(source_file)', '<(dest_file)',
150 ], 147 ],
151 }, 148 },
152 ], 149 ],
153 } 150 }
154 ] 151 ]
155 ], 152 ],
156 }, 153 },
157 ], 154 ],
158 } 155 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698