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

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

Issue 1270643005: Fix repeat builds with Android. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Also depend on libs. Created 5 years, 4 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 | « no previous file | 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 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This GYP file stores the dependencies necessary to build Skia on the Android 6 # This GYP file stores the dependencies necessary to build Skia on the Android
7 # platform. The OS doesn't provide many stable libraries as part of the 7 # platform. The OS doesn't provide many stable libraries as part of the
8 # distribution so we have to build a few of them ourselves. 8 # distribution so we have to build a few of them ourselves.
9 # 9 #
10 { 10 {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 'actions': [ 79 'actions': [
80 { 80 {
81 'action_name': 'SampleApp_apk', 81 'action_name': 'SampleApp_apk',
82 'inputs': [ 82 'inputs': [
83 '<(android_base)/apps/sample_app/src/main/AndroidManifest.xml', 83 '<(android_base)/apps/sample_app/src/main/AndroidManifest.xml',
84 '<(android_base)/apps/sample_app/src/main/jni/com_skia_SkiaSampleRen derer.h', 84 '<(android_base)/apps/sample_app/src/main/jni/com_skia_SkiaSampleRen derer.h',
85 '<(android_base)/apps/sample_app/src/main/jni/com_skia_SkiaSampleRen derer.cpp', 85 '<(android_base)/apps/sample_app/src/main/jni/com_skia_SkiaSampleRen derer.cpp',
86 '<(android_base)/apps/sample_app/src/main/java/com/skia/SkiaSampleAc tivity.java', 86 '<(android_base)/apps/sample_app/src/main/java/com/skia/SkiaSampleAc tivity.java',
87 '<(android_base)/apps/sample_app/src/main/java/com/skia/SkiaSampleRe nderer.java', 87 '<(android_base)/apps/sample_app/src/main/java/com/skia/SkiaSampleRe nderer.java',
88 '<(android_base)/apps/sample_app/src/main/java/com/skia/SkiaSampleVi ew.java', 88 '<(android_base)/apps/sample_app/src/main/java/com/skia/SkiaSampleVi ew.java',
89 '<(android_base)/apps/sample_app/src/main/libs/<(android_arch)/libSa mpleApp.so',
90 ],
91 'conditions': [
92 [ 'skia_shared_lib', {
93 'inputs': [
94 '<(android_base)/apps/sample_app/src/main/libs/<(android_arch)/l ibskia_android.so',
95 ],
96 }],
89 ], 97 ],
90 'outputs': [ 98 'outputs': [
91 '<(android_base)/apps/sample_app/build', 99 '<(android_base)/apps/sample_app/build/outputs/apk/sample_app-arm-de bug.apk',
hal.canary 2015/07/31 14:28:57 arch-specific?
92 ], 100 ],
93 'action': [ 101 'action': [
94 '<(android_base)/apps/gradlew', 102 '<(android_base)/apps/gradlew',
95 ':sample_app:assemble<(android_variant)Debug', 103 ':sample_app:assemble<(android_variant)Debug',
96 '-p<(android_base)/apps/sample_app', 104 '-p<(android_base)/apps/sample_app',
97 '-PsuppressNativeBuild', 105 '-PsuppressNativeBuild',
98 ], 106 ],
99 }, 107 },
100 ], 108 ],
101 }, 109 },
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 'type': 'none', 142 'type': 'none',
135 'dependencies': [ 143 'dependencies': [
136 'CopyVisualBenchDeps', 144 'CopyVisualBenchDeps',
137 ], 145 ],
138 'actions': [ 146 'actions': [
139 { 147 {
140 'action_name': 'SkiaVisualBench_apk', 148 'action_name': 'SkiaVisualBench_apk',
141 'inputs': [ 149 'inputs': [
142 '<(android_base)/apps/visualbench/src/main/AndroidManifest.xml', 150 '<(android_base)/apps/visualbench/src/main/AndroidManifest.xml',
143 '<(android_base)/apps/visualbench/src/main/java/com/skia/VisualBench Activity.java', 151 '<(android_base)/apps/visualbench/src/main/java/com/skia/VisualBench Activity.java',
152 '<(android_base)/apps/visualbench/src/main/libs/<(android_arch)/libv isualbench.so',
153 ],
154 'conditions': [
155 [ 'skia_shared_lib', {
156 'inputs': [
157 '<(android_base)/apps/visualbench/src/main/libs/<(android_arch)/ libskia_android.so',
158 ],
159 }],
144 ], 160 ],
145 'outputs': [ 161 'outputs': [
146 '<(android_base)/apps/visualbench/build', 162 '<(android_base)/apps/visualbench/build/outputs/apk/visualbench-arm- debug.apk',
147 ], 163 ],
148 'action': [ 164 'action': [
149 '<(android_base)/apps/gradlew', 165 '<(android_base)/apps/gradlew',
150 ':visualbench:assemble<(android_variant)Debug', 166 ':visualbench:assemble<(android_variant)Debug',
151 '-p<(android_base)/apps/visualbench', 167 '-p<(android_base)/apps/visualbench',
152 '-PsuppressNativeBuild', 168 '-PsuppressNativeBuild',
153 ], 169 ],
154 }, 170 },
155 ], 171 ],
156 }, 172 },
157 ], 173 ],
158 } 174 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698