Chromium Code Reviews| 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 |
| 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 # NOTE: We tried adding the gyp file to the android/ directory at the root of | 5 # NOTE: We tried adding the 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 out directory. We may be able to move the bulk of this gyp | 7 # outside of the out directory. We may be able to move the bulk of this gyp |
| 8 # to the /android directory and put a simple shim here, but that has yet to be | 8 # to the /android directory and put a simple shim here, but that has yet to be |
| 9 # tested. | 9 # tested. |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 37 '../third_party/externals/expat/lib/xmlrole.c', | 37 '../third_party/externals/expat/lib/xmlrole.c', |
| 38 '../third_party/externals/expat/lib/xmltok.c', | 38 '../third_party/externals/expat/lib/xmltok.c', |
| 39 ], | 39 ], |
| 40 'include_dirs': [ | 40 'include_dirs': [ |
| 41 '../third_party/externals/expat', | 41 '../third_party/externals/expat', |
| 42 '../third_party/externals/expat/lib', | 42 '../third_party/externals/expat/lib', |
| 43 ], | 43 ], |
| 44 'cflags': [ | 44 'cflags': [ |
| 45 '-w', | 45 '-w', |
| 46 '-fexceptions', | 46 '-fexceptions', |
| 47 '-DHAVE_EXPAT_CONFIG_H', | 47 ], |
| 48 'defines': [ | |
| 49 'HAVE_EXPAT_CONFIG_H', | |
|
scroggo
2015/02/10 13:59:41
IIRC, the difference here is that defines will get
scroggo
2015/02/10 15:11:26
Discussed this in person:
I was referring to the A
bungeman-skia
2015/02/10 15:34:11
So the idea was to just have all the defines in 'd
| |
| 48 ], | 50 ], |
| 49 'direct_dependent_settings': { | 51 'direct_dependent_settings': { |
| 50 'include_dirs': [ | 52 'include_dirs': [ |
| 51 '../third_party/externals/expat/lib', # For expat.h | 53 '../third_party/externals/expat/lib', # For expat.h |
| 52 ], | 54 ], |
| 53 } | 55 } |
| 54 }, | 56 }, |
| 55 { | 57 { |
| 56 'target_name': 'gif', | 58 'target_name': 'gif', |
| 57 'type': 'static_library', | 59 'type': 'static_library', |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 233 }], | 235 }], |
| 234 ], | 236 ], |
| 235 'sources': [ | 237 'sources': [ |
| 236 '../app/jni/com_skia_SkiaSampleRenderer.cpp', | 238 '../app/jni/com_skia_SkiaSampleRenderer.cpp', |
| 237 ], | 239 ], |
| 238 }, | 240 }, |
| 239 | 241 |
| 240 }, | 242 }, |
| 241 ] | 243 ] |
| 242 } | 244 } |
| OLD | NEW |