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

Side by Side Diff: gyp/common_variables.gypi

Issue 930283002: Add SkCodec, including PNG implementation. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Check in prebuilt file directly 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 | « gyp/codec.gyp ('k') | gyp/libpng.gyp » ('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 29 matching lines...) Expand all
122 } 128 }
123 ], 129 ],
124 ], 130 ],
125 131
126 # skia_giflib_static - on OS variants that normally would link giflib 132 # skia_giflib_static - on OS variants that normally would link giflib
127 # 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',
128 # 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
129 # giflib in third_party/externals/giflib. 135 # giflib in third_party/externals/giflib.
130 'skia_giflib_static%': '0', 136 'skia_giflib_static%': '0',
131 137
132 # skia_libpng_static - on OS variants that normally would link libpng
133 # with '-lpng' and include the headers from '/usr/include/png.h',
134 # don't do that; instead compile and staticlly link the version of
135 # libpng in third_party/externals/libpng.
136 'skia_libpng_static%': '0',
137 138
138 # skia_no_fontconfig - On POSIX systems that would normally use the 139 # skia_no_fontconfig - On POSIX systems that would normally use the
139 # SkFontHost_fontconfig interface; use the SkFontHost_linux 140 # SkFontHost_fontconfig interface; use the SkFontHost_linux
140 # version instead. 141 # version instead.
141 'skia_no_fontconfig%': '0', 142 'skia_no_fontconfig%': '0',
142 143
143 'skia_sanitizer%': '', 144 'skia_sanitizer%': '',
144 'skia_scalar%': 'float', 145 'skia_scalar%': 'float',
145 'skia_mesa%': 0, 146 'skia_mesa%': 0,
146 'skia_stroke_path_rendering%': 0, 147 'skia_stroke_path_rendering%': 0,
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 'skia_moz2d%': 0, 241 'skia_moz2d%': 0,
241 '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)")',
242 'skia_egl%': '<(skia_egl)', 243 'skia_egl%': '<(skia_egl)',
243 244
244 # 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)
245 # 246 #
246 'skia_src_path%': '../src', 247 'skia_src_path%': '../src',
247 'skia_include_path%': '../include', 248 'skia_include_path%': '../include',
248 }, 249 },
249 } 250 }
OLDNEW
« no previous file with comments | « gyp/codec.gyp ('k') | gyp/libpng.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698