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': [ |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 }, | 64 }, |
65 }], | 65 }], |
66 ], | 66 ], |
67 }, | 67 }, |
68 { | 68 { |
69 'target_name': 'googleurl_unittests', | 69 'target_name': 'googleurl_unittests', |
70 'type': 'executable', | 70 'type': 'executable', |
71 'dependencies': [ | 71 'dependencies': [ |
72 'googleurl', | 72 'googleurl', |
73 '../../base/base.gyp:base_i18n', | 73 '../../base/base.gyp:base_i18n', |
74 '../../base/base.gyp:test_support_base', | 74 '../../base/base.gyp:run_all_unittests', |
75 '../../testing/gtest.gyp:gtest', | 75 '../../testing/gtest.gyp:gtest', |
76 '../../third_party/icu/icu.gyp:icuuc', | 76 '../../third_party/icu/icu.gyp:icuuc', |
77 ], | 77 ], |
78 'sources': [ | 78 'sources': [ |
79 '../../googleurl/src/gurl_unittest.cc', | 79 '../../googleurl/src/gurl_unittest.cc', |
80 '../../googleurl/src/url_canon_unittest.cc', | 80 '../../googleurl/src/url_canon_unittest.cc', |
81 '../../googleurl/src/url_parse_unittest.cc', | 81 '../../googleurl/src/url_parse_unittest.cc', |
82 '../../googleurl/src/url_test_utils.h', | 82 '../../googleurl/src/url_test_utils.h', |
83 '../../googleurl/src/url_util_unittest.cc', | 83 '../../googleurl/src/url_util_unittest.cc', |
84 # Make sure base and ICU are started up the 'Chromium way' since the | |
85 # build is using the Chromium base & ICU. | |
86 '../../base/test/run_all_unittests.cc', | |
87 ], | 84 ], |
88 'conditions': [ | 85 'conditions': [ |
89 ['os_posix==1 and OS!="mac"', { | 86 ['os_posix==1 and OS!="mac"', { |
90 'conditions': [ | 87 'conditions': [ |
91 ['linux_use_tcmalloc==1', { | 88 ['linux_use_tcmalloc==1', { |
92 'dependencies': [ | 89 'dependencies': [ |
93 '../../base/allocator/allocator.gyp:allocator', | 90 '../../base/allocator/allocator.gyp:allocator', |
94 ], | 91 ], |
95 }], | 92 }], |
96 ], | 93 ], |
97 }], | 94 }], |
98 ], | 95 ], |
99 }, | 96 }, |
100 ], | 97 ], |
101 } | 98 } |
OLD | NEW |