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

Unified Diff: mojo/dart/dart_snapshotter/BUILD.gn

Issue 1300463002: Upload/Download dart_snapshotter (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 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
Index: mojo/dart/dart_snapshotter/BUILD.gn
diff --git a/mojo/dart/dart_snapshotter/BUILD.gn b/mojo/dart/dart_snapshotter/BUILD.gn
index 4174569a113ea5100e039147111b8fba00463af1..fe012032a1f0d22cf0dd3a6a4a6acbbb9c09b521 100644
--- a/mojo/dart/dart_snapshotter/BUILD.gn
+++ b/mojo/dart/dart_snapshotter/BUILD.gn
@@ -2,26 +2,30 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-executable("dart_snapshotter") {
- sources = [
- "main.cc",
- "vm.cc",
- "vm.h",
- ]
+import("//mojo/public/mojo.gni")
- deps = [
- "//base",
- "//build/config/sanitizers:deps",
- "//dart/runtime/vm:libdart_platform",
- "//dart/runtime:libdart",
- "//mojo/common",
- "//mojo/dart/embedder:dart_snapshot_cc",
- "//mojo/edk/system",
- "//mojo/environment:chromium",
- "//mojo/public/cpp/system",
- "//mojo/public/cpp/utility",
- "//mojo/public/interfaces/application",
- "//third_party/zlib",
- "//tonic",
- ]
+if (!mojo_use_prebuilt_dart_snapshotter) {
+ executable("dart_snapshotter") {
+ sources = [
+ "main.cc",
+ "vm.cc",
+ "vm.h",
+ ]
+
+ deps = [
+ "//base",
+ "//build/config/sanitizers:deps",
+ "//dart/runtime/vm:libdart_platform",
+ "//dart/runtime:libdart",
+ "//mojo/common",
+ "//mojo/dart/embedder:dart_snapshot_cc",
+ "//mojo/edk/system",
+ "//mojo/environment:chromium",
+ "//mojo/public/cpp/system",
+ "//mojo/public/cpp/utility",
+ "//mojo/public/interfaces/application",
+ "//third_party/zlib",
+ "//tonic",
+ ]
+ }
}
« no previous file with comments | « mojo/dart/BUILD.gn ('k') | mojo/public/dart/rules.gni » ('j') | mojo/public/tools/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698