Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: installer/googletest.gyp

Issue 6202981292703744: Whole installer (Closed)
Patch Set: Created June 24, 2014, 7:27 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: installer/googletest.gyp
===================================================================
new file mode 100644
--- /dev/null
+++ b/installer/googletest.gyp
@@ -0,0 +1,91 @@
+#
+# Mostly a copy of googletest.gyp from the project 'libadblockplus'.
+# Copied here because it needed modifications to compile without error.
+# Because the original is in another project, changing it there would require testing that projects and all others included by it.
+#
+{
+ 'variables':
+ {
+ 'googletest': '../libadblockplus/third_party/googletest'
+ },
+ 'target_defaults':
+ {
+ 'configurations':
+ {
+ 'Debug':
+ {
+ 'defines': [ 'DEBUG' ],
+ 'msvs_settings':
+ {
+ 'VCCLCompilerTool':
+ {
+ 'Optimization': '0',
+ 'RuntimeLibrary': '1', # /MTd
+ },
+ },
+ },
+ 'Release':
+ {
+ 'msvs_settings':
+ {
+ 'VCCLCompilerTool':
+ {
+ 'Optimization': '2',
+ 'InlineFunctionExpansion': '2',
+ 'EnableIntrinsicFunctions': 'true',
+ 'FavorSizeOrSpeed': '0',
+ 'StringPooling': 'true',
+ 'RuntimeLibrary': '0', # /MT
+ },
+ },
+ },
+ },
+ 'msvs_configuration_attributes':
+ {
+ 'OutputDirectory': '<(DEPTH)\\$(ConfigurationName)',
+ 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)',
+ },
+ 'conditions':
+ [[
+ 'target_arch=="x64"',
+ {
+ 'msvs_configuration_platform': 'x64',
+ },
+ ]]
+ },
+ 'targets':
+ [{
+ 'target_name': 'googletest',
+ 'type': 'static_library',
+ 'sources': [
+ '<(googletest)/src/gtest-death-test.cc',
+ '<(googletest)/src/gtest-filepath.cc',
+ '<(googletest)/src/gtest-port.cc',
+ '<(googletest)/src/gtest-printers.cc',
+ '<(googletest)/src/gtest-test-part.cc',
+ '<(googletest)/src/gtest-typed-test.cc',
+ '<(googletest)/src/gtest.cc'
+ ],
+ 'include_dirs': [ '<(googletest)', '<(googletest)/include' ],
+ 'direct_dependent_settings':
+ {
+ 'include_dirs': [ '<(googletest)', '<(googletest)/include' ]
+ },
+ 'defines': [ '_VARIADIC_MAX=10' ],
+ 'direct_dependent_settings':
+ {
+ 'defines': [ '_VARIADIC_MAX=10' ],
+ },
+ },{
+ 'target_name': 'googletest_main',
+ 'type': 'static_library',
+ 'sources': ['<(googletest)/src/gtest_main.cc'],
+ 'include_dirs': [ '<(googletest)/include' ],
+ 'dependencies': [ 'googletest' ],
+ 'direct_dependent_settings':
+ {
+ 'defines': [ '_VARIADIC_MAX=10' ],
+ 'include_dirs': [ '<(googletest)/include' ],
+ }
+ }]
+}
« build_release.py ('K') | « installer/en-us.wxl ('k') | installer/install.cmd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld