OLD | NEW |
| 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. |
1 # This GYP file stores the dependencies necessary to build Skia on the Android | 5 # 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 | 6 # platform. The OS doesn't provide many stable libraries as part of the |
3 # distribution so we have to build a few of them ourselves. | 7 # distribution so we have to build a few of them ourselves. |
4 # | 8 # |
5 # We tried adding this gyp file to the android directory at the root of | 9 # We tried adding this gyp file to the android directory at the root of |
6 # the Skia repo, but that resulted in the generated makefiles being created | 10 # the Skia repo, but that resulted in the generated makefiles being created |
7 # outside of the intended output directory. So to avoid this we created a simple | 11 # 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 | 12 # shim here that includes the android_system.gypi file. The actual dependencies |
9 # are defined and maintained in that gypi file. | 13 # are defined and maintained in that gypi file. |
10 # | 14 # |
11 # Also this assumes that the android directory is a sibling to the directory | 15 # 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 | 16 # 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. | 17 # 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 | 18 # This is due to the fact that we cannot use variables in an includes as the |
15 # variable expansion step for gyp happens after the includes are processed. | 19 # variable expansion step for gyp happens after the includes are processed. |
16 { | 20 { |
17 'includes': [ | 21 'includes': [ |
18 '../platform_tools/android/gyp/skia_android.gypi', | 22 '../platform_tools/android/gyp/skia_android.gypi', |
19 ], | 23 ], |
20 } | 24 } |
OLD | NEW |