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

Unified Diff: cc/cc_tests.gyp

Issue 131893003: Skeleton surface interfaces in cc/surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add base and ui/gfx deps to fix win/mac component link Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/cc.gyp ('k') | cc/surfaces/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « cc/cc.gyp ('k') | cc/surfaces/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698