OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'includes': [ | 10 'includes': [ |
11 '../common.gypi', | 11 '../common.gypi', |
12 ], | 12 ], |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'googleurl', | 15 'target_name': 'googleurl', |
16 'type': 'static_library', | 16 'type': 'static_library', |
| 17 'dependencies': [ |
| 18 '../../base/base.gyp:base', |
| 19 '../../third_party/icu38/icu38.gyp:icudata', |
| 20 '../../third_party/icu38/icu38.gyp:icui18n', |
| 21 '../../third_party/icu38/icu38.gyp:icuuc', |
| 22 ], |
17 'sources': [ | 23 'sources': [ |
18 '../../googleurl/src/gurl.cc', | 24 '../../googleurl/src/gurl.cc', |
19 '../../googleurl/src/gurl.h', | 25 '../../googleurl/src/gurl.h', |
20 '../../googleurl/src/url_canon.h', | 26 '../../googleurl/src/url_canon.h', |
21 '../../googleurl/src/url_canon_etc.cc', | 27 '../../googleurl/src/url_canon_etc.cc', |
22 '../../googleurl/src/url_canon_fileurl.cc', | 28 '../../googleurl/src/url_canon_fileurl.cc', |
23 '../../googleurl/src/url_canon_host.cc', | 29 '../../googleurl/src/url_canon_host.cc', |
24 '../../googleurl/src/url_canon_icu.cc', | 30 '../../googleurl/src/url_canon_icu.cc', |
25 '../../googleurl/src/url_canon_icu.h', | 31 '../../googleurl/src/url_canon_icu.h', |
26 '../../googleurl/src/url_canon_internal.cc', | 32 '../../googleurl/src/url_canon_internal.cc', |
27 '../../googleurl/src/url_canon_internal.h', | 33 '../../googleurl/src/url_canon_internal.h', |
28 '../../googleurl/src/url_canon_internal_file.h', | 34 '../../googleurl/src/url_canon_internal_file.h', |
29 '../../googleurl/src/url_canon_ip.cc', | 35 '../../googleurl/src/url_canon_ip.cc', |
30 '../../googleurl/src/url_canon_ip.h', | 36 '../../googleurl/src/url_canon_ip.h', |
31 '../../googleurl/src/url_canon_mailtourl.cc', | 37 '../../googleurl/src/url_canon_mailtourl.cc', |
32 '../../googleurl/src/url_canon_path.cc', | 38 '../../googleurl/src/url_canon_path.cc', |
33 '../../googleurl/src/url_canon_pathurl.cc', | 39 '../../googleurl/src/url_canon_pathurl.cc', |
34 '../../googleurl/src/url_canon_query.cc', | 40 '../../googleurl/src/url_canon_query.cc', |
35 '../../googleurl/src/url_canon_relative.cc', | 41 '../../googleurl/src/url_canon_relative.cc', |
36 '../../googleurl/src/url_canon_stdstring.h', | 42 '../../googleurl/src/url_canon_stdstring.h', |
37 '../../googleurl/src/url_canon_stdurl.cc', | 43 '../../googleurl/src/url_canon_stdurl.cc', |
38 '../../googleurl/src/url_file.h', | 44 '../../googleurl/src/url_file.h', |
39 '../../googleurl/src/url_parse.cc', | 45 '../../googleurl/src/url_parse.cc', |
40 '../../googleurl/src/url_parse.h', | 46 '../../googleurl/src/url_parse.h', |
41 '../../googleurl/src/url_parse_file.cc', | 47 '../../googleurl/src/url_parse_file.cc', |
42 '../../googleurl/src/url_parse_internal.h', | 48 '../../googleurl/src/url_parse_internal.h', |
43 '../../googleurl/src/url_util.cc', | 49 '../../googleurl/src/url_util.cc', |
44 '../../googleurl/src/url_util.h', | 50 '../../googleurl/src/url_util.h', |
45 ], | 51 ], |
46 'dependencies': [ | |
47 '../../base/base.gyp:base', | |
48 '../../third_party/icu38/icu38.gyp:icudata', | |
49 '../../third_party/icu38/icu38.gyp:icui18n', | |
50 '../../third_party/icu38/icu38.gyp:icuuc', | |
51 ], | |
52 'direct_dependent_settings': { | 52 'direct_dependent_settings': { |
53 'include_dirs': [ | 53 'include_dirs': [ |
54 '../..', | 54 '../..', |
55 ], | 55 ], |
56 }, | 56 }, |
57 }, | 57 }, |
| 58 { |
| 59 'target_name': 'googleurl_unittests', |
| 60 'type': 'executable', |
| 61 'dependencies': [ |
| 62 'googleurl', |
| 63 '../../testing/gtest.gyp:gtest', |
| 64 '../../third_party/icu38/icu38.gyp:icuuc', |
| 65 ], |
| 66 'sources': [ |
| 67 '../../googleurl/src/gurl_unittest.cc', |
| 68 '../../googleurl/src/url_canon_unittest.cc', |
| 69 '../../googleurl/src/url_parse_unittest.cc', |
| 70 '../../googleurl/src/url_test_utils.h', |
| 71 '../../googleurl/src/url_util_unittest.cc', |
| 72 ], |
| 73 }, |
58 ], | 74 ], |
59 } | 75 } |
OLD | NEW |