c85a9fde77
Reason for revert: A few build failures on Chrome OS/Android. Original issue's description: > Add RAW decoding into Skia. > > TBR=reed@google.com > > BUG=skia: > > (Based on the work from ebrauer in https://codereview.chromium.org/1459473007) > (Based on the work from adaubert in https://codereview.chromium.org/1494003003) > GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1520403003 > > Committed: https://skia.googlesource.com/skia/+/6bd8639f8c142eedf543f4e5f3b02d2bf11df308 TBR=scroggo@google.com,adaubert@google.com,yujieqin@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1635443002
75 lines
2.3 KiB
Python
75 lines
2.3 KiB
Python
# 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.
|
|
#
|
|
# We tried adding this gyp file to the android directory at the root of
|
|
# the Skia repo, but that resulted in the generated makefiles being created
|
|
# outside of the intended output directory. So to avoid this we created a simple
|
|
# shim here that includes the android_deps.gypi file. The actual dependencies
|
|
# are defined and maintained in that gypi file.
|
|
#
|
|
# Also this assumes that the android directory is a sibling to the directory
|
|
# that contains your primary Skia checkout. If it is not then you must manually
|
|
# edit the includes below to specify the actual location of the android.gypi.
|
|
# This is due to the fact that we cannot use variables in an includes as the
|
|
# variable expansion step for gyp happens after the includes are processed.
|
|
{
|
|
'conditions': [
|
|
[ 'skia_android_framework == 0',
|
|
{
|
|
'includes': [
|
|
'../platform_tools/android/gyp/dependencies.gypi',
|
|
],
|
|
}, { # else skia_android_framework
|
|
'cflags': [
|
|
'-Wno-error'
|
|
],
|
|
'targets': [
|
|
{
|
|
'target_name': 'expat',
|
|
'type': 'none',
|
|
'direct_dependent_settings': {
|
|
'libraries' : [
|
|
'-lexpat',
|
|
],
|
|
},
|
|
},
|
|
{
|
|
'target_name': 'png',
|
|
'type': 'none',
|
|
'direct_dependent_settings': {
|
|
'libraries' : [
|
|
'-lpng',
|
|
],
|
|
'include_dirs': [
|
|
'external/libpng',
|
|
],
|
|
},
|
|
},
|
|
{
|
|
'target_name': 'libjpeg-turbo',
|
|
'type': 'none',
|
|
'direct_dependent_settings': {
|
|
'libraries' : [
|
|
'-ljpeg',
|
|
],
|
|
'include_dirs': [
|
|
'external/libjpeg-turbo',
|
|
],
|
|
},
|
|
},
|
|
{
|
|
'target_name': 'cpu_features',
|
|
'type': 'none',
|
|
},
|
|
],
|
|
}
|
|
],
|
|
],
|
|
}
|