Index: gpu/gpu.gyp |
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp |
index 334c0b3af499bca9cb9ec48285898ba0a4f73496..72c27571ca38f37acc26f537f0d3b8a85f125b02 100644 |
--- a/gpu/gpu.gyp |
+++ b/gpu/gpu.gyp |
@@ -118,6 +118,34 @@ |
], |
}, |
{ |
+ 'target_name': 'angle_unittests', |
+ 'type': '<(gtest_target_type)', |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
+ '../testing/gmock.gyp:gmock', |
+ '../testing/gtest.gyp:gtest', |
+ '../third_party/angle_dx11/src/build_angle.gyp:translator_static', |
+ ], |
+ 'variables': { |
+ 'ANGLE_DIR': '../third_party/angle_dx11', |
+ }, |
+ 'includes': [ |
+ '../third_party/angle_dx11/tests/preprocessor_tests/preprocessor_tests.gypi', |
+ '../third_party/angle_dx11/tests/compiler_tests/compiler_tests.gypi', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ '../third_party/angle_dx11/include', |
+ '../third_party/angle_dx11/src', |
+ '../third_party/angle_dx11/src/compiler/preprocessor', |
+ '../third_party/angle_dx11/tests', |
+ ], |
+ 'sources': [ |
+ 'angle_unittest_main.cc', |
+ ], |
+ }, |
+ { |
'target_name': 'gpu_unittests', |
'type': '<(gtest_target_type)', |
'dependencies': [ |