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

Side by Side Diff: defaults.gypi

Issue 10945039: Switch to gyp (Closed)
Patch Set: Final version Created June 21, 2013, 2:16 p.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 | « createsolution.bat ('k') | installer/Makefile » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {
2 'target_defaults': {
3 'configurations': {
4 'Debug': {
5 'defines': [ '_DEBUG' ],
6 'msvs_settings': {
7 'VCCLCompilerTool': {
8 'Optimization': '0',
9
10 'conditions': [
11 ['component=="shared_library"', {
12 'RuntimeLibrary': '3', # /MDd
13 }, {
14 'RuntimeLibrary': '1', # /MTd
15 }]
16 ],
17 },
18 },
19 },
20 'Release': {
21 'defines': [ 'NDEBUG' ],
22 'msvs_settings': {
23 'VCCLCompilerTool': {
24 'InlineFunctionExpansion': 2, # AnySuitable
25 'EnableIntrinsicFunctions': 'true',
26 'EnableFunctionLevelLinking': 'true',
27 'FavorSizeOrSpeed': 1, # Speed
28 'OmitFramePointers': 'true',
29 'Optimization': 2, # MaxSpeed
30 'RuntimeTypeInfo': 'false',
31 'StringPooling': 'true',
32 'WholeProgramOptimization': 'true',
33
34 'conditions': [
35 ['component=="shared_library"', {
36 'RuntimeLibrary': '2', # /MD
37 }, {
38 'RuntimeLibrary': '0', # /MT
39 }]
40 ],
41 },
42 'VCLinkerTool': {
43 'EnableCOMDATFolding': 2, # true
44 'OptimizeReferences': 2, # true
45 'LinkTimeCodeGeneration': 1,# UseLinkTimeCodeGeneration
46 },
47 },
48 },
49 },
50 'defines': ['_WINDOWS'],
51 'msvs_configuration_attributes': {
52 'CharacterSet': '1', # Unicode
53 },
54 'msvs_settings': {
55 'VCCLCompilerTool': {
56 'WarningLevel': 3, # Level3
57 },
58 'VCLinkerTool': {
59 'SubSystem': '2', # Windows
60 'GenerateDebugInformation': 'true',
61 },
62 'VCMIDLTool': {
63 'TypeLibraryName': '$(TargetName).tlb',
64 },
65 },
66 'conditions': [
67 [
68 'target_arch=="x64"', {
69 'msvs_configuration_platform': 'x64',
70 'defines': ['WIN64'],
71 }, {
72 'msvs_configuration_platform': 'Win32',
73 'defines': ['WIN32'],
74 }
75 ],
76 ],
77 },
78 }
OLDNEW
« no previous file with comments | « createsolution.bat ('k') | installer/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld