scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 1 | # 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.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 5 | # 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.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 7 | # distribution so we have to build a few of them ourselves. |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 8 | # |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 9 | # We tried adding this gyp file to the android directory at the root of |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 10 | # the Skia repo, but that resulted in the generated makefiles being created |
djsollen@google.com | fad4510 | 2011-11-04 13:00:18 +0000 | [diff] [blame] | 11 | # 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.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 13 | # are defined and maintained in that gypi file. |
| 14 | # |
djsollen@google.com | fad4510 | 2011-11-04 13:00:18 +0000 | [diff] [blame] | 15 | # 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.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 19 | # variable expansion step for gyp happens after the includes are processed. |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 20 | { |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 21 | 'includes': [ |
djsollen@google.com | 4b32101 | 2013-05-02 12:27:21 +0000 | [diff] [blame] | 22 | '../platform_tools/android/gyp/skia_android.gypi', |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 23 | ], |
epoger@google.com | aa3b6a9 | 2012-03-16 13:52:49 +0000 | [diff] [blame] | 24 | } |