Index: Source/platform/blink_platform_tests.gyp |
diff --git a/Source/platform/blink_platform_tests.gyp b/Source/platform/blink_platform_tests.gyp |
index f93fd8ef9078626f6e71ccb9ac01a0e12dde7554..b92a9fae4699d37b5f68a04695304bb3a4c524bb 100644 |
--- a/Source/platform/blink_platform_tests.gyp |
+++ b/Source/platform/blink_platform_tests.gyp |
@@ -77,6 +77,7 @@ |
'target_name': 'blink_platform_unittests', |
'type': 'executable', |
'dependencies': [ |
+ 'blink_platform_test_support', |
'../config.gyp:unittest_config', |
'../wtf/wtf.gyp:wtf', |
'../wtf/wtf_tests.gyp:wtf_unittest_helpers', |
@@ -113,6 +114,20 @@ |
}], |
], |
}, |
+ { |
+ 'target_name': 'blink_platform_test_support', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '../config.gyp:config', |
+ 'blink_platform.gyp:blink_platform', |
+ ], |
+ 'defines': [ |
+ 'INSIDE_BLINK', |
+ ], |
+ 'sources': [ |
+ '<@(platform_test_support_files)', |
+ ], |
+ }, |
], |
'conditions': [ |
['OS=="android" and gtest_target_type == "shared_library"', { |