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

Side by Side Diff: gyp/common_variables.gypi

Issue 973823002: Check in pnglibconf.h so we don't need to generate it. (Closed) Base URL: https://skia.googlesource.com/skia.git@pngCodecFinalIHope_2
Patch Set: Created 5 years, 9 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
« no previous file with comments | « DEPS ('k') | gyp/copy_file.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 The Android Open Source Project 1 # Copyright 2012 The Android Open Source Project
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 # Get ready for the ugly... 7 # Get ready for the ugly...
8 # 8 #
9 # - We have to nest our variables dictionaries multiple levels deep, so that 9 # - We have to nest our variables dictionaries multiple levels deep, so that
10 # this and other gyp files can rely on previously-set variable values in 10 # this and other gyp files can rely on previously-set variable values in
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 'skia_arch_type%': '<(skia_arch_type)', 69 'skia_arch_type%': '<(skia_arch_type)',
70 'arm_version%': '<(arm_version)', 70 'arm_version%': '<(arm_version)',
71 'arm_neon%': '<(arm_neon)', 71 'arm_neon%': '<(arm_neon)',
72 'skia_egl%': '<(skia_egl)', 72 'skia_egl%': '<(skia_egl)',
73 73
74 'conditions': [ 74 'conditions': [
75 [ 'skia_android_framework == 1', { 75 [ 'skia_android_framework == 1', {
76 'skia_os%': 'android', 76 'skia_os%': 'android',
77 'skia_chrome_utils%': 0, 77 'skia_chrome_utils%': 0,
78 'skia_use_system_json%': 1, 78 'skia_use_system_json%': 1,
79 # skia_libpng_static - instead of linking libpng with '-lpng' and
80 # including the headers from '/usr/include/png.h', compile and
81 # statically link the version of libpng in
82 # third_party/externals/libpng.
83 'skia_libpng_static%': '0',
79 }, { 84 }, {
80 'skia_os%': '<(skia_os)', 85 'skia_os%': '<(skia_os)',
81 'skia_chrome_utils%': 1, 86 'skia_chrome_utils%': 1,
82 'skia_use_system_json%': 0, 87 'skia_use_system_json%': 0,
88 'skia_libpng_static%': '1',
83 }], 89 }],
84 [ 'skia_os == "win"', { 90 [ 'skia_os == "win"', {
85 'os_posix%': 0, 91 'os_posix%': 0,
86 }, { 92 }, {
87 'os_posix%': 1, 93 'os_posix%': 1,
88 }], 94 }],
89 [ 'skia_os in ["linux"]', { 95 [ 'skia_os in ["linux"]', {
90 'skia_poppler_enabled%': 1, 96 'skia_poppler_enabled%': 1,
91 }, { 97 }, {
92 'skia_poppler_enabled%': 0, 98 'skia_poppler_enabled%': 0,
(...skipping 21 matching lines...) Expand all
114 # skia_freetype_static - on OS variants that normally would 120 # skia_freetype_static - on OS variants that normally would
115 # dynamically link the system FreeType library, don't do 121 # dynamically link the system FreeType library, don't do
116 # that; instead statically link to the version in 122 # that; instead statically link to the version in
117 # third_party/freetype and third_party/externals/freetype. 123 # third_party/freetype and third_party/externals/freetype.
118 { 124 {
119 'skia_freetype_static%': '1', 125 'skia_freetype_static%': '1',
120 }, { 126 }, {
121 'skia_freetype_static%': '0', 127 'skia_freetype_static%': '0',
122 } 128 }
123 ], 129 ],
124 [ 'skia_os in ["mac", "ios", "win"]', {
125 # skia_libpng_static - instead of linking libpng with '-lpng' and
126 # including the headers from '/usr/include/png.h', compile and
127 # statically link the version of libpng in
128 # third_party/externals/libpng.
129 'skia_libpng_static%': '1',
130 }, {
131 'skia_libpng_static%': '0',
132 }
133 ],
134 ], 130 ],
135 131
136 # skia_giflib_static - on OS variants that normally would link giflib 132 # skia_giflib_static - on OS variants that normally would link giflib
137 # with '-lgif' and include the headers from '/usr/include/gif_lib.h', 133 # with '-lgif' and include the headers from '/usr/include/gif_lib.h',
138 # don't do that; instead compile and staticlly link the version of 134 # don't do that; instead compile and staticlly link the version of
139 # giflib in third_party/externals/giflib. 135 # giflib in third_party/externals/giflib.
140 'skia_giflib_static%': '0', 136 'skia_giflib_static%': '0',
141 137
142 138
143 # skia_no_fontconfig - On POSIX systems that would normally use the 139 # skia_no_fontconfig - On POSIX systems that would normally use the
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 'skia_moz2d%': 0, 241 'skia_moz2d%': 0,
246 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD LESS\', 0)")', 242 'skia_is_bot%': '<!(python -c "import os; print os.environ.get(\'CHROME_HEAD LESS\', 0)")',
247 'skia_egl%': '<(skia_egl)', 243 'skia_egl%': '<(skia_egl)',
248 244
249 # These are referenced by our .gypi files that list files (e.g. core.gypi) 245 # These are referenced by our .gypi files that list files (e.g. core.gypi)
250 # 246 #
251 'skia_src_path%': '../src', 247 'skia_src_path%': '../src',
252 'skia_include_path%': '../include', 248 'skia_include_path%': '../include',
253 }, 249 },
254 } 250 }
OLDNEW
« no previous file with comments | « DEPS ('k') | gyp/copy_file.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698