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

Side by Side Diff: platform_tools/android/gyp/viewer.gypi

Issue 1945103003: Rename VulkanViewer to Viewer, take 2. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix android path Created 4 years, 7 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
(Empty)
1 # Copyright 2015 Google Inc.
2 #
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5 {
6 'targets': [
7 {
8 'target_name': 'CopyViewerDeps',
9 'type': 'none',
10 'dependencies': [
11 'skia_lib.gyp:skia_lib',
12 'viewer.gyp:viewer',
13 ],
14 'copies': [
15 {
16 'destination': '<(android_base)/apps/viewer/src/main/libs/<(android_ar ch)',
17 'conditions': [
18 [ 'skia_shared_lib', {
19 'files': [
20 '<(SHARED_LIB_DIR)/libskia_android.so',
21 '<(SHARED_LIB_DIR)/libviewer.so',
22 ]}, {
23 'files': [
24 '<(SHARED_LIB_DIR)/libviewer.so',
25 ]}
26 ],
27 ],
28 },
29 ],
30 },
31 {
32 'target_name': 'Viewer_APK',
33 'type': 'none',
34 'dependencies': [ 'CopyViewerDeps', ],
35 'actions': [
36 {
37 'action_name': 'SkiaViewer_apk',
38 'inputs': [
39 '<(android_base)/apps/viewer/src/main/AndroidManifest.xml',
40 '<(android_base)/apps/viewer/src/main/java/org/skia/viewer/ViewerAct ivity.java',
41 '<(android_base)/apps/viewer/src/main/libs/<(android_arch)/libviewer .so',
42
43 ],
44 'conditions': [
45 [ 'skia_shared_lib', {
46 'inputs': [
47 '<(android_base)/apps/viewer/src/main/libs/<(android_arch)/libsk ia_android.so',
48 ],
49 }],
50 ],
51 'outputs': [
52 '../apps/viewer/build/outputs/apk/',
53 ],
54 'action': [
55 '<(android_base)/apps/gradlew',
56 ':viewer:assemble<(android_variant)<(android_buildtype)',
57 '-p<(android_base)/apps/viewer',
58 '-PsuppressNativeBuild',
59 '--daemon',
60 ],
61 },
62 ],
63 },
64 ],
65 }
OLDNEW
« no previous file with comments | « platform_tools/android/gyp/skia_android.gypi ('k') | platform_tools/android/gyp/vulkanviewer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698