OLD | NEW |
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 'includes': [ | 9 'includes': [ |
10 'url_srcs.gypi', | 10 'url_srcs.gypi', |
(...skipping 22 matching lines...) Expand all Loading... |
33 'defines': [ | 33 'defines': [ |
34 'URL_IMPLEMENTATION', | 34 'URL_IMPLEMENTATION', |
35 ], | 35 ], |
36 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 36 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
37 'msvs_disabled_warnings': [4267, ], | 37 'msvs_disabled_warnings': [4267, ], |
38 }, | 38 }, |
39 { | 39 { |
40 'target_name': 'url_unittests', | 40 'target_name': 'url_unittests', |
41 'type': 'executable', | 41 'type': 'executable', |
42 'dependencies': [ | 42 'dependencies': [ |
43 '../base/base.gyp:run_all_unittests', | 43 '../base/base.gyp:test_support_base', |
| 44 '../mojo/mojo_edk.gyp:mojo_common_test_support', |
44 '../testing/gtest.gyp:gtest', | 45 '../testing/gtest.gyp:gtest', |
45 '../third_party/icu/icu.gyp:icuuc', | 46 '../third_party/icu/icu.gyp:icuuc', |
| 47 'url_test_mojom', |
46 'url_lib', | 48 'url_lib', |
47 ], | 49 ], |
48 'sources': [ | 50 'sources': [ |
49 'gurl_unittest.cc', | 51 'gurl_unittest.cc', |
| 52 'mojo/url_gurl_struct_traits_unittest.cc', |
50 'origin_unittest.cc', | 53 'origin_unittest.cc', |
| 54 'run_all_unittests.cc', |
51 'scheme_host_port_unittest.cc', | 55 'scheme_host_port_unittest.cc', |
52 'url_canon_icu_unittest.cc', | 56 'url_canon_icu_unittest.cc', |
53 'url_canon_unittest.cc', | 57 'url_canon_unittest.cc', |
54 'url_parse_unittest.cc', | 58 'url_parse_unittest.cc', |
55 'url_test_utils.h', | 59 'url_test_utils.h', |
56 'url_util_unittest.cc', | 60 'url_util_unittest.cc', |
57 ], | 61 ], |
58 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 62 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
59 'msvs_disabled_warnings': [4267, ], | 63 'msvs_disabled_warnings': [4267, ], |
60 }, | 64 }, |
| 65 { |
| 66 'target_name': 'url_interfaces_mojom', |
| 67 'type': 'none', |
| 68 'variables': { |
| 69 'mojom_files': [ |
| 70 'mojo/url.mojom', |
| 71 ], |
| 72 }, |
| 73 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], |
| 74 }, |
| 75 { |
| 76 'target_name': 'url_mojom_chromium', |
| 77 'type': 'none', |
| 78 'variables': { |
| 79 'mojom_variant': 'chromium', |
| 80 'mojom_extra_generator_args': [ |
| 81 '--typemap', '<(DEPTH)/url/mojo/gurl.typemap', |
| 82 ], |
| 83 'mojom_files': [ |
| 84 'mojo/url.mojom', |
| 85 ], |
| 86 }, |
| 87 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], |
| 88 'dependencies': [ |
| 89 'url_interfaces_mojom', |
| 90 ], |
| 91 }, |
| 92 { |
| 93 'target_name': 'url_mojom', |
| 94 'type': 'static_library', |
| 95 'export_dependent_settings': [ |
| 96 '../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 97 ], |
| 98 'dependencies': [ |
| 99 '../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 100 'url_interfaces_mojom', |
| 101 ], |
| 102 }, |
| 103 { |
| 104 'target_name': 'url_test_interfaces_mojom', |
| 105 'type': 'none', |
| 106 'variables': { |
| 107 'mojom_extra_generator_args': [ |
| 108 '--typemap', '<(DEPTH)/url/mojo/gurl.typemap', |
| 109 ], |
| 110 'mojom_files': [ |
| 111 'mojo/url_test.mojom', |
| 112 ], |
| 113 }, |
| 114 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], |
| 115 'dependencies': [ |
| 116 '../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 117 'url_mojom_chromium', |
| 118 ], |
| 119 }, |
| 120 { |
| 121 'target_name': 'url_test_mojom', |
| 122 'type': 'static_library', |
| 123 'export_dependent_settings': [ |
| 124 '../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 125 ], |
| 126 'dependencies': [ |
| 127 '../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 128 'url_mojom', |
| 129 'url_test_interfaces_mojom', |
| 130 ], |
| 131 }, |
61 ], | 132 ], |
62 'conditions': [ | 133 'conditions': [ |
63 ['OS=="android"', { | 134 ['OS=="android"', { |
64 'targets': [ | 135 'targets': [ |
65 { | 136 { |
66 'target_name': 'url_jni_headers', | 137 'target_name': 'url_jni_headers', |
67 'type': 'none', | 138 'type': 'none', |
68 'sources': [ | 139 'sources': [ |
69 'android/java/src/org/chromium/url/IDNStringUtil.java' | 140 'android/java/src/org/chromium/url/IDNStringUtil.java' |
70 ], | 141 ], |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 '../build/isolate.gypi', | 198 '../build/isolate.gypi', |
128 ], | 199 ], |
129 'sources': [ | 200 'sources': [ |
130 'url_unittests.isolate', | 201 'url_unittests.isolate', |
131 ], | 202 ], |
132 }, | 203 }, |
133 ], | 204 ], |
134 }], | 205 }], |
135 ], | 206 ], |
136 } | 207 } |
OLD | NEW |