OLD | NEW |
---|---|
1 # This GYP file stores the dependencies necessary to build Skia on the Android | 1 # This GYP file stores the dependencies necessary to build Skia on the Android |
djsollen
2014/02/04 14:18:43
remove this comment and put the copyright header h
scroggo
2014/02/04 14:37:15
Done.
| |
2 # platform. The OS doesn't provide many stable libraries as part of the | 2 # 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. | 3 # distribution so we have to build a few of them ourselves. |
4 # | 4 # |
5 # We tried adding this gyp file to the android directory at the root of | 5 # 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 | 6 # 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 | 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 | 8 # shim here that includes the android_system.gypi file. The actual dependencies |
9 # are defined and maintained in that gypi file. | 9 # are defined and maintained in that gypi file. |
10 # | 10 # |
11 # Also this assumes that the android directory is a sibling to the directory | 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 | 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. | 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 | 14 # 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. | 15 # variable expansion step for gyp happens after the includes are processed. |
16 # | |
16 { | 17 { |
17 'includes': [ | 18 'targets': [ |
18 '../platform_tools/android/gyp/skia_android.gypi', | 19 { |
20 'target_name': 'libskia', | |
21 'type': 'shared_library', | |
22 'dependencies': [ | |
23 'core.gyp:core', | |
24 'effects.gyp:effects', | |
25 'images.gyp:images', | |
26 'opts.gyp:opts', | |
27 'pdf.gyp:pdf', | |
28 'ports.gyp:ports', | |
29 ], | |
30 }, | |
19 ], | 31 ], |
20 } | 32 } |
OLD | NEW |