summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/gtest.gyp14
1 files changed, 12 insertions, 2 deletions
diff --git a/testing/gtest.gyp b/testing/gtest.gyp
index cecd936..78b3ce2 100644
--- a/testing/gtest.gyp
+++ b/testing/gtest.gyp
@@ -1,4 +1,4 @@
-# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -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',
+ ],
+ },
],
}