OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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. | 5 # TODO(mark): Upstream this file to googleurl. |
6 { | 6 { |
7 'variables': { | 7 'variables': { |
8 'chromium_code': 1, | 8 'chromium_code': 1, |
9 }, | 9 }, |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'googleurl', | 12 'target_name': 'googleurl', |
13 'type': '<(component)', | 13 'type': '<(component)', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '../../base/base.gyp:base', | 15 '../../base/base.gyp:base', |
16 '../../third_party/icu/icu.gyp:icudata', | 16 '../../third_party/icu/icu.gyp:icudata', |
17 '../../third_party/icu/icu.gyp:icui18n', | 17 '../../third_party/icu/icu.gyp:icui18n', |
18 '../../third_party/icu/icu.gyp:icuuc', | 18 '../../third_party/icu/icu.gyp:icuuc', |
19 ], | 19 ], |
20 'sources': [ | 20 'sources': [ |
21 '../../googleurl/src/gurl.cc', | 21 '../../googleurl/src/gurl.cc', |
22 '../../googleurl/src/gurl.h', | 22 '../../googleurl/src/gurl.h', |
23 '../../googleurl/src/url_canon.h', | 23 '../../googleurl/src/url_canon.h', |
24 '../../googleurl/src/url_canon_etc.cc', | 24 '../../googleurl/src/url_canon_etc.cc', |
25 '../../googleurl/src/url_canon_fileurl.cc', | 25 '../../googleurl/src/url_canon_fileurl.cc', |
| 26 '../../googleurl/src/url_canon_filesystemurl.cc', |
26 '../../googleurl/src/url_canon_host.cc', | 27 '../../googleurl/src/url_canon_host.cc', |
27 '../../googleurl/src/url_canon_icu.cc', | 28 '../../googleurl/src/url_canon_icu.cc', |
28 '../../googleurl/src/url_canon_icu.h', | 29 '../../googleurl/src/url_canon_icu.h', |
29 '../../googleurl/src/url_canon_internal.cc', | 30 '../../googleurl/src/url_canon_internal.cc', |
30 '../../googleurl/src/url_canon_internal.h', | 31 '../../googleurl/src/url_canon_internal.h', |
31 '../../googleurl/src/url_canon_internal_file.h', | 32 '../../googleurl/src/url_canon_internal_file.h', |
32 '../../googleurl/src/url_canon_ip.cc', | 33 '../../googleurl/src/url_canon_ip.cc', |
33 '../../googleurl/src/url_canon_ip.h', | 34 '../../googleurl/src/url_canon_ip.h', |
34 '../../googleurl/src/url_canon_mailtourl.cc', | 35 '../../googleurl/src/url_canon_mailtourl.cc', |
35 '../../googleurl/src/url_canon_path.cc', | 36 '../../googleurl/src/url_canon_path.cc', |
36 '../../googleurl/src/url_canon_pathurl.cc', | 37 '../../googleurl/src/url_canon_pathurl.cc', |
37 '../../googleurl/src/url_canon_query.cc', | 38 '../../googleurl/src/url_canon_query.cc', |
38 '../../googleurl/src/url_canon_relative.cc', | 39 '../../googleurl/src/url_canon_relative.cc', |
39 '../../googleurl/src/url_canon_stdstring.h', | 40 '../../googleurl/src/url_canon_stdstring.h', |
40 '../../googleurl/src/url_canon_stdurl.cc', | 41 '../../googleurl/src/url_canon_stdurl.cc', |
41 '../../googleurl/src/url_file.h', | 42 '../../googleurl/src/url_file.h', |
42 '../../googleurl/src/url_parse.cc', | 43 '../../googleurl/src/url_parse.cc', |
43 '../../googleurl/src/url_parse.h', | 44 '../../googleurl/src/url_parse.h', |
44 '../../googleurl/src/url_parse_file.cc', | 45 '../../googleurl/src/url_parse_file.cc', |
45 '../../googleurl/src/url_parse_internal.h', | 46 '../../googleurl/src/url_parse_internal.h', |
46 '../../googleurl/src/url_util.cc', | 47 '../../googleurl/src/url_util.cc', |
47 '../../googleurl/src/url_util.h', | 48 '../../googleurl/src/url_util.h', |
48 ], | 49 ], |
49 'direct_dependent_settings': { | 50 'direct_dependent_settings': { |
50 'include_dirs': [ | 51 'include_dirs': [ |
51 '../..', | 52 '../..', |
52 ], | 53 ], |
53 }, | 54 }, |
| 55 'defines': [ |
| 56 'FULL_FILESYSTEM_URL_SUPPORT=1', |
| 57 ], |
54 'conditions': [ | 58 'conditions': [ |
55 ['component=="shared_library"', { | 59 ['component=="shared_library"', { |
56 'defines': [ | 60 'defines': [ |
57 'GURL_DLL', | 61 'GURL_DLL', |
58 'GURL_IMPLEMENTATION=1', | 62 'GURL_IMPLEMENTATION=1', |
59 ], | 63 ], |
60 'direct_dependent_settings': { | 64 'direct_dependent_settings': { |
61 'defines': [ | 65 'defines': [ |
62 'GURL_DLL', | 66 'GURL_DLL', |
63 ], | 67 ], |
(...skipping 14 matching lines...) Expand all Loading... |
78 'sources': [ | 82 'sources': [ |
79 '../../googleurl/src/gurl_unittest.cc', | 83 '../../googleurl/src/gurl_unittest.cc', |
80 '../../googleurl/src/url_canon_unittest.cc', | 84 '../../googleurl/src/url_canon_unittest.cc', |
81 '../../googleurl/src/url_parse_unittest.cc', | 85 '../../googleurl/src/url_parse_unittest.cc', |
82 '../../googleurl/src/url_test_utils.h', | 86 '../../googleurl/src/url_test_utils.h', |
83 '../../googleurl/src/url_util_unittest.cc', | 87 '../../googleurl/src/url_util_unittest.cc', |
84 # Make sure base and ICU are started up the 'Chromium way' since the | 88 # Make sure base and ICU are started up the 'Chromium way' since the |
85 # build is using the Chromium base & ICU. | 89 # build is using the Chromium base & ICU. |
86 '../../base/test/run_all_unittests.cc', | 90 '../../base/test/run_all_unittests.cc', |
87 ], | 91 ], |
| 92 'defines': [ |
| 93 'FULL_FILESYSTEM_URL_SUPPORT=1', |
| 94 ], |
88 'conditions': [ | 95 'conditions': [ |
89 ['os_posix==1 and OS!="mac"', { | 96 ['os_posix==1 and OS!="mac"', { |
90 'conditions': [ | 97 'conditions': [ |
91 ['linux_use_tcmalloc==1', { | 98 ['linux_use_tcmalloc==1', { |
92 'dependencies': [ | 99 'dependencies': [ |
93 '../../base/allocator/allocator.gyp:allocator', | 100 '../../base/allocator/allocator.gyp:allocator', |
94 ], | 101 ], |
95 }], | 102 }], |
96 ], | 103 ], |
97 }], | 104 }], |
98 ], | 105 ], |
99 }, | 106 }, |
100 ], | 107 ], |
101 } | 108 } |
OLD | NEW |