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

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

Issue 797503007: 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
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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin', 322 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin',
323 ], 323 ],
324 }], 324 }],
325 ], 325 ],
326 }, 326 },
327 ], 327 ],
328 }], 328 }],
329 ], 329 ],
330 }, 330 },
331 { 331 {
332 'target_name': 'v8_version',
333 'type': 'none',
334 'actions': [
335 {
336 'action_name': 'generate_v8_version',
337 'inputs': [
338 '../../tools/push-to-trunk/generate_version.py',
339 '../../src/version.cc',
340 ],
341 'outputs': [
342 '<(SHARED_INTERMEDIATE_DIR)/version.cc',
343 ],
344 'action': [
345 'python',
346 '../../tools/push-to-trunk/generate_version.py',
347 '<(SHARED_INTERMEDIATE_DIR)/version.cc',
348 ],
349 },
350 ],
351 },
352 {
332 'target_name': 'v8_base', 353 'target_name': 'v8_base',
333 'type': 'static_library', 354 'type': 'static_library',
334 'dependencies': [ 355 'dependencies': [
335 'v8_libbase', 356 'v8_libbase',
357 'v8_version',
336 ], 358 ],
337 'variables': { 359 'variables': {
338 'optimize': 'max', 360 'optimize': 'max',
339 }, 361 },
340 'include_dirs+': [ 362 'include_dirs+': [
341 '../..', 363 '../..',
342 ], 364 ],
343 'sources': [ ### gcmole(all) ### 365 'sources': [ ### gcmole(all) ###
344 '../../src/accessors.cc', 366 '../../src/accessors.cc',
345 '../../src/accessors.h', 367 '../../src/accessors.h',
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 '../../src/utils.cc', 890 '../../src/utils.cc',
869 '../../src/utils.h', 891 '../../src/utils.h',
870 '../../src/v8.cc', 892 '../../src/v8.cc',
871 '../../src/v8.h', 893 '../../src/v8.h',
872 '../../src/v8memory.h', 894 '../../src/v8memory.h',
873 '../../src/v8threads.cc', 895 '../../src/v8threads.cc',
874 '../../src/v8threads.h', 896 '../../src/v8threads.h',
875 '../../src/variables.cc', 897 '../../src/variables.cc',
876 '../../src/variables.h', 898 '../../src/variables.h',
877 '../../src/vector.h', 899 '../../src/vector.h',
878 '../../src/version.cc', 900 '<(SHARED_INTERMEDIATE_DIR)/version.cc',
879 '../../src/version.h', 901 '../../src/version.h',
880 '../../src/vm-state-inl.h', 902 '../../src/vm-state-inl.h',
881 '../../src/vm-state.h', 903 '../../src/vm-state.h',
882 '../../src/zone-inl.h', 904 '../../src/zone-inl.h',
883 '../../src/zone.cc', 905 '../../src/zone.cc',
884 '../../src/zone.h', 906 '../../src/zone.h',
885 '../../src/third_party/fdlibm/fdlibm.cc', 907 '../../src/third_party/fdlibm/fdlibm.cc',
886 '../../src/third_party/fdlibm/fdlibm.h', 908 '../../src/third_party/fdlibm/fdlibm.h',
887 ], 909 ],
888 'conditions': [ 910 'conditions': [
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
1752 }], 1774 }],
1753 ['want_separate_host_toolset==1', { 1775 ['want_separate_host_toolset==1', {
1754 'toolsets': ['host'], 1776 'toolsets': ['host'],
1755 }, { 1777 }, {
1756 'toolsets': ['target'], 1778 'toolsets': ['target'],
1757 }], 1779 }],
1758 ], 1780 ],
1759 }, 1781 },
1760 ], 1782 ],
1761 } 1783 }
OLDNEW
« BUILD.gn ('K') | « BUILD.gn ('k') | tools/push-to-trunk/generate_version.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698