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

Side by Side Diff: tools/gyp/v8.gyp

Issue 10398057: Simplify v8.gyp. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/d8.cc ('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 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 # to appear before libv8_snapshot.a so it's listed explicitly. 51 # to appear before libv8_snapshot.a so it's listed explicitly.
52 'dependencies': ['v8_base', 'v8_nosnapshot'], 52 'dependencies': ['v8_base', 'v8_nosnapshot'],
53 }], 53 }],
54 ['component=="shared_library"', { 54 ['component=="shared_library"', {
55 'type': '<(component)', 55 'type': '<(component)',
56 'sources': [ 56 'sources': [
57 # Note: on non-Windows we still build this file so that gyp 57 # Note: on non-Windows we still build this file so that gyp
58 # has some sources to link into the component. 58 # has some sources to link into the component.
59 '../../src/v8dll-main.cc', 59 '../../src/v8dll-main.cc',
60 ], 60 ],
61 'defines': [
62 'V8_SHARED',
63 'BUILDING_V8_SHARED',
64 ],
65 'direct_dependent_settings': {
66 'defines': [
67 'V8_SHARED',
68 'USING_V8_SHARED',
69 ],
70 },
61 'conditions': [ 71 'conditions': [
62 ['OS=="mac"', { 72 ['OS=="mac"', {
63 'xcode_settings': { 73 'xcode_settings': {
64 'OTHER_LDFLAGS': ['-dynamiclib', '-all_load'] 74 'OTHER_LDFLAGS': ['-dynamiclib', '-all_load']
65 }, 75 },
66 }], 76 }],
67 ['OS=="win"', {
68 'defines': [
69 'BUILDING_V8_SHARED',
70 ],
71 'direct_dependent_settings': {
72 'defines': [
73 'USING_V8_SHARED',
74 ],
75 },
76 }, {
77 'defines': [
78 'V8_SHARED',
79 ],
80 'direct_dependent_settings': {
81 'defines': [
82 'V8_SHARED',
83 ],
84 },
85 }],
86 ['soname_version!=""', { 77 ['soname_version!=""', {
87 'product_extension': 'so.<(soname_version)', 78 'product_extension': 'so.<(soname_version)',
88 }], 79 }],
89 ], 80 ],
90 }, 81 },
91 { 82 {
92 'type': 'none', 83 'type': 'none',
93 }], 84 }],
94 ], 85 ],
95 'direct_dependent_settings': { 86 'direct_dependent_settings': {
96 'include_dirs': [ 87 'include_dirs': [
97 '../../include', 88 '../../include',
98 ], 89 ],
99 }, 90 },
100 }, 91 },
101 { 92 {
102 'target_name': 'v8_snapshot', 93 'target_name': 'v8_snapshot',
103 'type': '<(library)', 94 'type': '<(library)',
104 'conditions': [ 95 'conditions': [
105 ['want_separate_host_toolset==1', { 96 ['want_separate_host_toolset==1', {
106 'toolsets': ['host', 'target'], 97 'toolsets': ['host', 'target'],
107 'dependencies': ['mksnapshot#host', 'js2c#host'], 98 'dependencies': ['mksnapshot#host', 'js2c#host'],
108 }, { 99 }, {
109 'toolsets': ['target'], 100 'toolsets': ['target'],
110 'dependencies': ['mksnapshot', 'js2c'], 101 'dependencies': ['mksnapshot', 'js2c'],
111 }], 102 }],
112 ['component=="shared_library"', { 103 ['component=="shared_library"', {
113 'conditions': [ 104 'defines': [
114 ['OS=="win"', { 105 'V8_SHARED',
115 'defines': [ 106 'BUILDING_V8_SHARED',
116 'BUILDING_V8_SHARED',
117 ],
118 'direct_dependent_settings': {
119 'defines': [
120 'USING_V8_SHARED',
121 ],
122 },
123 }, {
124 'defines': [
125 'V8_SHARED',
126 ],
127 'direct_dependent_settings': {
128 'defines': [
129 'V8_SHARED',
130 ],
131 },
132 }],
133 ], 107 ],
108 'direct_dependent_settings': {
109 'defines': [
110 'V8_SHARED',
111 'USING_V8_SHARED',
112 ],
113 },
134 }], 114 }],
135 ], 115 ],
136 'dependencies': [ 116 'dependencies': [
137 'v8_base', 117 'v8_base',
138 ], 118 ],
139 'include_dirs+': [ 119 'include_dirs+': [
140 '../../src', 120 '../../src',
141 ], 121 ],
142 'sources': [ 122 'sources': [
143 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 123 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 }], 986 }],
1007 ], 987 ],
1008 'dependencies': [ 988 'dependencies': [
1009 'v8' 989 'v8'
1010 ], 990 ],
1011 }, 991 },
1012 ], 992 ],
1013 }], 993 }],
1014 ], 994 ],
1015 } 995 }
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698