OLD | NEW |
1 # Copyright 2014 Google Inc. | 1 # Copyright 2014 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 | 5 |
6 { | 6 { |
7 'variables': { | 7 'variables': { |
8 'skia_warnings_as_errors': 0, | 8 'skia_warnings_as_errors': 0, |
9 }, | 9 }, |
10 'targets': [ | 10 'targets': [ |
(...skipping 14 matching lines...) Expand all Loading... |
25 ], | 25 ], |
26 'direct_dependent_settings': { | 26 'direct_dependent_settings': { |
27 'include_dirs': [ | 27 'include_dirs': [ |
28 '../third_party/externals/libpng', | 28 '../third_party/externals/libpng', |
29 ], | 29 ], |
30 }, | 30 }, |
31 'cflags': [ | 31 'cflags': [ |
32 '-w', | 32 '-w', |
33 '-fvisibility=hidden', | 33 '-fvisibility=hidden', |
34 ], | 34 ], |
| 35 'actions': [ |
| 36 { |
| 37 'action_name': 'generate_pngconf', |
| 38 'variables' : { |
| 39 'prebuilt': '../third_party/externals/libpng/scripts/pnglibcon
f.h.prebuilt', |
| 40 'generated': '../third_party/externals/libpng/pnglibconf.h', |
| 41 }, |
| 42 'inputs': [ |
| 43 '<(prebuilt)', |
| 44 ], |
| 45 'outputs': [ |
| 46 '<(generated)', |
| 47 ], |
| 48 'action': ['cp', '<(prebuilt)', '<(generated)'], |
| 49 }, |
| 50 ], |
35 'sources': [ | 51 'sources': [ |
36 '../third_party/externals/libpng/png.c', | 52 '../third_party/externals/libpng/png.c', |
37 '../third_party/externals/libpng/pngerror.c', | 53 '../third_party/externals/libpng/pngerror.c', |
38 '../third_party/externals/libpng/pnggccrd.c', | |
39 '../third_party/externals/libpng/pngget.c', | 54 '../third_party/externals/libpng/pngget.c', |
40 '../third_party/externals/libpng/pngmem.c', | 55 '../third_party/externals/libpng/pngmem.c', |
41 '../third_party/externals/libpng/pngpread.c', | 56 '../third_party/externals/libpng/pngpread.c', |
42 '../third_party/externals/libpng/pngread.c', | 57 '../third_party/externals/libpng/pngread.c', |
43 '../third_party/externals/libpng/pngrio.c', | 58 '../third_party/externals/libpng/pngrio.c', |
44 '../third_party/externals/libpng/pngrtran.c', | 59 '../third_party/externals/libpng/pngrtran.c', |
45 '../third_party/externals/libpng/pngrutil.c', | 60 '../third_party/externals/libpng/pngrutil.c', |
46 '../third_party/externals/libpng/pngset.c', | 61 '../third_party/externals/libpng/pngset.c', |
47 '../third_party/externals/libpng/pngtrans.c', | 62 '../third_party/externals/libpng/pngtrans.c', |
48 '../third_party/externals/libpng/pngvcrd.c', | |
49 '../third_party/externals/libpng/pngwio.c', | 63 '../third_party/externals/libpng/pngwio.c', |
50 '../third_party/externals/libpng/pngwrite.c', | 64 '../third_party/externals/libpng/pngwrite.c', |
51 '../third_party/externals/libpng/pngwtran.c', | 65 '../third_party/externals/libpng/pngwtran.c', |
52 '../third_party/externals/libpng/pngwutil.c', | 66 '../third_party/externals/libpng/pngwutil.c', |
53 ], | 67 ], |
54 }, { # not skia_libpng_static | 68 }, { # not skia_libpng_static |
55 'type': 'none', | 69 'type': 'none', |
56 'conditions': [ | 70 'conditions': [ |
57 [ 'skia_os == "android"', | 71 [ 'skia_os == "android"', |
58 { | 72 { |
(...skipping 20 matching lines...) Expand all Loading... |
79 }, | 93 }, |
80 } | 94 } |
81 ] | 95 ] |
82 ] | 96 ] |
83 } | 97 } |
84 ] | 98 ] |
85 ], | 99 ], |
86 }, | 100 }, |
87 ] | 101 ] |
88 } | 102 } |
OLD | NEW |