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

Unified Diff: runtime/BUILD.gn

Issue 1673423004: Fix the snapshotter to generate valid precompilation snapshots (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address CL feedback Created 4 years, 10 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 | runtime/bin/gen_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/BUILD.gn
diff --git a/runtime/BUILD.gn b/runtime/BUILD.gn
index 94de1130c21dc24f9e378607bc4ee0cec294435f..6932f9326b82a24d548d327609896a910a580d22 100644
--- a/runtime/BUILD.gn
+++ b/runtime/BUILD.gn
@@ -50,6 +50,10 @@ config("dart_config") {
defines += ["NDEBUG"]
}
+ if (is_ios || is_mac) {
+ defines += ["DART_PRECOMPILER"]
+ }
+
cflags = [
"-Werror",
"-Wall",
« no previous file with comments | « no previous file | runtime/bin/gen_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698