djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 1 | # This GYP file stores the dependencies necessary to build Skia on the Android |
| 2 | # 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] | 3 | # distribution so we have to build a few of them ourselves. |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 4 | # |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 5 | # 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] | 6 | # 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] | 7 | # outside of the intended output directory. So to avoid this we created a simple |
| 8 | # 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] | 9 | # are defined and maintained in that gypi file. |
| 10 | # |
djsollen@google.com | fad4510 | 2011-11-04 13:00:18 +0000 | [diff] [blame] | 11 | # Also this assumes that the android directory is a sibling to the directory |
| 12 | # that contains your primary Skia checkout. If it is not then you must manually |
| 13 | # edit the includes below to specify the actual location of the android.gypi. |
| 14 | # 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] | 15 | # variable expansion step for gyp happens after the includes are processed. |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 16 | { |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 17 | 'includes': [ |
djsollen@google.com | 4d3f3cd | 2012-12-13 18:27:44 +0000 | [diff] [blame] | 18 | '../../android/gyp/skia_android.gypi', |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 19 | ], |
epoger@google.com | aa3b6a9 | 2012-03-16 13:52:49 +0000 | [diff] [blame] | 20 | } |