2015-06-12 19:51:44 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
# This GYP file stores the dependencies necessary to build Skia on the Android
|
|
|
|
# platform. The OS doesn't provide many stable libraries as part of the
|
|
|
|
# distribution so we have to build a few of them ourselves.
|
2015-02-12 18:48:25 +00:00
|
|
|
#
|
2013-04-29 12:09:31 +00:00
|
|
|
{
|
2015-06-12 19:51:44 +00:00
|
|
|
'variables': {
|
|
|
|
'conditions': [
|
|
|
|
[ 'skia_arch_type == "arm" and arm_version != 7', {
|
|
|
|
'android_arch%': "armeabi",
|
2015-07-24 20:15:58 +00:00
|
|
|
'android_variant%': "arm",
|
2015-06-12 19:51:44 +00:00
|
|
|
}],
|
|
|
|
[ 'skia_arch_type == "arm" and arm_version == 7', {
|
|
|
|
'android_arch%': "armeabi-v7a",
|
2015-07-24 20:15:58 +00:00
|
|
|
'android_variant%': "arm",
|
2015-06-12 19:51:44 +00:00
|
|
|
}],
|
|
|
|
[ 'skia_arch_type == "arm64"', {
|
|
|
|
'android_arch%': "arm64-v8a",
|
2015-07-24 20:15:58 +00:00
|
|
|
'android_variant%': "arm64",
|
2015-06-12 19:51:44 +00:00
|
|
|
}],
|
|
|
|
[ 'skia_arch_type == "x86"', {
|
|
|
|
'android_arch%': "x86",
|
2015-07-24 20:15:58 +00:00
|
|
|
'android_variant%': "x86",
|
2015-06-12 19:51:44 +00:00
|
|
|
}],
|
|
|
|
[ 'skia_arch_type == "x86_64"', {
|
|
|
|
'android_arch%': "x86_64",
|
2015-07-24 20:15:58 +00:00
|
|
|
'android_variant%': "x86_64",
|
2015-06-12 19:51:44 +00:00
|
|
|
}],
|
2015-07-27 13:10:36 +00:00
|
|
|
[ 'skia_arch_type == "mips32"', {
|
2015-06-12 19:51:44 +00:00
|
|
|
'android_arch%': "mips",
|
2015-07-24 20:15:58 +00:00
|
|
|
'android_variant%': "mips",
|
2015-06-12 19:51:44 +00:00
|
|
|
}],
|
2015-07-27 13:10:36 +00:00
|
|
|
[ 'skia_arch_type == "mips64"', {
|
2015-06-12 19:51:44 +00:00
|
|
|
'android_arch%': "mips64",
|
2015-07-24 20:15:58 +00:00
|
|
|
'android_variant%': "mips64",
|
2015-06-12 19:51:44 +00:00
|
|
|
}],
|
2016-04-27 15:48:56 +00:00
|
|
|
[ 'android_buildtype == "Debug"', {
|
2015-07-31 17:25:17 +00:00
|
|
|
'android_apk_suffix': "debug.apk",
|
2016-04-27 15:48:56 +00:00
|
|
|
}, {
|
|
|
|
# This also accounts for Release_Developer BUILDTYPE
|
|
|
|
'android_buildtype': "Release",
|
|
|
|
'android_apk_suffix': "release.apk",
|
2015-07-31 17:25:17 +00:00
|
|
|
}],
|
2015-06-12 19:51:44 +00:00
|
|
|
],
|
|
|
|
},
|
2016-04-21 14:59:44 +00:00
|
|
|
'includes' : [
|
|
|
|
'canvasproof.gypi',
|
2016-05-04 20:49:13 +00:00
|
|
|
'viewer.gypi',
|
2016-04-21 14:59:44 +00:00
|
|
|
],
|
2013-04-29 12:09:31 +00:00
|
|
|
}
|