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

Side by Side Diff: build/features.gypi

Issue 1531073003: Revert of Remove wasm compile time option and enable wasm behind a runtime flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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 | « Makefile ('k') | src/bootstrapper.cc » ('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 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 # Enable compiler warnings when using V8_DEPRECATED apis. 61 # Enable compiler warnings when using V8_DEPRECATED apis.
62 'v8_deprecation_warnings%': 0, 62 'v8_deprecation_warnings%': 0,
63 63
64 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. 64 # Enable compiler warnings when using V8_DEPRECATE_SOON apis.
65 'v8_imminent_deprecation_warnings%': 0, 65 'v8_imminent_deprecation_warnings%': 0,
66 66
67 # Set to 1 to enable DCHECKs in release builds. 67 # Set to 1 to enable DCHECKs in release builds.
68 'dcheck_always_on%': 0, 68 'dcheck_always_on%': 0,
69 69
70 # Set to 1 to enable building with wasm prototype.
71 'v8_wasm%': 0,
72
70 # Enable/disable JavaScript API accessors. 73 # Enable/disable JavaScript API accessors.
71 'v8_js_accessors%': 0, 74 'v8_js_accessors%': 0,
72 }, 75 },
73 'target_defaults': { 76 'target_defaults': {
74 'conditions': [ 77 'conditions': [
75 ['v8_enable_disassembler==1', { 78 ['v8_enable_disassembler==1', {
76 'defines': ['ENABLE_DISASSEMBLER',], 79 'defines': ['ENABLE_DISASSEMBLER',],
77 }], 80 }],
78 ['v8_enable_gdbjit==1', { 81 ['v8_enable_gdbjit==1', {
79 'defines': ['ENABLE_GDB_JIT_INTERFACE',], 82 'defines': ['ENABLE_GDB_JIT_INTERFACE',],
(...skipping 21 matching lines...) Expand all
101 }], 104 }],
102 ['v8_enable_i18n_support==1', { 105 ['v8_enable_i18n_support==1', {
103 'defines': ['V8_I18N_SUPPORT',], 106 'defines': ['V8_I18N_SUPPORT',],
104 }], 107 }],
105 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { 108 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', {
106 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',], 109 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',],
107 }], 110 }],
108 ['dcheck_always_on!=0', { 111 ['dcheck_always_on!=0', {
109 'defines': ['DEBUG',], 112 'defines': ['DEBUG',],
110 }], 113 }],
114 ['v8_wasm!=0', {
115 'defines': ['V8_WASM',],
116 }],
111 ], # conditions 117 ], # conditions
112 'configurations': { 118 'configurations': {
113 'DebugBaseCommon': { 119 'DebugBaseCommon': {
114 'abstract': 1, 120 'abstract': 1,
115 'variables': { 121 'variables': {
116 'v8_enable_handle_zapping%': 1, 122 'v8_enable_handle_zapping%': 1,
117 }, 123 },
118 'conditions': [ 124 'conditions': [
119 ['v8_enable_handle_zapping==1', { 125 ['v8_enable_handle_zapping==1', {
120 'defines': ['ENABLE_HANDLE_ZAPPING',], 126 'defines': ['ENABLE_HANDLE_ZAPPING',],
121 }], 127 }],
122 ], 128 ],
123 }, # Debug 129 }, # Debug
124 'Release': { 130 'Release': {
125 'variables': { 131 'variables': {
126 'v8_enable_handle_zapping%': 1, 132 'v8_enable_handle_zapping%': 1,
127 }, 133 },
128 'conditions': [ 134 'conditions': [
129 ['v8_enable_handle_zapping==1', { 135 ['v8_enable_handle_zapping==1', {
130 'defines': ['ENABLE_HANDLE_ZAPPING',], 136 'defines': ['ENABLE_HANDLE_ZAPPING',],
131 }], 137 }],
132 ], # conditions 138 ], # conditions
133 }, # Release 139 }, # Release
134 }, # configurations 140 }, # configurations
135 }, # target_defaults 141 }, # target_defaults
136 } 142 }
OLDNEW
« no previous file with comments | « Makefile ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698