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

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

Issue 6865013: Introduce experimental natives that are enabled by a runtime flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments Created 9 years, 8 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 | « src/proxy.js ('k') | tools/js2c.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 2011 the V8 project authors. All rights reserved. 1 # Copyright 2011 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 ], 223 ],
224 'dependencies': [ 224 'dependencies': [
225 'mksnapshot#host', 225 'mksnapshot#host',
226 'js2c#host', 226 'js2c#host',
227 'v8_base', 227 'v8_base',
228 ], 228 ],
229 'include_dirs+': [ 229 'include_dirs+': [
230 '../../src', 230 '../../src',
231 ], 231 ],
232 'sources': [ 232 'sources': [
233 '<(SHARED_INTERMEDIATE_DIR)/libraries-empty.cc', 233 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
234 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
234 '<(INTERMEDIATE_DIR)/snapshot.cc', 235 '<(INTERMEDIATE_DIR)/snapshot.cc',
235 ], 236 ],
236 'actions': [ 237 'actions': [
237 { 238 {
238 'action_name': 'run_mksnapshot', 239 'action_name': 'run_mksnapshot',
239 'inputs': [ 240 'inputs': [
240 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFI X)', 241 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFI X)',
241 ], 242 ],
242 'outputs': [ 243 'outputs': [
243 '<(INTERMEDIATE_DIR)/snapshot.cc', 244 '<(INTERMEDIATE_DIR)/snapshot.cc',
244 ], 245 ],
245 'action': ['<@(_inputs)', '<@(_outputs)'], 246 'action': ['<@(_inputs)', '<@(_outputs)'],
246 }, 247 },
247 ], 248 ],
248 }, 249 },
249 { 250 {
250 'target_name': 'v8_nosnapshot', 251 'target_name': 'v8_nosnapshot',
251 'type': '<(library)', 252 'type': '<(library)',
252 'toolsets': ['host', 'target'], 253 'toolsets': ['host', 'target'],
253 'dependencies': [ 254 'dependencies': [
254 'js2c#host', 255 'js2c#host',
255 'v8_base', 256 'v8_base',
256 ], 257 ],
257 'include_dirs+': [ 258 'include_dirs+': [
258 '../../src', 259 '../../src',
259 ], 260 ],
260 'sources': [ 261 'sources': [
261 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 262 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
263 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
262 '../../src/snapshot-empty.cc', 264 '../../src/snapshot-empty.cc',
263 ], 265 ],
264 'conditions': [ 266 'conditions': [
265 # The ARM assembler assumes the host is 32 bits, so force building 267 # The ARM assembler assumes the host is 32 bits, so force building
266 # 32-bit host tools. 268 # 32-bit host tools.
267 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"', { 269 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"', {
268 'cflags': ['-m32'], 270 'cflags': ['-m32'],
269 'ldflags': ['-m32'], 271 'ldflags': ['-m32'],
270 }], 272 }],
271 ['OS=="win" and component=="shared_library"', { 273 ['OS=="win" and component=="shared_library"', {
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 '../../src/messages.js', 717 '../../src/messages.js',
716 '../../src/apinatives.js', 718 '../../src/apinatives.js',
717 '../../src/debug-debugger.js', 719 '../../src/debug-debugger.js',
718 '../../src/mirror-debugger.js', 720 '../../src/mirror-debugger.js',
719 '../../src/liveedit-debugger.js', 721 '../../src/liveedit-debugger.js',
720 '../../src/date.js', 722 '../../src/date.js',
721 '../../src/json.js', 723 '../../src/json.js',
722 '../../src/regexp.js', 724 '../../src/regexp.js',
723 '../../src/macros.py', 725 '../../src/macros.py',
724 ], 726 ],
727 'experimental_library_files': [
728 '../../src/proxy.js',
729 '../../src/macros.py',
730 ],
725 }, 731 },
726 'actions': [ 732 'actions': [
727 { 733 {
728 'action_name': 'js2c', 734 'action_name': 'js2c',
729 'inputs': [ 735 'inputs': [
730 '../../tools/js2c.py', 736 '../../tools/js2c.py',
731 '<@(library_files)', 737 '<@(library_files)',
732 ], 738 ],
733 'outputs': [ 739 'outputs': [
734 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 740 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
735 '<(SHARED_INTERMEDIATE_DIR)/libraries-empty.cc',
736 ], 741 ],
737 'action': [ 742 'action': [
738 'python', 743 'python',
739 '../../tools/js2c.py', 744 '../../tools/js2c.py',
740 '<@(_outputs)', 745 '<@(_outputs)',
741 'CORE', 746 'CORE',
742 '<@(library_files)' 747 '<@(library_files)'
743 ], 748 ],
744 }, 749 },
750 {
751 'action_name': 'js2c_experimental',
752 'inputs': [
753 '../../tools/js2c.py',
754 '<@(experimental_library_files)',
755 ],
756 'outputs': [
757 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
758 ],
759 'action': [
760 'python',
761 '../../tools/js2c.py',
762 '<@(_outputs)',
763 'EXPERIMENTAL',
764 '<@(experimental_library_files)'
765 ],
766 },
745 ], 767 ],
746 }, 768 },
747 { 769 {
748 'target_name': 'mksnapshot', 770 'target_name': 'mksnapshot',
749 'type': 'executable', 771 'type': 'executable',
750 'toolsets': ['host'], 772 'toolsets': ['host'],
751 'dependencies': [ 773 'dependencies': [
752 'v8_nosnapshot', 774 'v8_nosnapshot',
753 ], 775 ],
754 'include_dirs+': [ 776 'include_dirs+': [
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 'target_name': 'v8_shell', 820 'target_name': 'v8_shell',
799 'type': 'none', 821 'type': 'none',
800 'dependencies': [ 822 'dependencies': [
801 'v8' 823 'v8'
802 ], 824 ],
803 }, 825 },
804 ], 826 ],
805 }], 827 }],
806 ], 828 ],
807 } 829 }
OLDNEW
« no previous file with comments | « src/proxy.js ('k') | tools/js2c.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698