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 { |
11 'variables': { | 11 'variables': { |
12 'conditions': [ | 12 'conditions': [ |
13 [ 'skia_arch_type == "arm" and arm_version != 7', { | 13 [ 'skia_arch_type == "arm" and arm_version != 7', { |
14 'android_arch%': "armeabi", | 14 'android_arch%': "armeabi", |
15 }], | 15 }], |
16 [ 'skia_arch_type == "arm" and arm_version == 7', { | 16 [ 'skia_arch_type == "arm" and arm_version == 7', { |
17 'android_arch%': "armeabi-v7a", | 17 'android_arch%': "armeabi-v7a", |
18 }], | 18 }], |
19 [ 'skia_arch_type == "arm64"', { | 19 [ 'skia_arch_type == "arm64"', { |
20 'android_arch%': "arm64-v8a", | 20 'android_arch%': "arm64-v8a", |
21 }], | 21 }], |
22 [ 'skia_arch_type == "x86"', { | 22 [ 'skia_arch_type == "x86"', { |
23 'android_arch%': "x86", | 23 'android_arch%': "x86", |
24 }], | 24 }], |
25 [ 'skia_arch_type == "x86_64"', { | 25 [ 'skia_arch_type == "x86_64"', { |
26 'android_arch%': "x86_64", | 26 'android_arch%': "x86_64", |
27 }], | 27 }], |
28 [ 'skia_arch_type == "mips" and skia_arch_width == 32', { | 28 [ 'skia_arch_type == "mips32"', { |
29 'android_arch%': "mips", | 29 'android_arch%': "mips", |
30 }], | 30 }], |
31 [ 'skia_arch_type == "mips" and skia_arch_width == 64', { | 31 [ 'skia_arch_type == "mips64"', { |
32 'android_arch%': "mips64", | 32 'android_arch%': "mips64", |
33 }], | 33 }], |
34 ], | 34 ], |
35 }, | 35 }, |
36 'targets': [ | 36 'targets': [ |
37 { | 37 { |
38 'target_name': 'CopySampleAppDeps', | 38 'target_name': 'CopySampleAppDeps', |
39 'type': 'none', | 39 'type': 'none', |
40 'dependencies': [ | 40 'dependencies': [ |
41 'skia_lib.gyp:skia_lib', | 41 'skia_lib.gyp:skia_lib', |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 '-Dnative.libs.absolute.dir=<(ANDROID_OUT)/libs', | 172 '-Dnative.libs.absolute.dir=<(ANDROID_OUT)/libs', |
173 '-Dout.final.file=<(ANDROID_OUT)/bin/VisualBench.apk', | 173 '-Dout.final.file=<(ANDROID_OUT)/bin/VisualBench.apk', |
174 '-Dsdk.dir=<(ANDROID_SDK_ROOT)', | 174 '-Dsdk.dir=<(ANDROID_SDK_ROOT)', |
175 'debug', | 175 'debug', |
176 ], | 176 ], |
177 }, | 177 }, |
178 ], | 178 ], |
179 }, | 179 }, |
180 ], | 180 ], |
181 } | 181 } |
OLD | NEW |