Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Side by Side Diff: third_party/libpng/libpng.gyp

Issue 1627533002: [Chromecast] Depend on Chromium's freetype-android (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Add clarification of using freetype-android Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« content/shell/BUILD.gn ('K') | « third_party/libpng/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« content/shell/BUILD.gn ('K') | « third_party/libpng/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698