Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: third_party/libaddressinput/libaddressinput.gyp

Issue 1695663005: [Testing] Version 2: Run libaddressinput_unittests on bots Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initial Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 'includes': ['src/cpp/libaddressinput.gypi'], 5 'includes': ['src/cpp/libaddressinput.gypi'],
6 'variables': { 6 'variables': {
7 'libaddressinput_test_data_dir%': 'src/third_party/libaddressinput/src/testd ata',
8 'libaddressinput_util_files': [ 7 'libaddressinput_util_files': [
9 'src/cpp/src/address_data.cc', 8 'src/cpp/src/address_data.cc',
10 'src/cpp/src/address_field.cc', 9 'src/cpp/src/address_field.cc',
11 'src/cpp/src/address_field_util.cc', 10 'src/cpp/src/address_field_util.cc',
12 'src/cpp/src/address_formatter.cc', 11 'src/cpp/src/address_formatter.cc',
13 'src/cpp/src/address_metadata.cc', 12 'src/cpp/src/address_metadata.cc',
14 'src/cpp/src/address_ui.cc', 13 'src/cpp/src/address_ui.cc',
15 'src/cpp/src/format_element.cc', 14 'src/cpp/src/format_element.cc',
16 'src/cpp/src/language.cc', 15 'src/cpp/src/language.cc',
17 'src/cpp/src/localization.cc', 16 'src/cpp/src/localization.cc',
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 '../icu/icu.gyp:icui18n', 114 '../icu/icu.gyp:icui18n',
116 '../icu/icu.gyp:icuuc', 115 '../icu/icu.gyp:icuuc',
117 '../re2/re2.gyp:re2', 116 '../re2/re2.gyp:re2',
118 'libaddressinput_util', 117 'libaddressinput_util',
119 ], 118 ],
120 'export_dependent_settings': [ 119 'export_dependent_settings': [
121 'libaddressinput_util', 120 'libaddressinput_util',
122 ], 121 ],
123 }, 122 },
124 { 123 {
124 'target_name': 'libaddressinput_unittests_local',
125 'defines': [
126 'TEST_DATA_DIR="src/third_party/libaddressinput/src/testdata/"',
127 ],
128 'includes': [
129 'libaddressinput_unittests.gypi',
130 ],
131 },
132 {
133 # Only used for swarming (do not run locally).
125 'target_name': 'libaddressinput_unittests', 134 'target_name': 'libaddressinput_unittests',
126 'type': '<(gtest_target_type)', 135 'defines': [
127 'sources': [ 136 'TEST_DATA_DIR="src/testdata/"',
128 '<@(libaddressinput_test_files)',
129 'chromium/addressinput_util_unittest.cc',
130 'chromium/chrome_address_validator_unittest.cc',
131 'chromium/chrome_metadata_source_unittest.cc',
132 'chromium/chrome_storage_impl_unittest.cc',
133 'chromium/fallback_data_store_unittest.cc',
134 'chromium/storage_test_runner.cc',
135 'chromium/string_compare_unittest.cc',
136 'chromium/trie_unittest.cc',
137 ], 137 ],
138 'defines': [ 138 'includes': [
139 'TEST_DATA_DIR="<(libaddressinput_test_data_dir)"', 139 'libaddressinput_unittests.gypi',
140 ],
141 'include_dirs': [
142 '../../',
143 'src/cpp/src/',
144 ],
145 'dependencies': [
146 '../../base/base.gyp:run_all_unittests',
147 '../../components/prefs/prefs.gyp:prefs',
148 '../../net/net.gyp:net_test_support',
149 '../../testing/gtest.gyp:gtest',
150 'libaddressinput',
151 'libaddressinput_util',
152 ], 140 ],
153 }, 141 },
154 ], 142 ],
143 'conditions': [
144 ['test_isolation_mode != "noop"', {
145 'targets': [
146 {
147 'target_name': 'libaddressinput_unittests_run',
148 'type': 'none',
149 'dependencies': [
150 'libaddressinput_unittests',
151 ],
152 'includes': [
153 '../../build/isolate.gypi',
154 ],
155 'sources': [
156 'libaddressinput_unittests.isolate',
157 ],
158 },
159 ],
160 }, {
161 }],
162 ],
155 } 163 }
OLDNEW
« no previous file with comments | « third_party/libaddressinput/BUILD.gn ('k') | third_party/libaddressinput/libaddressinput_unittests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698