2015-03-25 17:22:41 +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.
|
2011-11-03 13:08:29 +00:00
|
|
|
# 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
|
2012-08-23 18:14:13 +00:00
|
|
|
# distribution so we have to build a few of them ourselves.
|
2011-11-03 13:08:29 +00:00
|
|
|
#
|
2012-08-23 18:14:13 +00:00
|
|
|
# We tried adding this gyp file to the android directory at the root of
|
2011-11-03 13:08:29 +00:00
|
|
|
# the Skia repo, but that resulted in the generated makefiles being created
|
2011-11-04 13:00:18 +00:00
|
|
|
# outside of the intended output directory. So to avoid this we created a simple
|
|
|
|
# shim here that includes the android_system.gypi file. The actual dependencies
|
2012-08-23 18:14:13 +00:00
|
|
|
# are defined and maintained in that gypi file.
|
|
|
|
#
|
2011-11-04 13:00:18 +00:00
|
|
|
# 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
|
2012-08-23 18:14:13 +00:00
|
|
|
# variable expansion step for gyp happens after the includes are processed.
|
2011-11-03 13:08:29 +00:00
|
|
|
{
|
|
|
|
'includes': [
|
2013-05-02 12:27:21 +00:00
|
|
|
'../platform_tools/android/gyp/skia_android.gypi',
|
2011-11-03 13:08:29 +00:00
|
|
|
],
|
2012-03-16 13:52:49 +00:00
|
|
|
}
|