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

Side by Side Diff: build/common.gypi

Issue 10696082: Clean up gyp settings for libjpeg (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove android settings Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | third_party/iccjpeg/iccjpeg.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 (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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 # The system libdir used for this ABI. 177 # The system libdir used for this ABI.
178 'system_libdir%': 'lib', 178 'system_libdir%': 'lib',
179 179
180 # On Linux, we build with sse2 for Chromium builds. 180 # On Linux, we build with sse2 for Chromium builds.
181 'disable_sse2%': 0, 181 'disable_sse2%': 0,
182 182
183 # Use libjpeg-turbo as the JPEG codec used by Chromium. 183 # Use libjpeg-turbo as the JPEG codec used by Chromium.
184 'use_libjpeg_turbo%': 1, 184 'use_libjpeg_turbo%': 1,
185 185
186 # Use system libjpeg. Note that the system's libjepg will be used even if
187 # use_libjpeg_turbo is set.
188 'use_system_libjpeg%': 0,
189
186 # Variable 'component' is for cases where we would like to build some 190 # Variable 'component' is for cases where we would like to build some
187 # components as dynamic shared libraries but still need variable 191 # components as dynamic shared libraries but still need variable
188 # 'library' for static libraries. 192 # 'library' for static libraries.
189 # By default, component is set to whatever library is set to and 193 # By default, component is set to whatever library is set to and
190 # it can be overriden by the GYP command line or by ~/.gyp/include.gypi. 194 # it can be overriden by the GYP command line or by ~/.gyp/include.gypi.
191 'component%': 'static_library', 195 'component%': 'static_library',
192 196
193 # Set to select the Title Case versions of strings in GRD files. 197 # Set to select the Title Case versions of strings in GRD files.
194 'use_titlecase_in_grd_files%': 0, 198 'use_titlecase_in_grd_files%': 0,
195 199
(...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after
1051 1055
1052 # Native Client glibc toolchain is enabled by default except on arm. 1056 # Native Client glibc toolchain is enabled by default except on arm.
1053 ['target_arch=="arm"', { 1057 ['target_arch=="arm"', {
1054 'disable_glibc%': 1, 1058 'disable_glibc%': 1,
1055 }, { 1059 }, {
1056 'disable_glibc%': 0, 1060 'disable_glibc%': 0,
1057 }], 1061 }],
1058 1062
1059 # Set the relative path from this file to the GYP file of the JPEG 1063 # Set the relative path from this file to the GYP file of the JPEG
1060 # library used by Chromium. 1064 # library used by Chromium.
1061 ['use_libjpeg_turbo==1', { 1065 ['use_system_libjpeg==1 or use_libjpeg_turbo==0', {
1066 # Configuration for using the system libjeg is here.
1067 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp',
1068 }, {
1062 'libjpeg_gyp_path': '../third_party/libjpeg_turbo/libjpeg.gyp', 1069 'libjpeg_gyp_path': '../third_party/libjpeg_turbo/libjpeg.gyp',
1063 }, { 1070 }],
1064 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp',
1065 }], # use_libjpeg_turbo==1
1066 1071
1067 # Options controlling the use of GConf (the classic GNOME configuration 1072 # Options controlling the use of GConf (the classic GNOME configuration
1068 # system) and GIO, which contains GSettings (the new GNOME config system). 1073 # system) and GIO, which contains GSettings (the new GNOME config system).
1069 ['chromeos==1', { 1074 ['chromeos==1', {
1070 'use_gconf%': 0, 1075 'use_gconf%': 0,
1071 'use_gio%': 0, 1076 'use_gio%': 0,
1072 }, { 1077 }, {
1073 'use_gconf%': 1, 1078 'use_gconf%': 1,
1074 'use_gio%': 1, 1079 'use_gio%': 1,
1075 }], 1080 }],
(...skipping 2214 matching lines...) Expand 10 before | Expand all | Expand 10 after
3290 # settings in target dicts. SYMROOT is a special case, because many other 3295 # settings in target dicts. SYMROOT is a special case, because many other
3291 # Xcode variables depend on it, including variables such as 3296 # Xcode variables depend on it, including variables such as
3292 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3297 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3293 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3298 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3294 # files to appear (when present) in the UI as actual files and not red 3299 # files to appear (when present) in the UI as actual files and not red
3295 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3300 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3296 # and therefore SYMROOT, needs to be set at the project level. 3301 # and therefore SYMROOT, needs to be set at the project level.
3297 'SYMROOT': '<(DEPTH)/xcodebuild', 3302 'SYMROOT': '<(DEPTH)/xcodebuild',
3298 }, 3303 },
3299 } 3304 }
OLDNEW
« no previous file with comments | « no previous file | third_party/iccjpeg/iccjpeg.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698