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

Side by Side Diff: third_party/googletest.gyp

Issue 10234088: Use GYP to generate MSVS project files (Closed)
Patch Set: Tests passing now Created April 24, 2013, 10:37 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/WebRequest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 'target_defaults': {
3 'configurations': {
4 'Debug': {
5 'defines': [ 'DEBUG' ],
6 'msvs_settings': {
7 'VCCLCompilerTool': {
8 'Optimization': '0',
9
10 'conditions': [
11 ['OS=="win" and component=="shared_library"', {
12 'RuntimeLibrary': '3', # /MDd
13 }, {
14 'RuntimeLibrary': '1', # /MTd
15 }]
16 ],
17 },
18 },
19 },
20 'Release': {
21 'msvs_settings': {
22 'VCCLCompilerTool': {
23 'Optimization': '2',
24 'InlineFunctionExpansion': '2',
25 'EnableIntrinsicFunctions': 'true',
26 'FavorSizeOrSpeed': '0',
27 'StringPooling': 'true',
28
29 'conditions': [
30 ['OS=="win" and component=="shared_library"', {
31 'RuntimeLibrary': '2', # /MD
32 }, {
33 'RuntimeLibrary': '0', # /MT
34 }]
35 ],
36 },
37 },
38 },
39 },
40 },
2 'targets': [{ 41 'targets': [{
3 'target_name': 'googletest', 42 'target_name': 'googletest',
4 'type': '<(library)', 43 'type': '<(library)',
5 'sources': [ 44 'sources': [
6 'googletest/src/gtest-death-test.cc', 45 'googletest/src/gtest-death-test.cc',
7 'googletest/src/gtest-filepath.cc', 46 'googletest/src/gtest-filepath.cc',
8 'googletest/src/gtest-port.cc', 47 'googletest/src/gtest-port.cc',
9 'googletest/src/gtest-printers.cc', 48 'googletest/src/gtest-printers.cc',
10 'googletest/src/gtest-test-part.cc', 49 'googletest/src/gtest-test-part.cc',
11 'googletest/src/gtest-typed-test.cc', 50 'googletest/src/gtest-typed-test.cc',
12 'googletest/src/gtest.cc' 51 'googletest/src/gtest.cc'
13 ], 52 ],
53 'include_dirs': [
54 'googletest',
55 'googletest/include'
56 ],
14 'direct_dependent_settings': { 57 'direct_dependent_settings': {
15 'include_dirs': [ 58 'include_dirs': [
16 'googletest', 59 'googletest',
17 'googletest/include' 60 'googletest/include'
18 ] 61 ]
19 } 62 },
63 'conditions': [[
64 'OS=="win"',
65 {
66 'defines': [ '_VARIADIC_MAX=10' ],
67 'direct_dependent_settings': {
68 'defines': [ '_VARIADIC_MAX=10' ],
69 },
70 }
71 ]],
20 }, 72 },
21 { 73 {
22 'target_name': 'googletest_main', 74 'target_name': 'googletest_main',
23 'type': '<(library)', 75 'type': '<(library)',
24 'sources': ['googletest/src/gtest_main.cc'], 76 'sources': ['googletest/src/gtest_main.cc'],
25 'dependencies': ['googletest'], 77 'dependencies': ['googletest'],
26 'export_dependent_settings': ['googletest'] 78 'export_dependent_settings': ['googletest']
27 }] 79 }]
28 } 80 }
OLDNEW
« no previous file with comments | « test/WebRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld