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

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

Issue 1049993002: Get mojo_shell building inside chromium checkout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit Created 5 years, 8 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 | « third_party/mojo/src/mojo/public/mojo_application.gni ('k') | no next file » | 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) {
9 copy("copy_mojo_shell") {
10 filename = "mojo_shell"
11 if (is_android) {
12 filename = "MojoShell.apk"
13 sources = [
14 "prebuilt/shell/android-arm/$filename",
15 ]
16 outputs = [
17 "$root_out_dir/apks/$filename",
18 ]
19 } else {
20 assert(is_linux)
21 sources = [
22 "prebuilt/shell/linux-x64/$filename",
23 ]
24 outputs = [
25 "$root_out_dir/$filename",
26 ]
27 }
28 }
29 }
30
31 if (mojo_use_prebuilt_network_service) { 8 if (mojo_use_prebuilt_network_service) {
32 copy("copy_network_service") { 9 copy("copy_network_service") {
33 filename = "network_service.mojo" 10 filename = "network_service.mojo"
34 if (defined(mojo_prebuilt_network_service_location) && 11 if (defined(mojo_prebuilt_network_service_location) &&
35 mojo_prebuilt_network_service_location != "") { 12 mojo_prebuilt_network_service_location != "") {
36 sources = [ 13 sources = [
37 "$mojo_prebuilt_network_service_location", 14 "$mojo_prebuilt_network_service_location",
38 ] 15 ]
39 } else { 16 } else {
40 if (is_android) { 17 if (is_android) {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 if (mojo_use_dart_apptest_framework) { 58 if (mojo_use_dart_apptest_framework) {
82 copy("dart_apptest_framework") { 59 copy("dart_apptest_framework") {
83 sources = [ 60 sources = [
84 "prebuilt/frameworks/apptest.dartzip", 61 "prebuilt/frameworks/apptest.dartzip",
85 ] 62 ]
86 outputs = [ 63 outputs = [
87 "$target_out_dir/dart_apptest_framework.dartzip", 64 "$target_out_dir/dart_apptest_framework.dartzip",
88 ] 65 ]
89 } 66 }
90 } 67 }
OLDNEW
« no previous file with comments | « third_party/mojo/src/mojo/public/mojo_application.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698