| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index 7c3074be09facf41cc8c54de22d68318c69db168..34c99a3247e0f8ae3693100283e5e5cd2a98d677 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -912,8 +912,6 @@
|
| ['chromeos==1', {
|
| 'enable_basic_printing%': 0,
|
| 'enable_print_preview%': 1,
|
| - # When building for ChromeOS we dont want Chromium to use libjpeg_turbo.
|
| - 'use_libjpeg_turbo%': 0,
|
| }],
|
|
|
| # Do not enable the Settings App on ChromeOS.
|
| @@ -1502,6 +1500,11 @@
|
| # Experiment: http://crbug.com/426914
|
| 'envoy%': 0,
|
|
|
| + # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path
|
| + # for robust login screen decoding.
|
| + 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp',
|
| + 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp',
|
| +
|
| 'conditions': [
|
| ['buildtype=="Official"', {
|
| # Continue to embed build meta data in Official builds, basically the
|
| @@ -1985,9 +1988,9 @@
|
| # library used by Chromium.
|
| ['use_system_libjpeg==1 or use_libjpeg_turbo==0', {
|
| # Configuration for using the system libjeg is here.
|
| - 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp',
|
| + 'libjpeg_gyp_path': '<(libjpeg_ijg_gyp_path)',
|
| }, {
|
| - 'libjpeg_gyp_path': '../third_party/libjpeg_turbo/libjpeg.gyp',
|
| + 'libjpeg_gyp_path': '<(libjpeg_turbo_gyp_path)',
|
| }],
|
|
|
| # Options controlling the use of GConf (the classic GNOME configuration
|
|
|