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

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

Issue 843913009: Reland Auto-generate v8 version based on tags. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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 | « DEPS ('k') | tools/push-to-trunk/generate_version.py » ('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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 '<(embed_script)', 329 '<(embed_script)',
330 ], 330 ],
331 }], 331 }],
332 ], 332 ],
333 }, 333 },
334 ], 334 ],
335 }], 335 }],
336 ], 336 ],
337 }, 337 },
338 { 338 {
339 'target_name': 'v8_version',
340 'type': 'none',
341 'conditions': [
342 ['want_separate_host_toolset==1', {
343 'toolsets': ['host'],
344 }, {
345 'toolsets': ['target'],
346 }],
347 ],
348 'actions': [
349 {
350 'action_name': 'generate_v8_version',
351 'inputs': [
352 '../../tools/push-to-trunk/generate_version.py',
353 '../../src/version.cc',
354 ],
355 'outputs': [
356 '<(SHARED_INTERMEDIATE_DIR)/version.cc',
357 ],
358 'action': [
359 'python',
360 '../../tools/push-to-trunk/generate_version.py',
361 '<(SHARED_INTERMEDIATE_DIR)/version.cc',
362 ],
363 },
364 ],
365 },
366 {
339 'target_name': 'v8_base', 367 'target_name': 'v8_base',
340 'type': 'static_library', 368 'type': 'static_library',
341 'dependencies': [ 369 'dependencies': [
342 'v8_libbase', 370 'v8_libbase',
343 ], 371 ],
344 'variables': { 372 'variables': {
345 'optimize': 'max', 373 'optimize': 'max',
346 }, 374 },
347 'include_dirs+': [ 375 'include_dirs+': [
348 '../..', 376 '../..',
349 ], 377 ],
350 'sources': [ ### gcmole(all) ### 378 'sources': [ ### gcmole(all) ###
379 '<(SHARED_INTERMEDIATE_DIR)/version.cc',
351 '../../src/accessors.cc', 380 '../../src/accessors.cc',
352 '../../src/accessors.h', 381 '../../src/accessors.h',
353 '../../src/allocation.cc', 382 '../../src/allocation.cc',
354 '../../src/allocation.h', 383 '../../src/allocation.h',
355 '../../src/allocation-site-scopes.cc', 384 '../../src/allocation-site-scopes.cc',
356 '../../src/allocation-site-scopes.h', 385 '../../src/allocation-site-scopes.h',
357 '../../src/allocation-tracker.cc', 386 '../../src/allocation-tracker.cc',
358 '../../src/allocation-tracker.h', 387 '../../src/allocation-tracker.h',
359 '../../src/api.cc', 388 '../../src/api.cc',
360 '../../src/api.h', 389 '../../src/api.h',
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 '../../src/utils.cc', 908 '../../src/utils.cc',
880 '../../src/utils.h', 909 '../../src/utils.h',
881 '../../src/v8.cc', 910 '../../src/v8.cc',
882 '../../src/v8.h', 911 '../../src/v8.h',
883 '../../src/v8memory.h', 912 '../../src/v8memory.h',
884 '../../src/v8threads.cc', 913 '../../src/v8threads.cc',
885 '../../src/v8threads.h', 914 '../../src/v8threads.h',
886 '../../src/variables.cc', 915 '../../src/variables.cc',
887 '../../src/variables.h', 916 '../../src/variables.h',
888 '../../src/vector.h', 917 '../../src/vector.h',
889 '../../src/version.cc',
890 '../../src/version.h', 918 '../../src/version.h',
891 '../../src/vm-state-inl.h', 919 '../../src/vm-state-inl.h',
892 '../../src/vm-state.h', 920 '../../src/vm-state.h',
893 '../../src/zone-inl.h', 921 '../../src/zone-inl.h',
894 '../../src/zone.cc', 922 '../../src/zone.cc',
895 '../../src/zone.h', 923 '../../src/zone.h',
896 '../../src/third_party/fdlibm/fdlibm.cc', 924 '../../src/third_party/fdlibm/fdlibm.cc',
897 '../../src/third_party/fdlibm/fdlibm.h', 925 '../../src/third_party/fdlibm/fdlibm.h',
898 ], 926 ],
899 'conditions': [ 927 'conditions': [
900 ['want_separate_host_toolset==1', { 928 ['want_separate_host_toolset==1', {
929 'dependencies': [
930 'v8_version#host',
931 ],
901 'toolsets': ['host', 'target'], 932 'toolsets': ['host', 'target'],
902 }, { 933 }, {
934 'dependencies': [
935 'v8_version',
936 ],
903 'toolsets': ['target'], 937 'toolsets': ['target'],
904 }], 938 }],
905 ['v8_target_arch=="arm"', { 939 ['v8_target_arch=="arm"', {
906 'sources': [ ### gcmole(arch:arm) ### 940 'sources': [ ### gcmole(arch:arm) ###
907 '../../src/arm/assembler-arm-inl.h', 941 '../../src/arm/assembler-arm-inl.h',
908 '../../src/arm/assembler-arm.cc', 942 '../../src/arm/assembler-arm.cc',
909 '../../src/arm/assembler-arm.h', 943 '../../src/arm/assembler-arm.h',
910 '../../src/arm/builtins-arm.cc', 944 '../../src/arm/builtins-arm.cc',
911 '../../src/arm/code-stubs-arm.cc', 945 '../../src/arm/code-stubs-arm.cc',
912 '../../src/arm/code-stubs-arm.h', 946 '../../src/arm/code-stubs-arm.h',
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
1763 }], 1797 }],
1764 ['want_separate_host_toolset==1', { 1798 ['want_separate_host_toolset==1', {
1765 'toolsets': ['host'], 1799 'toolsets': ['host'],
1766 }, { 1800 }, {
1767 'toolsets': ['target'], 1801 'toolsets': ['target'],
1768 }], 1802 }],
1769 ], 1803 ],
1770 }, 1804 },
1771 ], 1805 ],
1772 } 1806 }
OLDNEW
« no previous file with comments | « DEPS ('k') | tools/push-to-trunk/generate_version.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698