1 # This GYP file stores the dependencies necessary to build Skia on the Chrome OS 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. 4 5 { 6 'variables': { 7 'skia_warnings_as_errors': 0, 8 }, 9 'targets': [ 10 { 11 'target_name': 'gif', 12 'type': 'static_library', 13 'sources': [ 14 '../third_party/externals/gif/dgif_lib.c', 15 '../third_party/externals/gif/gifalloc.c', 16 '../third_party/externals/gif/gif_err.c', 17 ], 18 'include_dirs': [ 19 '../third_party/externals/gif', 20 ], 21 'cflags': [ 22 '-Wno-format', 23 '-DHAVE_CONFIG_H', 24 ], 25 'cflags!': [ 26 '-Wall', 27 ], 28 'direct_dependent_settings': { 29 'include_dirs': [ 30 '../third_party/externals/gif', 31 ], 32 } 33 }, 34 ] 35 } 36