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

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
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 {
36 assert(host_os == "mac")
37 platform = "mac-x64"
38 }
39 sources = [
40 "prebuilt/dart_snapshotter/$platform/dart_snapshotter",
41 ]
42 outputs = [
43 "$root_out_dir/dart_snapshotter",
44 ]
45 }
46 }
47
31 if (mojo_use_prebuilt_network_service) { 48 if (mojo_use_prebuilt_network_service) {
32 copy("copy_network_service") { 49 copy("copy_network_service") {
33 filename = "network_service.mojo" 50 filename = "network_service.mojo"
34 if (defined(mojo_prebuilt_network_service_location) && 51 if (defined(mojo_prebuilt_network_service_location) &&
35 mojo_prebuilt_network_service_location != "") { 52 mojo_prebuilt_network_service_location != "") {
36 sources = [ 53 sources = [
37 "$mojo_prebuilt_network_service_location", 54 "$mojo_prebuilt_network_service_location",
38 ] 55 ]
39 } else { 56 } else {
40 if (is_android) { 57 if (is_android) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 if (mojo_use_dart_apptest_framework) { 108 if (mojo_use_dart_apptest_framework) {
92 copy("dart_apptest_framework") { 109 copy("dart_apptest_framework") {
93 sources = [ 110 sources = [
94 "prebuilt/frameworks/apptest.dartzip", 111 "prebuilt/frameworks/apptest.dartzip",
95 ] 112 ]
96 outputs = [ 113 outputs = [
97 "$target_out_dir/dart_apptest_framework.dartzip", 114 "$target_out_dir/dart_apptest_framework.dartzip",
98 ] 115 ]
99 } 116 }
100 } 117 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698