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

Side by Side Diff: url/url.gyp

Issue 14016005: url: Changes to make it build standalone. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add blank line Created 7 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
« no previous file with comments | « url/gurl_unittest.cc ('k') | url/url_canon.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
11 'target_name': 'url',
12 'type': '<(component)',
13 'dependencies': [
14 '../base/base.gyp:base',
15 '../third_party/icu/icu.gyp:icudata',
16 '../third_party/icu/icu.gyp:icui18n',
17 '../third_party/icu/icu.gyp:icuuc',
18 ],
19 'sources': [
20 'gurl.cc',
21 'gurl.h',
22 'url_canon.h',
23 'url_canon_etc.cc',
24 'url_canon_fileurl.cc',
25 'url_canon_filesystemurl.cc',
26 'url_canon_host.cc',
27 'url_canon_icu.cc',
28 'url_canon_icu.h',
29 'url_canon_internal.cc',
30 'url_canon_internal.h',
31 'url_canon_internal_file.h',
32 'url_canon_ip.cc',
33 'url_canon_ip.h',
34 'url_canon_mailtourl.cc',
35 'url_canon_path.cc',
36 'url_canon_pathurl.cc',
37 'url_canon_query.cc',
38 'url_canon_relative.cc',
39 'url_canon_stdstring.cc',
40 'url_canon_stdstring.h',
41 'url_canon_stdurl.cc',
42 'url_file.h',
43 'url_parse.cc',
44 'url_parse.h',
45 'url_parse_file.cc',
46 'url_parse_internal.h',
47 'url_util.cc',
48 'url_util.h',
49 ],
50 'direct_dependent_settings': {
51 'include_dirs': [
52 '..',
53 ],
54 },
55 'defines': [
56 'FULL_FILESYSTEM_URL_SUPPORT=1',
57 ],
58 'conditions': [
59 ['component=="shared_library"', {
60 'defines': [
61 'GURL_DLL',
62 'GURL_IMPLEMENTATION=1',
63 ],
64 'direct_dependent_settings': {
65 'defines': [
66 'GURL_DLL',
67 ],
68 },
69 }],
70 ],
71 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
72 'msvs_disabled_warnings': [4267, ],
73 },
74 {
75 'target_name': 'url_unittests',
76 'type': 'executable',
77 'dependencies': [
78 'url',
79 '../base/base.gyp:base_i18n',
80 '../base/base.gyp:run_all_unittests',
81 '../testing/gtest.gyp:gtest',
82 '../third_party/icu/icu.gyp:icuuc',
83 ],
84 'sources': [
85 'gurl_unittest.cc',
86 'url_canon_unittest.cc',
87 'url_parse_unittest.cc',
88 'url_test_utils.h',
89 'url_util_unittest.cc',
90 ],
91 'defines': [
92 'FULL_FILESYSTEM_URL_SUPPORT=1',
93 ],
94 'conditions': [
95 ['os_posix==1 and OS!="mac" and OS!="ios"', {
96 'conditions': [
97 ['linux_use_tcmalloc==1', {
98 'dependencies': [
99 '../base/allocator/allocator.gyp:allocator',
100 ],
101 }],
102 ],
103 }],
104 ],
105 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
106 'msvs_disabled_warnings': [4267, ],
107 },
108 ],
109 }
OLDNEW
« no previous file with comments | « url/gurl_unittest.cc ('k') | url/url_canon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698