| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 # verification. On other targets, this flag also enables OpenSSL for | 75 # verification. On other targets, this flag also enables OpenSSL for |
| 76 # certificate verification, but this configuration is unsupported. | 76 # certificate verification, but this configuration is unsupported. |
| 77 'use_openssl_certs%': 0, | 77 'use_openssl_certs%': 0, |
| 78 | 78 |
| 79 # Disable viewport meta tag by default. | 79 # Disable viewport meta tag by default. |
| 80 'enable_viewport%': 0, | 80 'enable_viewport%': 0, |
| 81 | 81 |
| 82 # Enable HiDPI support. | 82 # Enable HiDPI support. |
| 83 'enable_hidpi%': 0, | 83 'enable_hidpi%': 0, |
| 84 | 84 |
| 85 # Enable top chrome material design. |
| 86 'enable_topchrome_md%' : 0, |
| 87 |
| 85 # Override buildtype to select the desired build flavor. | 88 # Override buildtype to select the desired build flavor. |
| 86 # Dev - everyday build for development/testing | 89 # Dev - everyday build for development/testing |
| 87 # Official - release build (generally implies additional processing) | 90 # Official - release build (generally implies additional processing) |
| 88 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp | 91 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp |
| 89 # conversion is done), some of the things which are now controlled by | 92 # conversion is done), some of the things which are now controlled by |
| 90 # 'branding', such as symbol generation, will need to be refactored | 93 # 'branding', such as symbol generation, will need to be refactored |
| 91 # based on 'buildtype' (i.e. we don't care about saving symbols for | 94 # based on 'buildtype' (i.e. we don't care about saving symbols for |
| 92 # non-Official # builds). | 95 # non-Official # builds). |
| 93 'buildtype%': 'Dev', | 96 'buildtype%': 'Dev', |
| 94 | 97 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 'use_aura%': '<(use_aura)', | 143 'use_aura%': '<(use_aura)', |
| 141 'use_ash%': '<(use_ash)', | 144 'use_ash%': '<(use_ash)', |
| 142 'use_cras%': '<(use_cras)', | 145 'use_cras%': '<(use_cras)', |
| 143 'use_ozone%': '<(use_ozone)', | 146 'use_ozone%': '<(use_ozone)', |
| 144 'embedded%': '<(embedded)', | 147 'embedded%': '<(embedded)', |
| 145 'use_libpci%': '<(use_libpci)', | 148 'use_libpci%': '<(use_libpci)', |
| 146 'use_openssl%': '<(use_openssl)', | 149 'use_openssl%': '<(use_openssl)', |
| 147 'use_openssl_certs%': '<(use_openssl_certs)', | 150 'use_openssl_certs%': '<(use_openssl_certs)', |
| 148 'enable_viewport%': '<(enable_viewport)', | 151 'enable_viewport%': '<(enable_viewport)', |
| 149 'enable_hidpi%': '<(enable_hidpi)', | 152 'enable_hidpi%': '<(enable_hidpi)', |
| 153 'enable_topchrome_md%': '<(enable_topchrome_md)', |
| 150 'buildtype%': '<(buildtype)', | 154 'buildtype%': '<(buildtype)', |
| 151 'branding%': '<(branding)', | 155 'branding%': '<(branding)', |
| 152 'host_arch%': '<(host_arch)', | 156 'host_arch%': '<(host_arch)', |
| 153 'target_arch%': '<(target_arch)', | 157 'target_arch%': '<(target_arch)', |
| 154 | 158 |
| 155 'target_subarch%': '', | 159 'target_subarch%': '', |
| 156 | 160 |
| 157 # The channel to build on Android: stable, beta, dev, canary, or | 161 # The channel to build on Android: stable, beta, dev, canary, or |
| 158 # default. "default" should be used on non-official builds. | 162 # default. "default" should be used on non-official builds. |
| 159 'android_channel%': 'default', | 163 'android_channel%': 'default', |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 'use_aura%': 1, | 209 'use_aura%': 1, |
| 206 'use_ash%': 0, | 210 'use_ash%': 0, |
| 207 'toolkit_views%': 0, | 211 'toolkit_views%': 0, |
| 208 }], | 212 }], |
| 209 | 213 |
| 210 # Enable HiDPI on Mac OS, Chrome OS, Windows and Linux. | 214 # Enable HiDPI on Mac OS, Chrome OS, Windows and Linux. |
| 211 ['OS=="mac" or chromeos==1 or OS=="win" or OS=="linux"', { | 215 ['OS=="mac" or chromeos==1 or OS=="win" or OS=="linux"', { |
| 212 'enable_hidpi%': 1, | 216 'enable_hidpi%': 1, |
| 213 }], | 217 }], |
| 214 | 218 |
| 219 # Enable Top Chrome Material Design on Chrome OS, and Windows. |
| 220 ['chromeos==1 or OS=="win"', { |
| 221 'enable_topchrome_md%': 1, |
| 222 }], |
| 223 |
| 215 # Enable the OpenSSL backend on Mac OS and Windows. | 224 # Enable the OpenSSL backend on Mac OS and Windows. |
| 216 ['OS=="mac" or OS=="win"', { | 225 ['OS=="mac" or OS=="win"', { |
| 217 'use_openssl%': 1, | 226 'use_openssl%': 1, |
| 218 }], | 227 }], |
| 219 | 228 |
| 220 # Enable App Launcher everywhere but mobile. | 229 # Enable App Launcher everywhere but mobile. |
| 221 ['OS!="ios" and OS!="android"', { | 230 ['OS!="ios" and OS!="android"', { |
| 222 'enable_app_list%': 1, | 231 'enable_app_list%': 1, |
| 223 }, { | 232 }, { |
| 224 'enable_app_list%': 0, | 233 'enable_app_list%': 0, |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 'use_cras%': '<(use_cras)', | 290 'use_cras%': '<(use_cras)', |
| 282 'use_libpci%': '<(use_libpci)', | 291 'use_libpci%': '<(use_libpci)', |
| 283 'use_ozone%': '<(use_ozone)', | 292 'use_ozone%': '<(use_ozone)', |
| 284 'use_ozone_evdev%': '<(use_ozone_evdev)', | 293 'use_ozone_evdev%': '<(use_ozone_evdev)', |
| 285 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 294 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
| 286 'embedded%': '<(embedded)', | 295 'embedded%': '<(embedded)', |
| 287 'use_openssl%': '<(use_openssl)', | 296 'use_openssl%': '<(use_openssl)', |
| 288 'use_openssl_certs%': '<(use_openssl_certs)', | 297 'use_openssl_certs%': '<(use_openssl_certs)', |
| 289 'enable_viewport%': '<(enable_viewport)', | 298 'enable_viewport%': '<(enable_viewport)', |
| 290 'enable_hidpi%': '<(enable_hidpi)', | 299 'enable_hidpi%': '<(enable_hidpi)', |
| 300 'enable_topchrome_md%': '<(enable_topchrome_md)', |
| 291 'android_channel%': '<(android_channel)', | 301 'android_channel%': '<(android_channel)', |
| 292 'use_goma%': '<(use_goma)', | 302 'use_goma%': '<(use_goma)', |
| 293 'gomadir%': '<(gomadir)', | 303 'gomadir%': '<(gomadir)', |
| 294 'enable_app_list%': '<(enable_app_list)', | 304 'enable_app_list%': '<(enable_app_list)', |
| 295 'use_default_render_theme%': '<(use_default_render_theme)', | 305 'use_default_render_theme%': '<(use_default_render_theme)', |
| 296 'buildtype%': '<(buildtype)', | 306 'buildtype%': '<(buildtype)', |
| 297 'branding%': '<(branding)', | 307 'branding%': '<(branding)', |
| 298 'arm_version%': '<(arm_version)', | 308 'arm_version%': '<(arm_version)', |
| 299 'sysroot%': '<(sysroot)', | 309 'sysroot%': '<(sysroot)', |
| 300 'chroot_cmd%': '<(chroot_cmd)', | 310 'chroot_cmd%': '<(chroot_cmd)', |
| (...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1093 'use_xkbcommon%': '<(use_xkbcommon)', | 1103 'use_xkbcommon%': '<(use_xkbcommon)', |
| 1094 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 1104 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
| 1095 'desktop_linux%': '<(desktop_linux)', | 1105 'desktop_linux%': '<(desktop_linux)', |
| 1096 'use_x11%': '<(use_x11)', | 1106 'use_x11%': '<(use_x11)', |
| 1097 'use_gnome_keyring%': '<(use_gnome_keyring)', | 1107 'use_gnome_keyring%': '<(use_gnome_keyring)', |
| 1098 'linux_fpic%': '<(linux_fpic)', | 1108 'linux_fpic%': '<(linux_fpic)', |
| 1099 'chromeos%': '<(chromeos)', | 1109 'chromeos%': '<(chromeos)', |
| 1100 'chromecast%': '<(chromecast)', | 1110 'chromecast%': '<(chromecast)', |
| 1101 'enable_viewport%': '<(enable_viewport)', | 1111 'enable_viewport%': '<(enable_viewport)', |
| 1102 'enable_hidpi%': '<(enable_hidpi)', | 1112 'enable_hidpi%': '<(enable_hidpi)', |
| 1113 'enable_topchrome_md%': '<(enable_topchrome_md)', |
| 1103 'image_loader_extension%': '<(image_loader_extension)', | 1114 'image_loader_extension%': '<(image_loader_extension)', |
| 1104 'fastbuild%': '<(fastbuild)', | 1115 'fastbuild%': '<(fastbuild)', |
| 1105 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', | 1116 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', |
| 1106 'win_z7%': '<(win_z7)', | 1117 'win_z7%': '<(win_z7)', |
| 1107 'dcheck_always_on%': '<(dcheck_always_on)', | 1118 'dcheck_always_on%': '<(dcheck_always_on)', |
| 1108 'tracing_like_official_build%': '<(tracing_like_official_build)', | 1119 'tracing_like_official_build%': '<(tracing_like_official_build)', |
| 1109 'arm_version%': '<(arm_version)', | 1120 'arm_version%': '<(arm_version)', |
| 1110 'arm_neon%': '<(arm_neon)', | 1121 'arm_neon%': '<(arm_neon)', |
| 1111 'arm_neon_optional%': '<(arm_neon_optional)', | 1122 'arm_neon_optional%': '<(arm_neon_optional)', |
| 1112 'sysroot%': '<(sysroot)', | 1123 'sysroot%': '<(sysroot)', |
| (...skipping 1579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2692 }], | 2703 }], |
| 2693 ['configuration_policy==1', { | 2704 ['configuration_policy==1', { |
| 2694 'defines': ['ENABLE_CONFIGURATION_POLICY'], | 2705 'defines': ['ENABLE_CONFIGURATION_POLICY'], |
| 2695 }], | 2706 }], |
| 2696 ['notifications==1', { | 2707 ['notifications==1', { |
| 2697 'defines': ['ENABLE_NOTIFICATIONS'], | 2708 'defines': ['ENABLE_NOTIFICATIONS'], |
| 2698 }], | 2709 }], |
| 2699 ['enable_hidpi==1', { | 2710 ['enable_hidpi==1', { |
| 2700 'defines': ['ENABLE_HIDPI=1'], | 2711 'defines': ['ENABLE_HIDPI=1'], |
| 2701 }], | 2712 }], |
| 2713 ['enable_topchrome_md==1', { |
| 2714 'defines': ['ENABLE_TOPCHROME_MD=1'], |
| 2715 }], |
| 2702 ['native_memory_pressure_signals==1', { | 2716 ['native_memory_pressure_signals==1', { |
| 2703 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], | 2717 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
| 2704 }], | 2718 }], |
| 2705 ['use_udev==1', { | 2719 ['use_udev==1', { |
| 2706 'defines': ['USE_UDEV'], | 2720 'defines': ['USE_UDEV'], |
| 2707 }], | 2721 }], |
| 2708 ['fastbuild!=0', { | 2722 ['fastbuild!=0', { |
| 2709 'xcode_settings': { | 2723 'xcode_settings': { |
| 2710 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | 2724 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
| 2711 }, | 2725 }, |
| (...skipping 3423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6135 # settings in target dicts. SYMROOT is a special case, because many other | 6149 # settings in target dicts. SYMROOT is a special case, because many other |
| 6136 # Xcode variables depend on it, including variables such as | 6150 # Xcode variables depend on it, including variables such as |
| 6137 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6151 # 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 | 6152 # 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 | 6153 # 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, | 6154 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6141 # and therefore SYMROOT, needs to be set at the project level. | 6155 # and therefore SYMROOT, needs to be set at the project level. |
| 6142 'SYMROOT': '<(DEPTH)/xcodebuild', | 6156 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6143 }, | 6157 }, |
| 6144 } | 6158 } |
| OLD | NEW |