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

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

Issue 1413693009: [mac] Fix cross-compilation for Android from a Mac Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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
« build/standalone.gypi ('K') | « docs/d8_on_android.md ('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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 ['want_separate_host_toolset==1', { 139 ['want_separate_host_toolset==1', {
140 'toolsets': ['host', 'target'], 140 'toolsets': ['host', 'target'],
141 }, { 141 }, {
142 'toolsets': ['target'], 142 'toolsets': ['target'],
143 }], 143 }],
144 ] 144 ]
145 }, 145 },
146 { 146 {
147 'target_name': 'v8_snapshot', 147 'target_name': 'v8_snapshot',
148 'type': 'static_library', 148 'type': 'static_library',
149 'standalone_static_library': 1,
Jakob Kummerow 2015/10/27 16:53:35 I don't think we want non-thin libraries, it's a w
149 'conditions': [ 150 'conditions': [
150 ['want_separate_host_toolset==1', { 151 ['want_separate_host_toolset==1', {
151 'toolsets': ['host', 'target'], 152 'toolsets': ['host', 'target'],
152 'dependencies': [ 153 'dependencies': [
153 'mksnapshot#host', 154 'mksnapshot#host',
154 'js2c#host', 155 'js2c#host',
155 ], 156 ],
156 }, { 157 }, {
157 'toolsets': ['target'], 158 'toolsets': ['target'],
158 'dependencies': [ 159 'dependencies': [
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 '<@(mksnapshot_flags)', 217 '<@(mksnapshot_flags)',
217 '--startup_src', '<@(INTERMEDIATE_DIR)/snapshot.cc', 218 '--startup_src', '<@(INTERMEDIATE_DIR)/snapshot.cc',
218 '<(embed_script)', 219 '<(embed_script)',
219 ], 220 ],
220 }, 221 },
221 ], 222 ],
222 }, 223 },
223 { 224 {
224 'target_name': 'v8_nosnapshot', 225 'target_name': 'v8_nosnapshot',
225 'type': 'static_library', 226 'type': 'static_library',
227 'standalone_static_library': 1,
226 'dependencies': [ 228 'dependencies': [
227 'v8_base', 229 'v8_base',
228 ], 230 ],
229 'include_dirs+': [ 231 'include_dirs+': [
230 '../..', 232 '../..',
231 ], 233 ],
232 'sources': [ 234 'sources': [
233 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 235 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
234 '<(SHARED_INTERMEDIATE_DIR)/code-stub-libraries.cc', 236 '<(SHARED_INTERMEDIATE_DIR)/code-stub-libraries.cc',
235 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', 237 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
(...skipping 13 matching lines...) Expand all
249 'defines': [ 251 'defines': [
250 'BUILDING_V8_SHARED', 252 'BUILDING_V8_SHARED',
251 'V8_SHARED', 253 'V8_SHARED',
252 ], 254 ],
253 }], 255 }],
254 ] 256 ]
255 }, 257 },
256 { 258 {
257 'target_name': 'v8_external_snapshot', 259 'target_name': 'v8_external_snapshot',
258 'type': 'static_library', 260 'type': 'static_library',
261 'standalone_static_library': 1,
259 'conditions': [ 262 'conditions': [
260 [ 'v8_use_external_startup_data==1', { 263 [ 'v8_use_external_startup_data==1', {
261 'conditions': [ 264 'conditions': [
262 ['want_separate_host_toolset==1', { 265 ['want_separate_host_toolset==1', {
263 'toolsets': ['host', 'target'], 266 'toolsets': ['host', 'target'],
264 'dependencies': [ 267 'dependencies': [
265 'mksnapshot#host', 268 'mksnapshot#host',
266 'js2c#host', 269 'js2c#host',
267 'natives_blob', 270 'natives_blob',
268 ]}, { 271 ]}, {
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 }], 357 }],
355 ], 358 ],
356 }, 359 },
357 ], 360 ],
358 }], 361 }],
359 ], 362 ],
360 }, 363 },
361 { 364 {
362 'target_name': 'v8_base', 365 'target_name': 'v8_base',
363 'type': 'static_library', 366 'type': 'static_library',
367 'standalone_static_library': 1,
364 'dependencies': [ 368 'dependencies': [
365 'v8_libbase', 369 'v8_libbase',
366 ], 370 ],
367 'variables': { 371 'variables': {
368 'optimize': 'max', 372 'optimize': 'max',
369 }, 373 },
370 'include_dirs+': [ 374 'include_dirs+': [
371 '../..', 375 '../..',
372 ], 376 ],
373 'defines': [ 377 'defines': [
(...skipping 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after
1441 ], 1445 ],
1442 }], 1446 }],
1443 ['v8_wasm!=0', { 1447 ['v8_wasm!=0', {
1444 'dependencies': ['../../third_party/wasm/src/wasm/wasm.gyp:wasm'], 1448 'dependencies': ['../../third_party/wasm/src/wasm/wasm.gyp:wasm'],
1445 }], 1449 }],
1446 ], 1450 ],
1447 }, 1451 },
1448 { 1452 {
1449 'target_name': 'v8_libbase', 1453 'target_name': 'v8_libbase',
1450 'type': 'static_library', 1454 'type': 'static_library',
1455 'standalone_static_library': 1,
1451 'variables': { 1456 'variables': {
1452 'optimize': 'max', 1457 'optimize': 'max',
1453 }, 1458 },
1454 'include_dirs+': [ 1459 'include_dirs+': [
1455 '../..', 1460 '../..',
1456 ], 1461 ],
1457 'sources': [ 1462 'sources': [
1458 '../../src/base/adapters.h', 1463 '../../src/base/adapters.h',
1459 '../../src/base/atomicops.h', 1464 '../../src/base/atomicops.h',
1460 '../../src/base/atomicops_internals_arm64_gcc.h', 1465 '../../src/base/atomicops_internals_arm64_gcc.h',
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1705 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], 1710 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ],
1706 }, 1711 },
1707 }], 1712 }],
1708 ], 1713 ],
1709 }], 1714 }],
1710 ], 1715 ],
1711 }, 1716 },
1712 { 1717 {
1713 'target_name': 'v8_libplatform', 1718 'target_name': 'v8_libplatform',
1714 'type': 'static_library', 1719 'type': 'static_library',
1720 'standalone_static_library': 1,
1715 'variables': { 1721 'variables': {
1716 'optimize': 'max', 1722 'optimize': 'max',
1717 }, 1723 },
1718 'dependencies': [ 1724 'dependencies': [
1719 'v8_libbase', 1725 'v8_libbase',
1720 ], 1726 ],
1721 'include_dirs+': [ 1727 'include_dirs+': [
1722 '../..', 1728 '../..',
1723 ], 1729 ],
1724 'sources': [ 1730 'sources': [
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
2096 }], 2102 }],
2097 ['want_separate_host_toolset==1', { 2103 ['want_separate_host_toolset==1', {
2098 'toolsets': ['host'], 2104 'toolsets': ['host'],
2099 }, { 2105 }, {
2100 'toolsets': ['target'], 2106 'toolsets': ['target'],
2101 }], 2107 }],
2102 ], 2108 ],
2103 }, 2109 },
2104 ], 2110 ],
2105 } 2111 }
OLDNEW
« build/standalone.gypi ('K') | « docs/d8_on_android.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698