blob: fda2dbe683485d7570857cc925a02c79d849f8fb [file] [log] [blame]
scroggo3e562272015-03-25 10:22:41 -07001# Copyright 2015 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
djsollen@google.com58629292011-11-03 13:08:29 +00005# This GYP file stores the dependencies necessary to build Skia on the Android
6# platform. The OS doesn't provide many stable libraries as part of the
rmistry@google.comd6176b02012-08-23 18:14:13 +00007# distribution so we have to build a few of them ourselves.
djsollen@google.com58629292011-11-03 13:08:29 +00008#
rmistry@google.comd6176b02012-08-23 18:14:13 +00009# We tried adding this gyp file to the android directory at the root of
djsollen@google.com58629292011-11-03 13:08:29 +000010# the Skia repo, but that resulted in the generated makefiles being created
djsollen@google.comfad45102011-11-04 13:00:18 +000011# outside of the intended output directory. So to avoid this we created a simple
12# shim here that includes the android_system.gypi file. The actual dependencies
rmistry@google.comd6176b02012-08-23 18:14:13 +000013# are defined and maintained in that gypi file.
14#
djsollen@google.comfad45102011-11-04 13:00:18 +000015# Also this assumes that the android directory is a sibling to the directory
16# that contains your primary Skia checkout. If it is not then you must manually
17# edit the includes below to specify the actual location of the android.gypi.
18# This is due to the fact that we cannot use variables in an includes as the
rmistry@google.comd6176b02012-08-23 18:14:13 +000019# variable expansion step for gyp happens after the includes are processed.
djsollen@google.com58629292011-11-03 13:08:29 +000020{
djsollen@google.com58629292011-11-03 13:08:29 +000021 'includes': [
djsollen@google.com4b321012013-05-02 12:27:21 +000022 '../platform_tools/android/gyp/skia_android.gypi',
djsollen@google.com58629292011-11-03 13:08:29 +000023 ],
epoger@google.comaa3b6a92012-03-16 13:52:49 +000024}