| Index: cc/cc_tests.gyp
|
| diff --git a/cc/cc_tests.gyp b/cc/cc_tests.gyp
|
| index 309604c2c26a986c9902792b1d85fd2a49940f8b..23793aa44f5e6c8af867e4dc0d39f36d14d894a6 100644
|
| --- a/cc/cc_tests.gyp
|
| +++ b/cc/cc_tests.gyp
|
| @@ -347,6 +347,55 @@
|
| # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| + {
|
| + 'target_name': 'cc_surfaces_unittests',
|
| + 'type': '<(gtest_target_type)',
|
| + 'dependencies': [
|
| + '../base/base.gyp:test_support_base',
|
| + '../media/media.gyp:media',
|
| + '../skia/skia.gyp:skia',
|
| + '../testing/gmock.gyp:gmock',
|
| + '../testing/gtest.gyp:gtest',
|
| + '../ui/gfx/gfx.gyp:gfx',
|
| + '../ui/gfx/gfx.gyp:gfx_geometry',
|
| + 'cc.gyp:cc',
|
| + 'cc.gyp:cc_surfaces',
|
| + 'cc_test_support',
|
| + ],
|
| + 'sources': [
|
| + 'test/run_all_unittests.cc',
|
| + 'test/cc_test_suite.cc',
|
| + 'surfaces/surface_unittest.cc',
|
| + ],
|
| + 'include_dirs': [
|
| + 'test',
|
| + '.',
|
| + ],
|
| + 'conditions': [
|
| + ['OS == "android" and gtest_target_type == "shared_library"',
|
| + {
|
| + 'dependencies': [
|
| + '../testing/android/native_test.gyp:native_test_native_code',
|
| + ],
|
| + }
|
| + ],
|
| + [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"',
|
| + {
|
| + 'conditions': [
|
| + [ 'linux_use_tcmalloc==1',
|
| + {
|
| + 'dependencies': [
|
| + '../base/allocator/allocator.gyp:allocator',
|
| + ],
|
| + }
|
| + ],
|
| + ],
|
| + }
|
| + ],
|
| + ],
|
| + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
| + 'msvs_disabled_warnings': [ 4267, ],
|
| + }
|
| ],
|
| 'conditions': [
|
| # Special target to wrap a gtest_target_type==shared_library
|
|
|