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

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

Issue 11642006: Generate shim headers when using system v8. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 973 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 { 984 {
985 'target_name': 'v8', 985 'target_name': 'v8',
986 'type': 'none', 986 'type': 'none',
987 'conditions': [ 987 'conditions': [
988 ['want_separate_host_toolset==1', { 988 ['want_separate_host_toolset==1', {
989 'toolsets': ['host', 'target'], 989 'toolsets': ['host', 'target'],
990 }, { 990 }, {
991 'toolsets': ['target'], 991 'toolsets': ['target'],
992 }], 992 }],
993 ], 993 ],
994 'variables': {
995 'shim_headers_path': '<(SHARED_INTERMEDIATE_DIR)/shim_headers/<(_tar get_name)/<(_toolset)',
996 },
997 'include_dirs++': [
998 '<(shim_headers_path)',
999 ],
1000 'direct_dependent_settings': {
1001 'include_dirs+++': [
1002 '<(shim_headers_path)',
1003 ],
1004 },
1005 'actions': [
1006 {
1007 'variables': {
1008 'generator_path': '../../../tools/generate_shim_headers/generate _shim_headers.py',
1009 'generator_args': [
1010 '--headers-root', '../../include',
1011 '--output-directory', '<(shim_headers_path)',
1012 'v8-debug.h',
1013 'v8-preparser.h',
1014 'v8-profiler.h',
1015 'v8-testing.h',
1016 'v8.h',
1017 'v8stdint.h',
1018 ],
1019 },
1020 'action_name': 'generate_<(_target_name)_shim_headers',
1021 'inputs': [
1022 '<(generator_path)',
1023 ],
1024 'outputs': [
1025 '<!@pymod_do_main(generate_shim_headers <@(generator_args) --out puts)',
1026 ],
1027 'action': ['python',
1028 '<(generator_path)',
1029 '<@(generator_args)',
1030 '--generate',
1031 ],
1032 'message': 'Generating <(_target_name) shim headers.',
1033 },
1034 ],
994 'link_settings': { 1035 'link_settings': {
995 'libraries': [ 1036 'libraries': [
996 '-lv8', 1037 '-lv8',
997 ], 1038 ],
998 }, 1039 },
999 }, 1040 },
1000 { 1041 {
1001 'target_name': 'v8_shell', 1042 'target_name': 'v8_shell',
1002 'type': 'none', 1043 'type': 'none',
1003 'conditions': [ 1044 'conditions': [
1004 ['want_separate_host_toolset==1', { 1045 ['want_separate_host_toolset==1', {
1005 'toolsets': ['host'], 1046 'toolsets': ['host'],
1006 }, { 1047 }, {
1007 'toolsets': ['target'], 1048 'toolsets': ['target'],
1008 }], 1049 }],
1009 ], 1050 ],
1010 'dependencies': [ 1051 'dependencies': [
1011 'v8' 1052 'v8'
1012 ], 1053 ],
1013 }, 1054 },
1014 ], 1055 ],
1015 }], 1056 }],
1016 ], 1057 ],
1017 } 1058 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698