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

Side by Side Diff: mojo/public/tools/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 unified diff | Download patch
« no previous file with comments | « mojo/public/mojo.gni ('k') | mojo/public/tools/download_dart_snapshotter.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/module_args/mojo.gni") 5 import("//build/module_args/mojo.gni")
6 import("../mojo.gni") 6 import("../mojo.gni")
7 7
8 if (mojo_use_prebuilt_mojo_shell) { 8 if (mojo_use_prebuilt_mojo_shell) {
9 copy("copy_mojo_shell") { 9 copy("copy_mojo_shell") {
10 filename = "mojo_shell" 10 filename = "mojo_shell"
(...skipping 10 matching lines...) Expand all
21 sources = [ 21 sources = [
22 "prebuilt/shell/linux-x64/$filename", 22 "prebuilt/shell/linux-x64/$filename",
23 ] 23 ]
24 outputs = [ 24 outputs = [
25 "$root_out_dir/$filename", 25 "$root_out_dir/$filename",
26 ] 26 ]
27 } 27 }
28 } 28 }
29 } 29 }
30 30
31 if (mojo_use_prebuilt_dart_snapshotter) {
32 copy("copy_dart_snapshotter") {
33 if (host_os == "linux") {
34 platform = "linux-x64"
35 } else if (host_os == "mac") {
36 platform = "mac-x64"
37 } else {
38 assert(false, "$host_os not supported")
39 }
40 sources = [
41 "prebuilt/dart_snapshotter/$platform/dart_snapshotter",
42 ]
43 outputs = [
44 "$root_out_dir/dart_snapshotter",
45 ]
46 }
47 }
48
31 if (mojo_use_prebuilt_network_service) { 49 if (mojo_use_prebuilt_network_service) {
32 copy("copy_network_service") { 50 copy("copy_network_service") {
33 filename = "network_service.mojo" 51 filename = "network_service.mojo"
34 if (defined(mojo_prebuilt_network_service_location) && 52 if (defined(mojo_prebuilt_network_service_location) &&
35 mojo_prebuilt_network_service_location != "") { 53 mojo_prebuilt_network_service_location != "") {
36 sources = [ 54 sources = [
37 "$mojo_prebuilt_network_service_location", 55 "$mojo_prebuilt_network_service_location",
38 ] 56 ]
39 } else { 57 } else {
40 if (is_android) { 58 if (is_android) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 if (mojo_use_dart_apptest_framework) { 109 if (mojo_use_dart_apptest_framework) {
92 copy("dart_apptest_framework") { 110 copy("dart_apptest_framework") {
93 sources = [ 111 sources = [
94 "prebuilt/frameworks/apptest.dartzip", 112 "prebuilt/frameworks/apptest.dartzip",
95 ] 113 ]
96 outputs = [ 114 outputs = [
97 "$target_out_dir/dart_apptest_framework.dartzip", 115 "$target_out_dir/dart_apptest_framework.dartzip",
98 ] 116 ]
99 } 117 }
100 } 118 }
OLDNEW
« no previous file with comments | « mojo/public/mojo.gni ('k') | mojo/public/tools/download_dart_snapshotter.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698