OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'libpng', | 8 'target_name': 'libpng', |
9 'dependencies': [ | 9 'dependencies': [ |
10 '../zlib/zlib.gyp:zlib', | 10 '../zlib/zlib.gyp:zlib', |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 'defines': [ | 66 'defines': [ |
67 'PNG_BUILD_DLL', | 67 'PNG_BUILD_DLL', |
68 'PNG_NO_MODULEDEF', | 68 'PNG_NO_MODULEDEF', |
69 ], | 69 ], |
70 'direct_dependent_settings': { | 70 'direct_dependent_settings': { |
71 'defines': [ | 71 'defines': [ |
72 'PNG_USE_DLL', | 72 'PNG_USE_DLL', |
73 ], | 73 ], |
74 }, | 74 }, |
75 }], | 75 }], |
76 ['OS=="android"', { | 76 ['OS=="android" or chromecast==1', { |
77 'toolsets': ['target', 'host'], | 77 'conditions': [ |
| 78 ['OS=="android"', { |
| 79 'toolsets': ['target', 'host'], |
| 80 }], |
| 81 ], |
78 'defines': [ | 82 'defines': [ |
79 'CHROME_PNG_READ_PACK_SUPPORT', # Required by freetype. | 83 'CHROME_PNG_READ_PACK_SUPPORT', # Required by freetype. |
80 ], | 84 ], |
81 'direct_dependent_settings': { | 85 'direct_dependent_settings': { |
82 'defines': [ | 86 'defines': [ |
83 'CHROME_PNG_READ_PACK_SUPPORT', | 87 'CHROME_PNG_READ_PACK_SUPPORT', |
84 ], | 88 ], |
85 }, | 89 }, |
86 }], | 90 }], |
87 ], | 91 ], |
88 }, | 92 }, |
89 ] | 93 ] |
90 } | 94 } |
OLD | NEW |