Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2014 Google Inc. | |
| 2 # | |
| 3 # Use of this source code is governed by a BSD-style license that can be | |
| 4 # found in the LICENSE file. | |
| 5 | |
| 6 { | |
| 7 'conditions': [ | |
|
djsollen
2014/02/06 16:24:34
I'm not a big fan of defining each target 2x. Why
hal.canary
2014/02/06 18:01:57
Done.
| |
| 8 ['skia_giflib_static', { | |
| 9 'variables': { | |
| 10 'skia_warnings_as_errors': 0, | |
| 11 }, | |
| 12 'targets': [ | |
| 13 { | |
| 14 'target_name': 'giflib', | |
| 15 'type': 'static_library', | |
| 16 'defines': [ | |
| 17 'HAVE_CONFIG_H', | |
| 18 ], | |
| 19 'include_dirs': [ | |
| 20 '../third_party/externals/giflib', | |
| 21 ], | |
| 22 'dependencies': [ | |
| 23 ], | |
| 24 'direct_dependent_settings': { | |
| 25 'include_dirs': [ | |
| 26 '../third_party/externals/giflib', | |
| 27 ], | |
| 28 }, | |
| 29 'export_dependent_settings': [ | |
| 30 ], | |
| 31 'cflags': [ | |
| 32 '-w', | |
| 33 ], | |
| 34 'link_settings': { | |
| 35 'libraries': [ | |
|
scroggo
2014/02/06 16:22:13
If this is correctly empty, it can be removed.
hal.canary
2014/02/06 18:01:57
Done.
| |
| 36 ], | |
| 37 }, | |
| 38 'sources': [ | |
| 39 '../third_party/externals/giflib/dgif_lib.c', | |
| 40 '../third_party/externals/giflib/gifalloc.c', | |
| 41 '../third_party/externals/giflib/gif_err.c', | |
| 42 ], | |
| 43 }, | |
| 44 ], | |
| 45 }, { | |
|
scroggo
2014/02/06 16:22:13
I assume this is if 'skia_giflib_static' is false?
hal.canary
2014/02/06 18:01:57
Done.
scroggo
2014/02/06 18:14:50
This seems to still be missing
| |
| 46 'targets': [ | |
| 47 { | |
| 48 'target_name': 'giflib', | |
| 49 'type': 'none', | |
| 50 'direct_dependent_settings': { | |
| 51 'link_settings': { | |
| 52 'libraries': [ | |
| 53 '-lgif', | |
| 54 ], | |
| 55 } | |
| 56 } | |
| 57 } | |
| 58 ] | |
| 59 }] | |
| 60 ] | |
| 61 } | |
| 62 | |
| OLD | NEW |