OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'cc_unit_tests_source_files': [ | 8 'cc_unit_tests_source_files': [ |
9 'animation/animation_unittest.cc', | 9 'animation/animation_unittest.cc', |
10 'animation/keyframed_animation_curve_unittest.cc', | 10 'animation/keyframed_animation_curve_unittest.cc', |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 'cc_test_utils', | 184 'cc_test_utils', |
185 ], | 185 ], |
186 'sources': [ | 186 'sources': [ |
187 'test/run_all_unittests.cc', | 187 'test/run_all_unittests.cc', |
188 'test/cc_test_suite.cc', | 188 'test/cc_test_suite.cc', |
189 '<@(cc_unit_tests_source_files)', | 189 '<@(cc_unit_tests_source_files)', |
190 ], | 190 ], |
191 'include_dirs': [ | 191 'include_dirs': [ |
192 'test', | 192 'test', |
193 '.', | 193 '.', |
194 '../third_party/WebKit/Source/Platform/chromium', | |
195 ], | 194 ], |
196 'conditions': [ | 195 'conditions': [ |
197 ['OS == "android" and gtest_target_type == "shared_library"', { | 196 ['OS == "android" and gtest_target_type == "shared_library"', { |
198 'dependencies': [ | 197 'dependencies': [ |
199 '../testing/android/native_test.gyp:native_test_native_code', | 198 '../testing/android/native_test.gyp:native_test_native_code', |
200 ], | 199 ], |
201 }], | 200 }], |
202 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { | 201 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
203 'conditions': [ | 202 'conditions': [ |
204 [ 'linux_use_tcmalloc==1', { | 203 [ 'linux_use_tcmalloc==1', { |
(...skipping 21 matching lines...) Expand all Loading... |
226 'cc_test_support', | 225 'cc_test_support', |
227 ], | 226 ], |
228 'sources': [ | 227 'sources': [ |
229 'trees/layer_tree_host_perftest.cc', | 228 'trees/layer_tree_host_perftest.cc', |
230 'test/run_all_unittests.cc', | 229 'test/run_all_unittests.cc', |
231 'test/cc_test_suite.cc', | 230 'test/cc_test_suite.cc', |
232 ], | 231 ], |
233 'include_dirs': [ | 232 'include_dirs': [ |
234 'test', | 233 'test', |
235 '.', | 234 '.', |
236 '../third_party/WebKit/Source/Platform/chromium', | |
237 ], | 235 ], |
238 'conditions': [ | 236 'conditions': [ |
239 ['OS == "android" and gtest_target_type == "shared_library"', { | 237 ['OS == "android" and gtest_target_type == "shared_library"', { |
240 'dependencies': [ | 238 'dependencies': [ |
241 '../testing/android/native_test.gyp:native_test_native_code', | 239 '../testing/android/native_test.gyp:native_test_native_code', |
242 ], | 240 ], |
243 }], | 241 }], |
244 # See http://crbug.com/162998#c4 for why this is needed. | 242 # See http://crbug.com/162998#c4 for why this is needed. |
245 ['OS=="linux" and linux_use_tcmalloc==1', { | 243 ['OS=="linux" and linux_use_tcmalloc==1', { |
246 'dependencies': [ | 244 'dependencies': [ |
247 '../base/allocator/allocator.gyp:allocator', | 245 '../base/allocator/allocator.gyp:allocator', |
248 ], | 246 ], |
249 }], | 247 }], |
250 ], | 248 ], |
251 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 249 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
252 'msvs_disabled_warnings': [ 4267, ], | 250 'msvs_disabled_warnings': [ 4267, ], |
253 }, | 251 }, |
254 { | 252 { |
255 'target_name': 'cc_test_support', | 253 'target_name': 'cc_test_support', |
256 'type': 'static_library', | 254 'type': 'static_library', |
257 'include_dirs': [ | 255 'include_dirs': [ |
258 'test', | 256 'test', |
259 '.', | 257 '.', |
260 '..', | 258 '..', |
261 '../third_party/WebKit/Source/Platform/chromium', | |
262 ], | 259 ], |
263 'dependencies': [ | 260 'dependencies': [ |
264 '../skia/skia.gyp:skia', | 261 '../skia/skia.gyp:skia', |
265 '../testing/gmock.gyp:gmock', | 262 '../testing/gmock.gyp:gmock', |
266 '../testing/gtest.gyp:gtest', | 263 '../testing/gtest.gyp:gtest', |
267 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | 264 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
268 '../third_party/mesa/mesa.gyp:osmesa', | 265 '../third_party/mesa/mesa.gyp:osmesa', |
269 '../ui/gl/gl.gyp:gl', | 266 '../ui/gl/gl.gyp:gl', |
270 '../ui/ui.gyp:ui', | 267 '../ui/ui.gyp:ui', |
271 ], | 268 ], |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 'variables': { | 316 'variables': { |
320 'test_suite_name': 'cc_perftests', | 317 'test_suite_name': 'cc_perftests', |
321 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perfte
sts<(SHARED_LIB_SUFFIX)', | 318 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perfte
sts<(SHARED_LIB_SUFFIX)', |
322 }, | 319 }, |
323 'includes': [ '../build/apk_test.gypi' ], | 320 'includes': [ '../build/apk_test.gypi' ], |
324 }, | 321 }, |
325 ], | 322 ], |
326 }] | 323 }] |
327 ], | 324 ], |
328 } | 325 } |
OLD | NEW |