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

Side by Side Diff: gyp/common_variables.gypi

Issue 152513007: Build Skia for a bare-bones embedded Linux system. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: changes Created 6 years, 10 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
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 'skia_arch_type%': 'arm', 84 'skia_arch_type%': 'arm',
85 'arm_version%': 7, 85 'arm_version%': 7,
86 'arm_neon%': 0, # neon asm files known not to work with the ios build 86 'arm_neon%': 0, # neon asm files known not to work with the ios build
87 },{ # skia_os is not ios 87 },{ # skia_os is not ios
88 'skia_arch_type%': 'x86', 88 'skia_arch_type%': 'x86',
89 'arm_version%': 0, 89 'arm_version%': 0,
90 'arm_neon%': 0, 90 'arm_neon%': 0,
91 }], 91 }],
92 ], 92 ],
93 93
94 # skia_freetype_static - on OS variants that normally would
95 # dynamically link the system FreeType library, don't do that;
96 # instead statically link to the version in third_party/freetype
97 # and third_party/externals/freetype.
98 'skia_freetype_static%': 'skia_os in ["android", "nacl"]',
99
100 # skia_freetype_dynamic - use the system-proviced version of the
101 # FreeType library. If both skia_freetype_dynamic and
102 # skia_freetype_static are true, skia_freetype_static takes
103 # precedence.
104 'skia_freetype_dynamic%':
105 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]',
106
107 # skia_giflib_static - on OS variants that normally would link giflib
108 # with '-lgif' and include the headers from '/usr/include/gif_lib.h',
109 # don't do that; instead compile and staticlly link the version of
110 # giflib in third_party/externals/giflib.
111 'skia_giflib_static%': '0',
112
113 # skia_libpng_static - on OS variants that normally would link libpng
114 # with '-lpng' and include the headers from '/usr/include/png.h',
115 # don't do that; instead compile and staticlly link the version of
116 # libpng in third_party/externals/libpng.
117 'skia_libpng_static%': '0',
118
119 # skia_zlib_static - on OS variants that normally would link zlib with
120 # '-lz' or libz.dylib and include the headers from '<zlib.h>',
121 # don't do that; instead compile and staticlly link the version of
122 # zlib in third_party/externals/zlib.
123 'skia_zlib_static%': '0',
124
125 # skia_no_fontconfig - On POSIX systems that would normally use the
126 # SkFontHost_fontconfig interface; use the SkFontHost_linux
127 # version instead.
128 'skia_no_fontconfig%': '0',
129
94 'skia_sanitizer%': '', 130 'skia_sanitizer%': '',
95 'skia_scalar%': 'float', 131 'skia_scalar%': 'float',
96 'skia_mesa%': 0, 132 'skia_mesa%': 0,
97 'skia_stroke_path_rendering%': 0, 133 'skia_stroke_path_rendering%': 0,
98 'skia_android_path_rendering%': 0, 134 'skia_android_path_rendering%': 0,
99 'skia_resource_cache_mb_limit%': 0, 135 'skia_resource_cache_mb_limit%': 0,
100 'skia_resource_cache_count_limit%': 0, 136 'skia_resource_cache_count_limit%': 0,
101 'skia_angle%': 0, 137 'skia_angle%': 0,
102 'skia_chrome_utils%': 1, 138 'skia_chrome_utils%': 1,
103 'skia_directwrite%': 0, 139 'skia_directwrite%': 0,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 }], 179 }],
144 ], 180 ],
145 181
146 # Re-define all variables defined within the level-2 'variables' dict, 182 # Re-define all variables defined within the level-2 'variables' dict,
147 # so that siblings of the level-1 'variables' dict can see them. 183 # so that siblings of the level-1 'variables' dict can see them.
148 'arm_version%': '<(arm_version)', 184 'arm_version%': '<(arm_version)',
149 'arm_neon%': '<(arm_neon)', 185 'arm_neon%': '<(arm_neon)',
150 'arm_neon_optional%': 0, 186 'arm_neon_optional%': 0,
151 'skia_os%': '<(skia_os)', 187 'skia_os%': '<(skia_os)',
152 'os_posix%': '<(os_posix)', 188 'os_posix%': '<(os_posix)',
189
190 'skia_freetype_static%': '<(skia_freetype_static)',
191 'skia_freetype_dynamic%': '<(skia_freetype_dynamic)',
192 'skia_giflib_static%': '<(skia_giflib_static)',
193 'skia_libpng_static%': '<(skia_libpng_static)',
194 'skia_zlib_static%': '<(skia_zlib_static)',
195 'skia_no_fontconfig%': '<(skia_no_fontconfig)',
153 'skia_sanitizer%': '<(skia_sanitizer)', 196 'skia_sanitizer%': '<(skia_sanitizer)',
154 'skia_scalar%': '<(skia_scalar)', 197 'skia_scalar%': '<(skia_scalar)',
155 'skia_mesa%': '<(skia_mesa)', 198 'skia_mesa%': '<(skia_mesa)',
156 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)', 199 'skia_stroke_path_rendering%': '<(skia_stroke_path_rendering)',
157 'skia_android_framework%': '<(skia_android_framework)', 200 'skia_android_framework%': '<(skia_android_framework)',
158 'skia_android_path_rendering%': '<(skia_android_path_rendering)', 201 'skia_android_path_rendering%': '<(skia_android_path_rendering)',
159 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)', 202 'skia_resource_cache_mb_limit%': '<(skia_resource_cache_mb_limit)',
160 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)', 203 'skia_resource_cache_count_limit%': '<(skia_resource_cache_count_limit)',
161 'skia_angle%': '<(skia_angle)', 204 'skia_angle%': '<(skia_angle)',
162 'skia_poppler_enabled%': '<(skia_poppler_enabled)', 205 'skia_poppler_enabled%': '<(skia_poppler_enabled)',
(...skipping 12 matching lines...) Expand all
175 'ios_sdk_version%': '6.0', 218 'ios_sdk_version%': '6.0',
176 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)', 219 'skia_win_debuggers_path%': '<(skia_win_debuggers_path)',
177 'skia_run_pdfviewer_in_gm%': 0, 220 'skia_run_pdfviewer_in_gm%': 0,
178 221
179 # These are referenced by our .gypi files that list files (e.g. core.gypi) 222 # These are referenced by our .gypi files that list files (e.g. core.gypi)
180 # 223 #
181 'skia_src_path%': '../src', 224 'skia_src_path%': '../src',
182 'skia_include_path%': '../include', 225 'skia_include_path%': '../include',
183 }, 226 },
184 } 227 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698