| 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 'branding_path_component%': '<(branding)', | 156 'branding_path_component%': '<(branding)', |
| 153 'host_arch%': '<(host_arch)', | 157 'host_arch%': '<(host_arch)', |
| 154 'target_arch%': '<(target_arch)', | 158 'target_arch%': '<(target_arch)', |
| 155 | 159 |
| 156 'target_subarch%': '', | 160 'target_subarch%': '', |
| 157 | 161 |
| 158 # The channel to build on Android: stable, beta, dev, canary, or | 162 # The channel to build on Android: stable, beta, dev, canary, or |
| 159 # default. "default" should be used on non-official builds. | 163 # default. "default" should be used on non-official builds. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 'use_aura%': 1, | 219 'use_aura%': 1, |
| 216 'use_ash%': 0, | 220 'use_ash%': 0, |
| 217 'toolkit_views%': 0, | 221 'toolkit_views%': 0, |
| 218 }], | 222 }], |
| 219 | 223 |
| 220 # Enable HiDPI on Mac OS, Chrome OS, Windows and Linux. | 224 # Enable HiDPI on Mac OS, Chrome OS, Windows and Linux. |
| 221 ['OS=="mac" or chromeos==1 or OS=="win" or OS=="linux"', { | 225 ['OS=="mac" or chromeos==1 or OS=="win" or OS=="linux"', { |
| 222 'enable_hidpi%': 1, | 226 'enable_hidpi%': 1, |
| 223 }], | 227 }], |
| 224 | 228 |
| 229 # Enable Top Chrome Material Design on Chrome OS, and Windows. |
| 230 ['chromeos==1 or OS=="win"', { |
| 231 'enable_topchrome_md%': 1, |
| 232 }], |
| 233 |
| 225 # Enable the OpenSSL backend on Mac OS and Windows. | 234 # Enable the OpenSSL backend on Mac OS and Windows. |
| 226 ['OS=="mac" or OS=="win"', { | 235 ['OS=="mac" or OS=="win"', { |
| 227 'use_openssl%': 1, | 236 'use_openssl%': 1, |
| 228 }], | 237 }], |
| 229 | 238 |
| 230 # Enable App Launcher everywhere but mobile. | 239 # Enable App Launcher everywhere but mobile. |
| 231 ['OS!="ios" and OS!="android"', { | 240 ['OS!="ios" and OS!="android"', { |
| 232 'enable_app_list%': 1, | 241 'enable_app_list%': 1, |
| 233 }, { | 242 }, { |
| 234 'enable_app_list%': 0, | 243 'enable_app_list%': 0, |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 'use_cras%': '<(use_cras)', | 300 'use_cras%': '<(use_cras)', |
| 292 'use_libpci%': '<(use_libpci)', | 301 'use_libpci%': '<(use_libpci)', |
| 293 'use_ozone%': '<(use_ozone)', | 302 'use_ozone%': '<(use_ozone)', |
| 294 'use_ozone_evdev%': '<(use_ozone_evdev)', | 303 'use_ozone_evdev%': '<(use_ozone_evdev)', |
| 295 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 304 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
| 296 'embedded%': '<(embedded)', | 305 'embedded%': '<(embedded)', |
| 297 'use_openssl%': '<(use_openssl)', | 306 'use_openssl%': '<(use_openssl)', |
| 298 'use_openssl_certs%': '<(use_openssl_certs)', | 307 'use_openssl_certs%': '<(use_openssl_certs)', |
| 299 'enable_viewport%': '<(enable_viewport)', | 308 'enable_viewport%': '<(enable_viewport)', |
| 300 'enable_hidpi%': '<(enable_hidpi)', | 309 'enable_hidpi%': '<(enable_hidpi)', |
| 310 'enable_topchrome_md%': '<(enable_topchrome_md)', |
| 301 'android_channel%': '<(android_channel)', | 311 'android_channel%': '<(android_channel)', |
| 302 'use_goma%': '<(use_goma)', | 312 'use_goma%': '<(use_goma)', |
| 303 'gomadir%': '<(gomadir)', | 313 'gomadir%': '<(gomadir)', |
| 304 'enable_app_list%': '<(enable_app_list)', | 314 'enable_app_list%': '<(enable_app_list)', |
| 305 'use_default_render_theme%': '<(use_default_render_theme)', | 315 'use_default_render_theme%': '<(use_default_render_theme)', |
| 306 'buildtype%': '<(buildtype)', | 316 'buildtype%': '<(buildtype)', |
| 307 'branding%': '<(branding)', | 317 'branding%': '<(branding)', |
| 308 'branding_path_component%': '<(branding_path_component)', | 318 'branding_path_component%': '<(branding_path_component)', |
| 309 'arm_version%': '<(arm_version)', | 319 'arm_version%': '<(arm_version)', |
| 310 'sysroot%': '<(sysroot)', | 320 'sysroot%': '<(sysroot)', |
| (...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1102 'use_xkbcommon%': '<(use_xkbcommon)', | 1112 'use_xkbcommon%': '<(use_xkbcommon)', |
| 1103 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 1113 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
| 1104 'desktop_linux%': '<(desktop_linux)', | 1114 'desktop_linux%': '<(desktop_linux)', |
| 1105 'use_x11%': '<(use_x11)', | 1115 'use_x11%': '<(use_x11)', |
| 1106 'use_gnome_keyring%': '<(use_gnome_keyring)', | 1116 'use_gnome_keyring%': '<(use_gnome_keyring)', |
| 1107 'linux_fpic%': '<(linux_fpic)', | 1117 'linux_fpic%': '<(linux_fpic)', |
| 1108 'chromeos%': '<(chromeos)', | 1118 'chromeos%': '<(chromeos)', |
| 1109 'chromecast%': '<(chromecast)', | 1119 'chromecast%': '<(chromecast)', |
| 1110 'enable_viewport%': '<(enable_viewport)', | 1120 'enable_viewport%': '<(enable_viewport)', |
| 1111 'enable_hidpi%': '<(enable_hidpi)', | 1121 'enable_hidpi%': '<(enable_hidpi)', |
| 1122 'enable_topchrome_md%': '<(enable_topchrome_md)', |
| 1112 'image_loader_extension%': '<(image_loader_extension)', | 1123 'image_loader_extension%': '<(image_loader_extension)', |
| 1113 'fastbuild%': '<(fastbuild)', | 1124 'fastbuild%': '<(fastbuild)', |
| 1114 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', | 1125 'dont_embed_build_metadata%': '<(dont_embed_build_metadata)', |
| 1115 'win_z7%': '<(win_z7)', | 1126 'win_z7%': '<(win_z7)', |
| 1116 'dcheck_always_on%': '<(dcheck_always_on)', | 1127 'dcheck_always_on%': '<(dcheck_always_on)', |
| 1117 'tracing_like_official_build%': '<(tracing_like_official_build)', | 1128 'tracing_like_official_build%': '<(tracing_like_official_build)', |
| 1118 'arm_version%': '<(arm_version)', | 1129 'arm_version%': '<(arm_version)', |
| 1119 'arm_neon%': '<(arm_neon)', | 1130 'arm_neon%': '<(arm_neon)', |
| 1120 'arm_neon_optional%': '<(arm_neon_optional)', | 1131 'arm_neon_optional%': '<(arm_neon_optional)', |
| 1121 'sysroot%': '<(sysroot)', | 1132 'sysroot%': '<(sysroot)', |
| (...skipping 1601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2723 }], | 2734 }], |
| 2724 ['configuration_policy==1', { | 2735 ['configuration_policy==1', { |
| 2725 'defines': ['ENABLE_CONFIGURATION_POLICY'], | 2736 'defines': ['ENABLE_CONFIGURATION_POLICY'], |
| 2726 }], | 2737 }], |
| 2727 ['notifications==1', { | 2738 ['notifications==1', { |
| 2728 'defines': ['ENABLE_NOTIFICATIONS'], | 2739 'defines': ['ENABLE_NOTIFICATIONS'], |
| 2729 }], | 2740 }], |
| 2730 ['enable_hidpi==1', { | 2741 ['enable_hidpi==1', { |
| 2731 'defines': ['ENABLE_HIDPI=1'], | 2742 'defines': ['ENABLE_HIDPI=1'], |
| 2732 }], | 2743 }], |
| 2744 ['enable_topchrome_md==1', { |
| 2745 'defines': ['ENABLE_TOPCHROME_MD=1'], |
| 2746 }], |
| 2733 ['native_memory_pressure_signals==1', { | 2747 ['native_memory_pressure_signals==1', { |
| 2734 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], | 2748 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
| 2735 }], | 2749 }], |
| 2736 ['use_udev==1', { | 2750 ['use_udev==1', { |
| 2737 'defines': ['USE_UDEV'], | 2751 'defines': ['USE_UDEV'], |
| 2738 }], | 2752 }], |
| 2739 ['fastbuild!=0', { | 2753 ['fastbuild!=0', { |
| 2740 'xcode_settings': { | 2754 'xcode_settings': { |
| 2741 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | 2755 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
| 2742 }, | 2756 }, |
| (...skipping 3472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6215 # settings in target dicts. SYMROOT is a special case, because many other | 6229 # settings in target dicts. SYMROOT is a special case, because many other |
| 6216 # Xcode variables depend on it, including variables such as | 6230 # Xcode variables depend on it, including variables such as |
| 6217 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6231 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6218 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6232 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6219 # files to appear (when present) in the UI as actual files and not red | 6233 # files to appear (when present) in the UI as actual files and not red |
| 6220 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6234 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6221 # and therefore SYMROOT, needs to be set at the project level. | 6235 # and therefore SYMROOT, needs to be set at the project level. |
| 6222 'SYMROOT': '<(DEPTH)/xcodebuild', | 6236 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6223 }, | 6237 }, |
| 6224 } | 6238 } |
| OLD | NEW |