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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 '.', | 285 '.', |
286 '..', | 286 '..', |
287 ], | 287 ], |
288 'dependencies': [ | 288 'dependencies': [ |
289 '../skia/skia.gyp:skia', | 289 '../skia/skia.gyp:skia', |
290 '../testing/gmock.gyp:gmock', | 290 '../testing/gmock.gyp:gmock', |
291 '../testing/gtest.gyp:gtest', | 291 '../testing/gtest.gyp:gtest', |
292 '../third_party/WebKit/public/blink.gyp:blink_minimal', | 292 '../third_party/WebKit/public/blink.gyp:blink_minimal', |
293 '../third_party/mesa/mesa.gyp:osmesa', | 293 '../third_party/mesa/mesa.gyp:osmesa', |
294 '../ui/gl/gl.gyp:gl', | 294 '../ui/gl/gl.gyp:gl', |
| 295 '../ui/gfx/gfx.gyp:gfx', |
295 '../ui/ui.gyp:ui', | 296 '../ui/ui.gyp:ui', |
296 ], | 297 ], |
297 'sources': [ | 298 'sources': [ |
298 '<@(cc_tests_support_files)', | 299 '<@(cc_tests_support_files)', |
299 ], | 300 ], |
300 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 301 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
301 'msvs_disabled_warnings': [ 4267, ], | 302 'msvs_disabled_warnings': [ 4267, ], |
302 }, | 303 }, |
303 { | 304 { |
304 'target_name': 'cc_test_utils', | 305 'target_name': 'cc_test_utils', |
305 'type': 'static_library', | 306 'type': 'static_library', |
306 'include_dirs': [ | 307 'include_dirs': [ |
307 '..' | 308 '..' |
308 ], | 309 ], |
309 'sources': [ | 310 'sources': [ |
310 'test/pixel_comparator.cc', | 311 'test/pixel_comparator.cc', |
311 'test/pixel_comparator.h', | 312 'test/pixel_comparator.h', |
312 'test/pixel_test_utils.cc', | 313 'test/pixel_test_utils.cc', |
313 'test/pixel_test_utils.h', | 314 'test/pixel_test_utils.h', |
314 ], | 315 ], |
315 'dependencies': [ | 316 'dependencies': [ |
316 '../skia/skia.gyp:skia', | 317 '../skia/skia.gyp:skia', |
317 '../ui/ui.gyp:ui', # for png_codec | 318 '../ui/gfx/gfx.gyp:gfx', |
318 ], | 319 ], |
319 }, | 320 }, |
320 ], | 321 ], |
321 'conditions': [ | 322 'conditions': [ |
322 # Special target to wrap a gtest_target_type==shared_library | 323 # Special target to wrap a gtest_target_type==shared_library |
323 # cc_unittests into an android apk for execution. | 324 # cc_unittests into an android apk for execution. |
324 ['OS == "android" and gtest_target_type == "shared_library"', | 325 ['OS == "android" and gtest_target_type == "shared_library"', |
325 { | 326 { |
326 'targets': [ | 327 'targets': [ |
327 { | 328 { |
(...skipping 18 matching lines...) Expand all Loading... |
346 'test_suite_name': 'cc_perftests', | 347 'test_suite_name': 'cc_perftests', |
347 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perf
tests<(SHARED_LIB_SUFFIX)', | 348 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perf
tests<(SHARED_LIB_SUFFIX)', |
348 }, | 349 }, |
349 'includes': [ '../build/apk_test.gypi' ], | 350 'includes': [ '../build/apk_test.gypi' ], |
350 }, | 351 }, |
351 ], | 352 ], |
352 } | 353 } |
353 ] | 354 ] |
354 ], | 355 ], |
355 } | 356 } |
OLD | NEW |