Move render_view_context_menu.* and related files out of tab_contents.
[chromium-blink-merge.git] / url / url.gyp
blobd47748cb54969f09c735ac701a1bfe3fb7bed633
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
3 # found in the LICENSE file.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'includes': [
10     'url_srcs.gypi',
11   ],
12   'targets': [
13     {
14       # Note, this target_name cannot be 'url', because that will generate
15       # 'url.dll' for a Windows component build, and that will confuse Windows,
16       # which has a system DLL with the same name.
17       'target_name': 'url_lib',
18       'type': '<(component)',
19       'dependencies': [
20         '../base/base.gyp:base',
21         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
22         '../third_party/icu/icu.gyp:icui18n',
23         '../third_party/icu/icu.gyp:icuuc',
24       ],
25       'sources': [
26         '<@(gurl_sources)',
27       ],
28       'direct_dependent_settings': {
29         'include_dirs': [
30           '..',
31         ],
32       },
33       'defines': [
34         'URL_IMPLEMENTATION',
35       ],
36       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
37       'msvs_disabled_warnings': [4267, ],
38     },
39     {
40       'target_name': 'url_unittests',
41       'type': 'executable',
42       'dependencies': [
43         '../base/base.gyp:base_i18n',
44         '../base/base.gyp:run_all_unittests',
45         '../testing/gtest.gyp:gtest',
46         '../third_party/icu/icu.gyp:icuuc',
47         'url_lib',
48       ],
49       'sources': [
50         'gurl_unittest.cc',
51         'url_canon_unittest.cc',
52         'url_parse_unittest.cc',
53         'url_test_utils.h',
54         'url_util_unittest.cc',
55       ],
56       'conditions': [
57         ['os_posix==1 and OS!="mac" and OS!="ios" and linux_use_tcmalloc==1',
58           {
59             'dependencies': [
60               '../base/allocator/allocator.gyp:allocator',
61             ],
62           }
63         ],
64       ],
65       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
66       'msvs_disabled_warnings': [4267, ],
67     },
68   ],