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

Side by Side Diff: build/features.gypi

Issue 1553083003: 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: fix Created 4 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 | « 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
73 # Enable/disable JavaScript API accessors. 70 # Enable/disable JavaScript API accessors.
74 'v8_js_accessors%': 0, 71 'v8_js_accessors%': 0,
75 }, 72 },
76 'target_defaults': { 73 'target_defaults': {
77 'conditions': [ 74 'conditions': [
78 ['v8_enable_disassembler==1', { 75 ['v8_enable_disassembler==1', {
79 'defines': ['ENABLE_DISASSEMBLER',], 76 'defines': ['ENABLE_DISASSEMBLER',],
80 }], 77 }],
81 ['v8_enable_gdbjit==1', { 78 ['v8_enable_gdbjit==1', {
82 'defines': ['ENABLE_GDB_JIT_INTERFACE',], 79 'defines': ['ENABLE_GDB_JIT_INTERFACE',],
(...skipping 21 matching lines...) Expand all
104 }], 101 }],
105 ['v8_enable_i18n_support==1', { 102 ['v8_enable_i18n_support==1', {
106 'defines': ['V8_I18N_SUPPORT',], 103 'defines': ['V8_I18N_SUPPORT',],
107 }], 104 }],
108 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { 105 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', {
109 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',], 106 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',],
110 }], 107 }],
111 ['dcheck_always_on!=0', { 108 ['dcheck_always_on!=0', {
112 'defines': ['DEBUG',], 109 'defines': ['DEBUG',],
113 }], 110 }],
114 ['v8_wasm!=0', {
115 'defines': ['V8_WASM',],
116 }],
117 ], # conditions 111 ], # conditions
118 'configurations': { 112 'configurations': {
119 'DebugBaseCommon': { 113 'DebugBaseCommon': {
120 'abstract': 1, 114 'abstract': 1,
121 'variables': { 115 'variables': {
122 'v8_enable_handle_zapping%': 1, 116 'v8_enable_handle_zapping%': 1,
123 }, 117 },
124 'conditions': [ 118 'conditions': [
125 ['v8_enable_handle_zapping==1', { 119 ['v8_enable_handle_zapping==1', {
126 'defines': ['ENABLE_HANDLE_ZAPPING',], 120 'defines': ['ENABLE_HANDLE_ZAPPING',],
127 }], 121 }],
128 ], 122 ],
129 }, # Debug 123 }, # Debug
130 'Release': { 124 'Release': {
131 'variables': { 125 'variables': {
132 'v8_enable_handle_zapping%': 1, 126 'v8_enable_handle_zapping%': 1,
133 }, 127 },
134 'conditions': [ 128 'conditions': [
135 ['v8_enable_handle_zapping==1', { 129 ['v8_enable_handle_zapping==1', {
136 'defines': ['ENABLE_HANDLE_ZAPPING',], 130 'defines': ['ENABLE_HANDLE_ZAPPING',],
137 }], 131 }],
138 ], # conditions 132 ], # conditions
139 }, # Release 133 }, # Release
140 }, # configurations 134 }, # configurations
141 }, # target_defaults 135 }, # target_defaults
142 } 136 }
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