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

Unified Diff: BUILD.gn

Issue 2889863002: Allow embedder to set promise internal field count (Closed)
Patch Set: Allow internal field count to be externally configured Created 3 years, 7 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 | gypfiles/features.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 14c7a696e651f583b47d88d243b45a337735270d..6ca4cb53074a3224a5b9c35bdeeab9855ac93175 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -45,6 +45,9 @@ declare_args() {
# Sets -dENABLE_DISASSEMBLER.
v8_enable_disassembler = ""
+ # Sets the number of internal fields on promise objects.
+ v8_promise_internal_field_count = ""
jochen (gone - plz use gerrit) 2017/05/23 11:19:49 that should be a number, no?
mattloring 2017/05/23 16:54:42 Done.
+
# Sets -dENABLE_GDB_JIT_INTERFACE.
v8_enable_gdbjit = ""
@@ -206,6 +209,9 @@ config("features") {
if (v8_enable_disassembler) {
defines += [ "ENABLE_DISASSEMBLER" ]
}
+ if (v8_promise_internal_field_count) {
+ defines += [ "V8_PROMISE_INTERNAL_FIELD_COUNT" ]
jochen (gone - plz use gerrit) 2017/05/23 11:19:49 and that should be V8_PROMISE_INTERNAL_FIELD_COUNT
mattloring 2017/05/23 16:54:43 Done.
+ }
if (v8_enable_future) {
defines += [ "V8_ENABLE_FUTURE" ]
}
« no previous file with comments | « no previous file | gypfiles/features.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698