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

Side by Side Diff: src/v8.gyp

Issue 2356713002: Version 5.5.228.1 (cherry-pick) (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « src/utils.h ('k') | src/wasm/wasm-js.h » ('j') | 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 'type': '<(component)', 54 'type': '<(component)',
55 'sources': [ 55 'sources': [
56 # Note: on non-Windows we still build this file so that gyp 56 # Note: on non-Windows we still build this file so that gyp
57 # has some sources to link into the component. 57 # has some sources to link into the component.
58 'v8dll-main.cc', 58 'v8dll-main.cc',
59 ], 59 ],
60 'include_dirs': [ 60 'include_dirs': [
61 '..', 61 '..',
62 ], 62 ],
63 'defines': [ 63 'defines': [
64 'V8_SHARED',
64 'BUILDING_V8_SHARED', 65 'BUILDING_V8_SHARED',
65 ], 66 ],
66 'direct_dependent_settings': { 67 'direct_dependent_settings': {
67 'defines': [ 68 'defines': [
69 'V8_SHARED',
68 'USING_V8_SHARED', 70 'USING_V8_SHARED',
69 ], 71 ],
70 }, 72 },
71 'target_conditions': [ 73 'target_conditions': [
72 ['OS=="android" and _toolset=="target"', { 74 ['OS=="android" and _toolset=="target"', {
73 'libraries': [ 75 'libraries': [
74 '-llog', 76 '-llog',
75 ], 77 ],
76 'include_dirs': [ 78 'include_dirs': [
77 'src/common/android/include', 79 'src/common/android/include',
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 ], 157 ],
156 }, { 158 }, {
157 'toolsets': ['target'], 159 'toolsets': ['target'],
158 'dependencies': [ 160 'dependencies': [
159 'mksnapshot', 161 'mksnapshot',
160 'js2c', 162 'js2c',
161 ], 163 ],
162 }], 164 }],
163 ['component=="shared_library"', { 165 ['component=="shared_library"', {
164 'defines': [ 166 'defines': [
167 'V8_SHARED',
165 'BUILDING_V8_SHARED', 168 'BUILDING_V8_SHARED',
166 ], 169 ],
167 'direct_dependent_settings': { 170 'direct_dependent_settings': {
168 'defines': [ 171 'defines': [
172 'V8_SHARED',
169 'USING_V8_SHARED', 173 'USING_V8_SHARED',
170 ], 174 ],
171 }, 175 },
172 }], 176 }],
173 ], 177 ],
174 'dependencies': [ 178 'dependencies': [
175 'v8_base', 179 'v8_base',
176 ], 180 ],
177 'include_dirs+': [ 181 'include_dirs+': [
178 '..', 182 '..',
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 ['want_separate_host_toolset==1', { 252 ['want_separate_host_toolset==1', {
249 'toolsets': ['host', 'target'], 253 'toolsets': ['host', 'target'],
250 'dependencies': ['js2c#host'], 254 'dependencies': ['js2c#host'],
251 }, { 255 }, {
252 'toolsets': ['target'], 256 'toolsets': ['target'],
253 'dependencies': ['js2c'], 257 'dependencies': ['js2c'],
254 }], 258 }],
255 ['component=="shared_library"', { 259 ['component=="shared_library"', {
256 'defines': [ 260 'defines': [
257 'BUILDING_V8_SHARED', 261 'BUILDING_V8_SHARED',
262 'V8_SHARED',
258 ], 263 ],
259 }], 264 }],
260 ] 265 ]
261 }, 266 },
262 { 267 {
263 'target_name': 'v8_external_snapshot', 268 'target_name': 'v8_external_snapshot',
264 'type': 'static_library', 269 'type': 'static_library',
265 'conditions': [ 270 'conditions': [
266 [ 'v8_use_external_startup_data==1', { 271 [ 'v8_use_external_startup_data==1', {
267 'conditions': [ 272 'conditions': [
268 ['want_separate_host_toolset==1', { 273 ['want_separate_host_toolset==1', {
269 'toolsets': ['host', 'target'], 274 'toolsets': ['host', 'target'],
270 'dependencies': [ 275 'dependencies': [
271 'mksnapshot#host', 276 'mksnapshot#host',
272 'js2c#host', 277 'js2c#host',
273 'natives_blob', 278 'natives_blob',
274 ]}, { 279 ]}, {
275 'toolsets': ['target'], 280 'toolsets': ['target'],
276 'dependencies': [ 281 'dependencies': [
277 'mksnapshot', 282 'mksnapshot',
278 'js2c', 283 'js2c',
279 'natives_blob', 284 'natives_blob',
280 ], 285 ],
281 }], 286 }],
282 ['component=="shared_library"', { 287 ['component=="shared_library"', {
283 'defines': [ 288 'defines': [
289 'V8_SHARED',
284 'BUILDING_V8_SHARED', 290 'BUILDING_V8_SHARED',
285 ], 291 ],
286 'direct_dependent_settings': { 292 'direct_dependent_settings': {
287 'defines': [ 293 'defines': [
294 'V8_SHARED',
288 'USING_V8_SHARED', 295 'USING_V8_SHARED',
289 ], 296 ],
290 }, 297 },
291 }], 298 }],
292 ], 299 ],
293 'dependencies': [ 300 'dependencies': [
294 'v8_base', 301 'v8_base',
295 ], 302 ],
296 'include_dirs+': [ 303 'include_dirs+': [
297 '..', 304 '..',
(...skipping 1401 matching lines...) Expand 10 before | Expand all | Expand 10 after
1699 }, 1706 },
1700 'msvs_disabled_warnings': [4351, 4355, 4800], 1707 'msvs_disabled_warnings': [4351, 4355, 4800],
1701 # When building Official, the .lib is too large and exceeds the 2G 1708 # When building Official, the .lib is too large and exceeds the 2G
1702 # limit. This breaks it into multiple pieces to avoid the limit. 1709 # limit. This breaks it into multiple pieces to avoid the limit.
1703 # See http://crbug.com/485155. 1710 # See http://crbug.com/485155.
1704 'msvs_shard': 4, 1711 'msvs_shard': 4,
1705 }], 1712 }],
1706 ['component=="shared_library"', { 1713 ['component=="shared_library"', {
1707 'defines': [ 1714 'defines': [
1708 'BUILDING_V8_SHARED', 1715 'BUILDING_V8_SHARED',
1716 'V8_SHARED',
1709 ], 1717 ],
1710 }], 1718 }],
1711 ['v8_postmortem_support=="true"', { 1719 ['v8_postmortem_support=="true"', {
1712 'sources': [ 1720 'sources': [
1713 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', 1721 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
1714 ] 1722 ]
1715 }], 1723 }],
1716 ['v8_enable_i18n_support==1', { 1724 ['v8_enable_i18n_support==1', {
1717 'dependencies': [ 1725 'dependencies': [
1718 '<(icu_gyp_path):icui18n', 1726 '<(icu_gyp_path):icui18n',
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
2447 'conditions': [ 2455 'conditions': [
2448 ['want_separate_host_toolset_mkpeephole==1', { 2456 ['want_separate_host_toolset_mkpeephole==1', {
2449 'toolsets': ['host'], 2457 'toolsets': ['host'],
2450 }, { 2458 }, {
2451 'toolsets': ['target'], 2459 'toolsets': ['target'],
2452 }], 2460 }],
2453 ], 2461 ],
2454 }, 2462 },
2455 ], 2463 ],
2456 } 2464 }
OLDNEW
« no previous file with comments | « src/utils.h ('k') | src/wasm/wasm-js.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698