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

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

Issue 892903003: Download and copy shell binary on Android as well as Linux. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Response to review Created 5 years, 10 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("../mojo.gni") 5 import("../mojo.gni")
6 6
7 if (use_prebuilt_mojo_shell) { 7 if (use_prebuilt_mojo_shell) {
8 copy("copy_mojo_shell") { 8 copy("copy_mojo_shell") {
9 filename = "mojo_shell" 9 filename = "mojo_shell"
10 if (is_win) { 10 if (is_win) {
11 filename += ".exe" 11 filename += ".exe"
12 } 12 }
13 if (is_android) {
14 filename = "MojoShell.apk"
15 }
13 sources = [ 16 sources = [
14 "prebuilt/$filename", 17 "prebuilt/$filename",
15 ] 18 ]
16 outputs = [ 19 if (is_android) {
17 "$root_out_dir/$filename", 20 outputs = [
18 ] 21 "$root_out_dir/apks/$filename",
22 ]
23 } else {
24 outputs = [
25 "$root_out_dir/$filename",
26 ]
27 }
19 } 28 }
20 } 29 }
OLDNEW
« no previous file with comments | « no previous file | mojo/public/tools/download_shell_binary.py » ('j') | mojo/public/tools/download_shell_binary.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698