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

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

Issue 345903004: Split out libplatform into a separate libary (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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
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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 '../../src/interface.h', 525 '../../src/interface.h',
526 '../../src/interpreter-irregexp.cc', 526 '../../src/interpreter-irregexp.cc',
527 '../../src/interpreter-irregexp.h', 527 '../../src/interpreter-irregexp.h',
528 '../../src/isolate.cc', 528 '../../src/isolate.cc',
529 '../../src/isolate.h', 529 '../../src/isolate.h',
530 '../../src/json-parser.h', 530 '../../src/json-parser.h',
531 '../../src/json-stringifier.h', 531 '../../src/json-stringifier.h',
532 '../../src/jsregexp-inl.h', 532 '../../src/jsregexp-inl.h',
533 '../../src/jsregexp.cc', 533 '../../src/jsregexp.cc',
534 '../../src/jsregexp.h', 534 '../../src/jsregexp.h',
535 # TODO(jochen): move libplatform/ files to their own target.
536 '../../src/libplatform/default-platform.cc',
537 '../../src/libplatform/default-platform.h',
538 '../../src/libplatform/task-queue.cc',
539 '../../src/libplatform/task-queue.h',
540 '../../src/libplatform/worker-thread.cc',
541 '../../src/libplatform/worker-thread.h',
542 '../../src/list-inl.h', 535 '../../src/list-inl.h',
543 '../../src/list.h', 536 '../../src/list.h',
544 '../../src/lithium-allocator-inl.h', 537 '../../src/lithium-allocator-inl.h',
545 '../../src/lithium-allocator.cc', 538 '../../src/lithium-allocator.cc',
546 '../../src/lithium-allocator.h', 539 '../../src/lithium-allocator.h',
547 '../../src/lithium-codegen.cc', 540 '../../src/lithium-codegen.cc',
548 '../../src/lithium-codegen.h', 541 '../../src/lithium-codegen.h',
549 '../../src/lithium.cc', 542 '../../src/lithium.cc',
550 '../../src/lithium.h', 543 '../../src/lithium.h',
551 '../../src/liveedit.cc', 544 '../../src/liveedit.cc',
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
1202 }], 1195 }],
1203 ['component=="shared_library"', { 1196 ['component=="shared_library"', {
1204 'defines': [ 1197 'defines': [
1205 'BUILDING_V8_SHARED', 1198 'BUILDING_V8_SHARED',
1206 'V8_SHARED', 1199 'V8_SHARED',
1207 ], 1200 ],
1208 }], 1201 }],
1209 ], 1202 ],
1210 }, 1203 },
1211 { 1204 {
1205 'target_name': 'v8_libplatform',
1206 'type': 'static_library',
1207 'variables': {
1208 'optimize': 'max',
1209 },
1210 'dependencies': [
1211 'v8_libbase',
1212 ],
1213 'include_dirs+': [
1214 '../..',
1215 ],
1216 'sources': [
1217 '../../include/libplatform/libplatform.h',
1218 '../../src/libplatform/default-platform.cc',
1219 '../../src/libplatform/default-platform.h',
1220 '../../src/libplatform/task-queue.cc',
1221 '../../src/libplatform/task-queue.h',
1222 '../../src/libplatform/worker-thread.cc',
1223 '../../src/libplatform/worker-thread.h',
1224 ],
1225 'conditions': [
1226 ['want_separate_host_toolset==1', {
1227 'toolsets': ['host', 'target'],
1228 }, {
1229 'toolsets': ['target'],
1230 }],
1231 ['component=="shared_library"', {
1232 'defines': [
1233 'BUILDING_V8_SHARED',
1234 'V8_SHARED',
1235 ],
1236 }],
1237 ],
1238 },
1239 {
1212 'target_name': 'natives_blob', 1240 'target_name': 'natives_blob',
1213 'type': 'none', 1241 'type': 'none',
1214 'conditions': [ 1242 'conditions': [
1215 [ 'v8_use_external_startup_data==1', { 1243 [ 'v8_use_external_startup_data==1', {
1216 'dependencies': ['js2c'], 1244 'dependencies': ['js2c'],
1217 'actions': [{ 1245 'actions': [{
1218 'action_name': 'concatenate_natives_blob', 1246 'action_name': 'concatenate_natives_blob',
1219 'inputs': [ 1247 'inputs': [
1220 '../../tools/concatenate-files.py', 1248 '../../tools/concatenate-files.py',
1221 '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', 1249 '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 '../../tools/gen-postmortem-metadata.py', 1403 '../../tools/gen-postmortem-metadata.py',
1376 '<@(_outputs)', 1404 '<@(_outputs)',
1377 '<@(heapobject_files)' 1405 '<@(heapobject_files)'
1378 ] 1406 ]
1379 } 1407 }
1380 ] 1408 ]
1381 }, 1409 },
1382 { 1410 {
1383 'target_name': 'mksnapshot', 1411 'target_name': 'mksnapshot',
1384 'type': 'executable', 1412 'type': 'executable',
1385 'dependencies': ['v8_base', 'v8_nosnapshot'], 1413 'dependencies': ['v8_base', 'v8_nosnapshot', 'v8_libplatform'],
1386 'include_dirs+': [ 1414 'include_dirs+': [
1387 '../..', 1415 '../..',
1388 ], 1416 ],
1389 'sources': [ 1417 'sources': [
1390 '../../src/mksnapshot.cc', 1418 '../../src/mksnapshot.cc',
1391 ], 1419 ],
1392 'conditions': [ 1420 'conditions': [
1393 ['want_separate_host_toolset==1', { 1421 ['want_separate_host_toolset==1', {
1394 'toolsets': ['host'], 1422 'toolsets': ['host'],
1395 }, { 1423 }, {
1396 'toolsets': ['target'], 1424 'toolsets': ['target'],
1397 }], 1425 }],
1398 ['v8_compress_startup_data=="bz2"', { 1426 ['v8_compress_startup_data=="bz2"', {
1399 'libraries': [ 1427 'libraries': [
1400 '-lbz2', 1428 '-lbz2',
1401 ] 1429 ]
1402 }], 1430 }],
1403 ], 1431 ],
1404 }, 1432 },
1405 ], 1433 ],
1406 } 1434 }
OLDNEW
« samples/process.cc ('K') | « test/cctest/cctest.gyp ('k') | tools/lexer-shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698