OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | |
6 # 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 |
7 # 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 |
8 # distribution so we have to build a few of them ourselves. | 7 # distribution so we have to build a few of them ourselves. |
9 # | 8 # |
10 # 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 |
11 # 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 |
12 # 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 |
13 # shim here that includes the android_deps.gypi file. The actual dependencies | 12 # shim here that includes the android_deps.gypi file. The actual dependencies |
14 # are defined and maintained in that gypi file. | 13 # are defined and maintained in that gypi file. |
15 # | 14 # |
(...skipping 17 matching lines...) Expand all Loading... |
33 { | 32 { |
34 'target_name': 'expat', | 33 'target_name': 'expat', |
35 'type': 'none', | 34 'type': 'none', |
36 'direct_dependent_settings': { | 35 'direct_dependent_settings': { |
37 'libraries' : [ | 36 'libraries' : [ |
38 '-lexpat', | 37 '-lexpat', |
39 ], | 38 ], |
40 }, | 39 }, |
41 }, | 40 }, |
42 { | 41 { |
| 42 'target_name': 'gif', |
| 43 'type': 'none', |
| 44 'direct_dependent_settings': { |
| 45 'libraries' : [ |
| 46 'libgif.a', |
| 47 ], |
| 48 'include_dirs': [ |
| 49 'external/giflib', |
| 50 ], |
| 51 }, |
| 52 }, |
| 53 { |
43 'target_name': 'png', | 54 'target_name': 'png', |
44 'type': 'none', | 55 'type': 'none', |
45 'direct_dependent_settings': { | 56 'direct_dependent_settings': { |
46 'libraries' : [ | 57 'libraries' : [ |
47 '-lpng', | 58 '-lpng', |
48 ], | 59 ], |
49 'include_dirs': [ | 60 'include_dirs': [ |
50 'external/libpng', | 61 'external/libpng', |
51 ], | 62 ], |
52 }, | 63 }, |
(...skipping 12 matching lines...) Expand all Loading... |
65 }, | 76 }, |
66 { | 77 { |
67 'target_name': 'cpu_features', | 78 'target_name': 'cpu_features', |
68 'type': 'none', | 79 'type': 'none', |
69 }, | 80 }, |
70 ], | 81 ], |
71 } | 82 } |
72 ], | 83 ], |
73 ], | 84 ], |
74 } | 85 } |
OLD | NEW |