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

Side by Side Diff: sky/shell/BUILD.gn

Issue 893643002: Add a standalone SkyShell.apk for testing (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address reviewer comments 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
« no previous file with comments | « sky/BUILD.gn ('k') | sky/shell/apk/AndroidManifest.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 assert(is_android)
6
7 import("//build/config/android/config.gni")
8 import("//build/config/android/rules.gni")
9
10 group("shell") {
11 deps = [
12 ":sky_shell_apk",
13 ]
14 }
15
16 generate_jni("jni_headers") {
17 sources = [
18 "apk/src/org/domokit/sky/shell/SkyMain.java",
19 ]
20 jni_package = "sky/shell"
21 }
22
23 shared_library("sky_shell") {
24 sources = [
25 "library_loader.cc",
26 "sky_main.cc",
27 "sky_main.h",
28 ]
29
30 deps = [
31 "//base",
32 "//build/config/sanitizers:deps",
33 "//ui/gl",
34 ":jni_headers",
35 ]
36 }
37
38 android_library("java") {
39 java_files = [
40 "apk/src/org/domokit/sky/shell/SkyMain.java",
41 "apk/src/org/domokit/sky/shell/SkyShellActivity.java",
42 "apk/src/org/domokit/sky/shell/SkyShellApplication.java",
43 ]
44
45 deps = [
46 "//base:base_java",
47 ]
48 }
49
50 android_resources("resources") {
51 resource_dirs = [ "apk/res" ]
52 custom_package = "org.domokit.sky.shell"
53 }
54
55 android_apk("sky_shell_apk") {
56 apk_name = "SkyShell"
57
58 android_manifest = "apk/AndroidManifest.xml"
59 native_libs = [ "libsky_shell.so" ]
60
61 asset_location = "apk/res"
62
63 deps = [
64 ":sky_shell",
65 ":java",
66 ":resources",
67 "//base:base_java",
68 ]
69 }
OLDNEW
« no previous file with comments | « sky/BUILD.gn ('k') | sky/shell/apk/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698