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

Unified Diff: third_party/googletest/googlemock.gyp

Issue 2847693002: V8: Roll googletest to 1.8.0.
Patch Set: Incorporated http://crrev.com/2849783003 Created 3 years, 8 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
Index: third_party/googletest/googlemock.gyp
diff --git a/third_party/googletest/googlemock.gyp b/third_party/googletest/googlemock.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..21aa2a7574679d37e46506fc1fc7a2efe642fdef
--- /dev/null
+++ b/third_party/googletest/googlemock.gyp
@@ -0,0 +1,71 @@
+# Copyright 2014 the V8 project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'googlemock',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'googletest.gyp:googletest',
+ ],
+ 'sources': [
+ 'src/googlemock/include/gmock/gmock-actions.h',
+ 'src/googlemock/include/gmock/gmock-cardinalities.h',
+ 'src/googlemock/include/gmock/gmock-generated-actions.h',
+ 'src/googlemock/include/gmock/gmock-generated-function-mockers.h',
+ 'src/googlemock/include/gmock/gmock-generated-matchers.h',
+ 'src/googlemock/include/gmock/gmock-generated-nice-strict.h',
+ 'src/googlemock/include/gmock/gmock-matchers.h',
+ 'src/googlemock/include/gmock/gmock-spec-builders.h',
+ 'src/googlemock/include/gmock/gmock.h',
+ 'src/googlemock/include/gmock/internal/gmock-generated-internal-utils.h',
+ 'src/googlemock/include/gmock/internal/gmock-internal-utils.h',
+ 'src/googlemock/include/gmock/internal/gmock-port.h',
+
+ # gmock helpers.
+ 'gmock_custom/gmock/internal/custom/gmock-port.h',
+
+ 'src/googlemock/src/gmock-cardinalities.cc',
+ 'src/googlemock/src/gmock-internal-utils.cc',
+ 'src/googlemock/src/gmock-matchers.cc',
+ 'src/googlemock/src/gmock-spec-builders.cc',
+ 'src/googlemock/src/gmock.cc',
+
+ ],
+ 'sources!': [
+ 'src/googlemock/src/gmock-all.cc', # Not needed by our build.
+ ],
+ 'include_dirs': [
+ 'gmock_custom',
+ 'src/googlemock', # TODO(pwnall): from gmock.gyp, but not in gn?
+ 'src/googlemock/include',
+ ],
+ 'all_dependent_settings': {
+ 'include_dirs': [
+ 'gmock_custom',
+ 'src/googlemock/include', # So gmock headers can find themselves.
+ ],
+ },
+ 'conditions': [
+ ['want_separate_host_toolset==1', {
+ 'toolsets': ['host', 'target'],
+ }, {
+ 'toolsets': ['target'],
+ }],
+ ],
+ },
+
+ {
+ 'target_name': 'googlemock_main',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'googlemock',
+ ],
+ 'sources': [
+ 'src/googlemock/src/gmock_main.cc',
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698