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

Unified Diff: build/features.gypi

Issue 1367953002: Allow JavaScript accessors on API objects. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: review feedback Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/v8.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/features.gypi
diff --git a/build/features.gypi b/build/features.gypi
index 86b351105eed92e1f42b18e12184c1d9eeb5e27f..f7bf57d684971b2299b3b3eaf7738d74c8fe4bba 100644
--- a/build/features.gypi
+++ b/build/features.gypi
@@ -67,6 +67,9 @@
# Set to 1 to enable building with wasm prototype.
'v8_wasm%': 0,
+
+ # Enable/disable JavaScript API accessors.
+ 'v8_js_accessors%': 0,
},
'target_defaults': {
'conditions': [
@@ -109,6 +112,9 @@
['v8_wasm!=0', {
'defines': ['V8_WASM',],
}],
+ ['v8_js_accessors!=0', {
+ 'defines': ['V8_JS_ACCESSORS'],
+ }],
], # conditions
'configurations': {
'DebugBaseCommon': {
« no previous file with comments | « no previous file | include/v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698