Index: testing/gtest.gyp |
diff --git a/testing/gtest.gyp b/testing/gtest.gyp |
index cecd93698d1e45f25e9ac2df2dcbcd2fc5d6d0ea..45f437ac1dee70ee8bf2335d1eacc79175a4fbba 100644 |
--- a/testing/gtest.gyp |
+++ b/testing/gtest.gyp |
@@ -17,7 +17,6 @@ |
'gtest/include/gtest/gtest-typed-test.h', |
'gtest/include/gtest/gtest.h', |
'gtest/include/gtest/gtest_pred_impl.h', |
- 'gtest/include/gtest/gtest_prod.h', |
'gtest/include/gtest/internal/gtest-death-test-internal.h', |
'gtest/include/gtest/internal/gtest-filepath.h', |
'gtest/include/gtest/internal/gtest-internal.h', |
@@ -48,6 +47,9 @@ |
'gtest', |
'gtest/include', |
], |
+ 'dependencies': [ |
+ 'gtest_prod', |
+ ], |
'conditions': [ |
['OS == "mac"', { |
'sources': [ |
@@ -130,5 +132,13 @@ |
'gtest/src/gtest_main.cc', |
], |
}, |
+ { |
+ 'target_name': 'gtest_prod', |
+ 'toolsets': ['host', 'target'], |
+ 'type': 'none', |
+ 'sources': [ |
+ 'gtest/include/gtest/gtest_prod.h', |
+ ], |
+ }, |
], |
} |