Exclude Vm/IsolateSnapshotData in AOT modes on both Android and iOS (flutter/engine#3592)

Fixes https://github.com/flutter/flutter/issues/9339
This commit is contained in:
Jason Simmons
2017-04-13 15:14:25 -07:00
committed by GitHub
parent cb02ed2518
commit 712b870cfb

View File

@@ -103,10 +103,10 @@ source_set("runtime") {
deps += [ "//lib/tonic/debugger" ]
}
# On iOS (device), precompiled snapshots contain the instruction buffer.
# In AOT mode, precompiled snapshots contain the instruction buffer.
# Generation of the same requires all application specific script code to be
# specified up front. In such cases, there can be no generic snapshot.
if (!is_ios || use_ios_simulator) {
if (!flutter_aot) {
deps += [ "//flutter/lib/snapshot" ]
}
}