OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 # TODO(mark): Upstream this file to googleurl. | |
6 { | 5 { |
7 'variables': { | 6 'variables': { |
8 'chromium_code': 1, | 7 'chromium_code': 1, |
9 }, | 8 }, |
10 'targets': [ | 9 'targets': [ |
11 { | 10 { |
12 'target_name': 'googleurl', | 11 'target_name': 'googleurl', |
13 'type': '<(component)', | 12 'type': 'none', |
14 'dependencies': [ | 13 'dependencies': [ |
15 '../../base/base.gyp:base', | 14 '../../url/url.gyp:url_lib', |
16 '../../third_party/icu/icu.gyp:icudata', | |
17 '../../third_party/icu/icu.gyp:icui18n', | |
18 '../../third_party/icu/icu.gyp:icuuc', | |
19 ], | 15 ], |
20 'sources': [ | 16 'export_dependent_settings': [ |
21 '../../googleurl/src/gurl.cc', | 17 '../../url/url.gyp:url_lib', |
22 '../../googleurl/src/gurl.h', | |
23 '../../googleurl/src/url_canon.h', | |
24 '../../googleurl/src/url_canon_etc.cc', | |
25 '../../googleurl/src/url_canon_fileurl.cc', | |
26 '../../googleurl/src/url_canon_filesystemurl.cc', | |
27 '../../googleurl/src/url_canon_host.cc', | |
28 '../../googleurl/src/url_canon_icu.cc', | |
29 '../../googleurl/src/url_canon_icu.h', | |
30 '../../googleurl/src/url_canon_internal.cc', | |
31 '../../googleurl/src/url_canon_internal.h', | |
32 '../../googleurl/src/url_canon_internal_file.h', | |
33 '../../googleurl/src/url_canon_ip.cc', | |
34 '../../googleurl/src/url_canon_ip.h', | |
35 '../../googleurl/src/url_canon_mailtourl.cc', | |
36 '../../googleurl/src/url_canon_path.cc', | |
37 '../../googleurl/src/url_canon_pathurl.cc', | |
38 '../../googleurl/src/url_canon_query.cc', | |
39 '../../googleurl/src/url_canon_relative.cc', | |
40 '../../googleurl/src/url_canon_stdstring.h', | |
41 '../../googleurl/src/url_canon_stdurl.cc', | |
42 '../../googleurl/src/url_file.h', | |
43 '../../googleurl/src/url_parse.cc', | |
44 '../../googleurl/src/url_parse.h', | |
45 '../../googleurl/src/url_parse_file.cc', | |
46 '../../googleurl/src/url_parse_internal.h', | |
47 '../../googleurl/src/url_util.cc', | |
48 '../../googleurl/src/url_util.h', | |
49 ], | 18 ], |
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 }, | 19 }, |
74 ], | 20 ], |
75 } | 21 } |
OLD | NEW |