OLD | NEW |
---|---|
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 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
905 # | 905 # |
906 # On Aura, this allows per-tile painting to be used in the browser | 906 # On Aura, this allows per-tile painting to be used in the browser |
907 # compositor. | 907 # compositor. |
908 ['OS!="android" and OS!="ios"', { | 908 ['OS!="android" and OS!="ios"', { |
909 'use_canvas_skia%': 1, | 909 'use_canvas_skia%': 1, |
910 }], | 910 }], |
911 | 911 |
912 ['chromeos==1', { | 912 ['chromeos==1', { |
913 'enable_basic_printing%': 0, | 913 'enable_basic_printing%': 0, |
914 'enable_print_preview%': 1, | 914 'enable_print_preview%': 1, |
915 # When building for ChromeOS we dont want Chromium to use libjpeg_turb o. | |
916 'use_libjpeg_turbo%': 0, | |
917 }], | 915 }], |
918 | 916 |
919 # Do not enable the Settings App on ChromeOS. | 917 # Do not enable the Settings App on ChromeOS. |
920 ['enable_app_list==1 and chromeos==0', { | 918 ['enable_app_list==1 and chromeos==0', { |
921 'enable_settings_app%': 1, | 919 'enable_settings_app%': 1, |
922 }, { | 920 }, { |
923 'enable_settings_app%': 0, | 921 'enable_settings_app%': 0, |
924 }], | 922 }], |
925 | 923 |
926 ['OS=="linux" and target_arch=="arm" and chromeos==0', { | 924 ['OS=="linux" and target_arch=="arm" and chromeos==0', { |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1495 'ozone_platform_dri%': 0, | 1493 'ozone_platform_dri%': 0, |
1496 'ozone_platform_drm%': 0, | 1494 'ozone_platform_drm%': 0, |
1497 'ozone_platform_egltest%': 0, | 1495 'ozone_platform_egltest%': 0, |
1498 'ozone_platform_gbm%': 0, | 1496 'ozone_platform_gbm%': 0, |
1499 'ozone_platform_ozonex%': 0, | 1497 'ozone_platform_ozonex%': 0, |
1500 'ozone_platform_test%': 0, | 1498 'ozone_platform_test%': 0, |
1501 | 1499 |
1502 # Experiment: http://crbug.com/426914 | 1500 # Experiment: http://crbug.com/426914 |
1503 'envoy%': 0, | 1501 'envoy%': 0, |
1504 | 1502 |
1503 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path | |
1504 # for robust login screen decoding. | |
1505 'libjpeg_ijg_gyp_path': '../third_party/libjpeg/libjpeg.gyp', | |
Nico
2015/05/05 18:05:42
I think you need to say <(DEPTH) instead of .. in
Ed Baker
2015/05/05 22:03:34
Done.
| |
1506 'libjpeg_turbo_gyp_path': '../third_party/libjpeg_turbo/libjpeg.gyp', | |
1507 | |
1505 'conditions': [ | 1508 'conditions': [ |
1506 ['buildtype=="Official"', { | 1509 ['buildtype=="Official"', { |
1507 # Continue to embed build meta data in Official builds, basically the | 1510 # Continue to embed build meta data in Official builds, basically the |
1508 # time it was built. | 1511 # time it was built. |
1509 # TODO(maruel): This decision should be revisited because having an | 1512 # TODO(maruel): This decision should be revisited because having an |
1510 # official deterministic build has high value too but MSVC toolset can't | 1513 # official deterministic build has high value too but MSVC toolset can't |
1511 # generate anything deterministic with WPO enabled AFAIK. | 1514 # generate anything deterministic with WPO enabled AFAIK. |
1512 'dont_embed_build_metadata%': 0, | 1515 'dont_embed_build_metadata%': 0, |
1513 }], | 1516 }], |
1514 # Enable the Syzygy optimization step for the official builds. | 1517 # Enable the Syzygy optimization step for the official builds. |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1978 ['target_arch=="arm" or target_arch=="mipsel" or target_arch=="mips64el"', { | 1981 ['target_arch=="arm" or target_arch=="mipsel" or target_arch=="mips64el"', { |
1979 'disable_glibc%': 1, | 1982 'disable_glibc%': 1, |
1980 }, { | 1983 }, { |
1981 'disable_glibc%': 0, | 1984 'disable_glibc%': 0, |
1982 }], | 1985 }], |
1983 | 1986 |
1984 # Set the relative path from this file to the GYP file of the JPEG | 1987 # Set the relative path from this file to the GYP file of the JPEG |
1985 # library used by Chromium. | 1988 # library used by Chromium. |
1986 ['use_system_libjpeg==1 or use_libjpeg_turbo==0', { | 1989 ['use_system_libjpeg==1 or use_libjpeg_turbo==0', { |
1987 # Configuration for using the system libjeg is here. | 1990 # Configuration for using the system libjeg is here. |
1988 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp', | 1991 'libjpeg_gyp_path': '<(libjpeg_ijg_gyp_path)', |
1989 }, { | 1992 }, { |
1990 'libjpeg_gyp_path': '../third_party/libjpeg_turbo/libjpeg.gyp', | 1993 'libjpeg_gyp_path': '<(libjpeg_turbo_gyp_path)', |
1991 }], | 1994 }], |
1992 | 1995 |
1993 # Options controlling the use of GConf (the classic GNOME configuration | 1996 # Options controlling the use of GConf (the classic GNOME configuration |
1994 # system) and GIO, which contains GSettings (the new GNOME config system). | 1997 # system) and GIO, which contains GSettings (the new GNOME config system). |
1995 ['chromeos==1 or embedded==1', { | 1998 ['chromeos==1 or embedded==1', { |
1996 'use_gconf%': 0, | 1999 'use_gconf%': 0, |
1997 'use_gio%': 0, | 2000 'use_gio%': 0, |
1998 }, { | 2001 }, { |
1999 'use_gconf%': 1, | 2002 'use_gconf%': 1, |
2000 'use_gio%': 1, | 2003 'use_gio%': 1, |
(...skipping 4134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6135 # settings in target dicts. SYMROOT is a special case, because many other | 6138 # settings in target dicts. SYMROOT is a special case, because many other |
6136 # Xcode variables depend on it, including variables such as | 6139 # Xcode variables depend on it, including variables such as |
6137 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6140 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6138 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6141 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6139 # files to appear (when present) in the UI as actual files and not red | 6142 # files to appear (when present) in the UI as actual files and not red |
6140 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6143 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6141 # and therefore SYMROOT, needs to be set at the project level. | 6144 # and therefore SYMROOT, needs to be set at the project level. |
6142 'SYMROOT': '<(DEPTH)/xcodebuild', | 6145 'SYMROOT': '<(DEPTH)/xcodebuild', |
6143 }, | 6146 }, |
6144 } | 6147 } |
OLD | NEW |