OLD | NEW |
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 20 matching lines...) Expand all Loading... |
31 'android_variant%': "x86_64", | 31 'android_variant%': "x86_64", |
32 }], | 32 }], |
33 [ 'skia_arch_type == "mips32"', { | 33 [ 'skia_arch_type == "mips32"', { |
34 'android_arch%': "mips", | 34 'android_arch%': "mips", |
35 'android_variant%': "mips", | 35 'android_variant%': "mips", |
36 }], | 36 }], |
37 [ 'skia_arch_type == "mips64"', { | 37 [ 'skia_arch_type == "mips64"', { |
38 'android_arch%': "mips64", | 38 'android_arch%': "mips64", |
39 'android_variant%': "mips64", | 39 'android_variant%': "mips64", |
40 }], | 40 }], |
41 [ 'android_buildtype == "Release"', { | 41 [ 'android_buildtype == "Debug"', { |
| 42 'android_apk_suffix': "debug.apk", |
| 43 }, { |
| 44 # This also accounts for Release_Developer BUILDTYPE |
| 45 'android_buildtype': "Release", |
42 'android_apk_suffix': "release.apk", | 46 'android_apk_suffix': "release.apk", |
43 }, { | |
44 'android_apk_suffix': "debug.apk", | |
45 }], | 47 }], |
46 ], | 48 ], |
47 }, | 49 }, |
48 'includes' : [ | 50 'includes' : [ |
49 'canvasproof.gypi', | 51 'canvasproof.gypi', |
50 'vulkanviewer.gypi', | 52 'vulkanviewer.gypi', |
51 ], | 53 ], |
52 'targets': [ | 54 'targets': [ |
53 { | 55 { |
54 'target_name': 'CopySampleAppDeps', | 56 'target_name': 'CopySampleAppDeps', |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 '<(android_base)/apps/gradlew', | 276 '<(android_base)/apps/gradlew', |
275 ':visualbenchsdl:assemble<(android_variant)<(android_buildtype)', | 277 ':visualbenchsdl:assemble<(android_variant)<(android_buildtype)', |
276 '-p<(android_base)/apps/visualbenchsdl', | 278 '-p<(android_base)/apps/visualbenchsdl', |
277 '-PsuppressNativeBuild', | 279 '-PsuppressNativeBuild', |
278 ], | 280 ], |
279 }, | 281 }, |
280 ], | 282 ], |
281 }, | 283 }, |
282 ], | 284 ], |
283 } | 285 } |
OLD | NEW |