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

Side by Side Diff: mojo/public/tools/BUILD.gn

Issue 1034603002: Prefix build variables used in separate repos with mojo_ (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 (use_prebuilt_mojo_shell) { 8 if (use_prebuilt_mojo_shell) {
9 copy("copy_mojo_shell") { 9 copy("copy_mojo_shell") {
10 filename = "mojo_shell" 10 filename = "mojo_shell"
(...skipping 13 matching lines...) Expand all
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 (use_prebuilt_network_service) { 31 if (use_prebuilt_network_service) {
32 copy("copy_network_service") { 32 copy("copy_network_service") {
33 filename = "network_service.mojo" 33 filename = "network_service.mojo"
34 if (defined(prebuilt_network_service_location) && 34 if (defined(mojo_prebuilt_network_service_location) &&
35 prebuilt_network_service_location != "") { 35 mojo_prebuilt_network_service_location != "") {
36 sources = [ 36 sources = [
37 "$prebuilt_network_service_location", 37 "$mojo_prebuilt_network_service_location",
38 ] 38 ]
39 } else { 39 } else {
40 if (is_android) { 40 if (is_android) {
41 assert(cpu_arch == "arm", 41 assert(cpu_arch == "arm",
42 "Only arm version prebuilt netowrk_service.mojo is available.") 42 "Only arm version prebuilt netowrk_service.mojo is available.")
43 sources = [ 43 sources = [
44 "prebuilt/network_service/android-arm/$filename", 44 "prebuilt/network_service/android-arm/$filename",
45 ] 45 ]
46 } else { 46 } else {
47 assert(is_linux) 47 assert(is_linux)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 if (use_dart_apptest_framework) { 81 if (use_dart_apptest_framework) {
82 copy("dart_apptest_framework") { 82 copy("dart_apptest_framework") {
83 sources = [ 83 sources = [
84 "prebuilt/frameworks/apptest.dartzip", 84 "prebuilt/frameworks/apptest.dartzip",
85 ] 85 ]
86 outputs = [ 86 outputs = [
87 "$target_out_dir/dart_apptest_framework.dartzip", 87 "$target_out_dir/dart_apptest_framework.dartzip",
88 ] 88 ]
89 } 89 }
90 } 90 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698