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

Unified Diff: sky/engine/config.gni

Issue 875103002: Add a build-time flag for enabling Dart in Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/config.gni
diff --git a/sky/engine/config.gni b/sky/engine/config.gni
index a01fa99700c417ef3d01acd632eab13eb00acea4..95759233c7ad5cff50f15026aee24f350c2b26db 100644
--- a/sky/engine/config.gni
+++ b/sky/engine/config.gni
@@ -6,10 +6,8 @@ import("//build/config/ui.gni")
if (is_android) {
import("//build/config/android/config.gni")
-} else {
- # TODO(brettw) remove this once && early-out is checked in.
- is_android_webview_build = false
}
+
if (cpu_arch == "arm") {
import("//build/config/arm.gni")
} else {
@@ -18,17 +16,11 @@ if (cpu_arch == "arm") {
}
declare_args() {
- # Enables the Oilpan garbage-collection infrastructure.
- sky_enable_oilpan = false
-
- # Set to true to enable the clang plugin that checks the usage of the Blink
- # garbage-collection infrastructure during compilation.
- sky_gc_plugin = false
- sky_gc_plugin_dump_graph = false
-
+ # Enable asserts, even in release builds.
sky_asserts_always_on = false
- sky_enable_compostior = false
+ # Experimental support for the Dart VM.
+ sky_use_dart = false
}
# feature_defines_list ---------------------------------------------------------
@@ -46,14 +38,12 @@ if (!is_mac) {
feature_defines_list += [ "ENABLE_OPENTYPE_VERTICAL=1" ]
}
-if (sky_enable_oilpan) {
- feature_defines_list += [ "ENABLE_OILPAN=1" ]
-}
if (sky_asserts_always_on) {
feature_defines_list += [ "ENABLE_ASSERT=1" ]
}
-if (sky_enable_compostior) {
- feature_defines_list += [ "ENABLE_COMPOSITOR=1" ]
+
+if (sky_use_dart) {
+ feature_defines_list += [ "WTF_USE_DART=1" ]
}
# feature_defines_string -------------------------------------------------------
« no previous file with comments | « sky/engine/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698