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

Side by Side Diff: build/common.gypi

Issue 5292007: Integrates libjpeg-turbo into Chromium (Chromium side)... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 | « build/all.gyp ('k') | chrome/chrome.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) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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': { 9 'variables': {
10 # .gyp files or targets should set chromium_code to 1 if they build 10 # .gyp files or targets should set chromium_code to 1 if they build
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 # The system root for cross-compiles. Default: none. 134 # The system root for cross-compiles. Default: none.
135 'sysroot%': '', 135 'sysroot%': '',
136 136
137 # On Linux, we build with sse2 for Chromium builds. 137 # On Linux, we build with sse2 for Chromium builds.
138 'disable_sse2%': 0, 138 'disable_sse2%': 0,
139 139
140 # Remoting compilation is enabled by default. Set to 0 to disable. 140 # Remoting compilation is enabled by default. Set to 0 to disable.
141 'remoting%': 1, 141 'remoting%': 1,
142 142
143 # Use libjpeg-turbo as the JPEG codec used by Chromium.
144 'use_libjpeg_turbo%': 0,
145
143 'library%': '<(library)', 146 'library%': '<(library)',
144 147
145 # Variable 'component' is for cases where we would like to build some 148 # Variable 'component' is for cases where we would like to build some
146 # components as dynamic shared libraries but still need variable 149 # components as dynamic shared libraries but still need variable
147 # 'library' for static libraries. 150 # 'library' for static libraries.
148 # By default, component is set to whatever library is set to and 151 # By default, component is set to whatever library is set to and
149 # it can be overriden by the GYP command line or by ~/.gyp/include.gypi. 152 # it can be overriden by the GYP command line or by ~/.gyp/include.gypi.
150 'component%': '<(library)', 153 'component%': '<(library)',
151 }, 154 },
152 155
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 # This flag is used to minimize dependencies when building 396 # This flag is used to minimize dependencies when building
394 # Native Client loader for 64-bit Windows. 397 # Native Client loader for 64-bit Windows.
395 'NACL_WIN64', 398 'NACL_WIN64',
396 ], 399 ],
397 }], 400 }],
398 ['OS=="mac" or (OS=="linux" and chromeos==0 and target_arch!="arm")', { 401 ['OS=="mac" or (OS=="linux" and chromeos==0 and target_arch!="arm")', {
399 'use_cups%': 1, 402 'use_cups%': 1,
400 }, { 403 }, {
401 'use_cups%': 0, 404 'use_cups%': 0,
402 }], 405 }],
406 # Set the relative path from this file to the GYP file of the JPEG
407 # library used by Chromium.
408 ['use_libjpeg_turbo==1', {
409 'libjpeg_gyp_path': '../third_party/libjpeg_turbo/libjpeg.gyp',
410 }, {
411 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp',
412 }], # use_libjpeg_turbo==1
403 ], 413 ],
404 414
405 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_' 415 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_'
406 # so Cocoa is happy (http://crbug.com/20441). 416 # so Cocoa is happy (http://crbug.com/20441).
407 'locales': [ 417 'locales': [
408 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 418 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB',
409 'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he', 419 'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he',
410 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv', 420 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv',
411 'ml', 'mr', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 421 'ml', 'mr', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru',
412 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', 422 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk',
(...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after
1455 # and therefore SYMROOT, needs to be set at the project level. 1465 # and therefore SYMROOT, needs to be set at the project level.
1456 'SYMROOT': '<(DEPTH)/xcodebuild', 1466 'SYMROOT': '<(DEPTH)/xcodebuild',
1457 }, 1467 },
1458 } 1468 }
1459 1469
1460 # Local Variables: 1470 # Local Variables:
1461 # tab-width:2 1471 # tab-width:2
1462 # indent-tabs-mode:nil 1472 # indent-tabs-mode:nil
1463 # End: 1473 # End:
1464 # vim: set expandtab tabstop=2 shiftwidth=2: 1474 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698