| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 | 144 |
| 145 # Use aurax11 for clipboard implementation. This is true on linux_aura. | 145 # Use aurax11 for clipboard implementation. This is true on linux_aura. |
| 146 'use_clipboard_aurax11%': 0, | 146 'use_clipboard_aurax11%': 0, |
| 147 | 147 |
| 148 # goma settings. | 148 # goma settings. |
| 149 # 1 to use goma. | 149 # 1 to use goma. |
| 150 # If no gomadir is set, it uses the default gomadir. | 150 # If no gomadir is set, it uses the default gomadir. |
| 151 'use_goma%': 0, | 151 'use_goma%': 0, |
| 152 'gomadir%': '', | 152 'gomadir%': '', |
| 153 | 153 |
| 154 # The system root for cross-compiles. Default: none. |
| 155 'sysroot%': '', |
| 156 'chroot_cmd%': '', |
| 157 |
| 154 'conditions': [ | 158 'conditions': [ |
| 155 # Ash needs Aura. | 159 # Ash needs Aura. |
| 156 ['use_aura==0', { | 160 ['use_aura==0', { |
| 157 'use_ash%': 0, | 161 'use_ash%': 0, |
| 158 }], | 162 }], |
| 159 | 163 |
| 160 # Set default value of toolkit_views based on OS. | 164 # Set default value of toolkit_views based on OS. |
| 161 ['OS=="win" or chromeos==1 or use_aura==1', { | 165 ['OS=="win" or chromeos==1 or use_aura==1', { |
| 162 'toolkit_views%': 1, | 166 'toolkit_views%': 1, |
| 163 }, { | 167 }, { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 'enable_viewport%': '<(enable_viewport)', | 255 'enable_viewport%': '<(enable_viewport)', |
| 252 'enable_hidpi%': '<(enable_hidpi)', | 256 'enable_hidpi%': '<(enable_hidpi)', |
| 253 'android_webview_build%': '<(android_webview_build)', | 257 'android_webview_build%': '<(android_webview_build)', |
| 254 'use_goma%': '<(use_goma)', | 258 'use_goma%': '<(use_goma)', |
| 255 'gomadir%': '<(gomadir)', | 259 'gomadir%': '<(gomadir)', |
| 256 'enable_app_list%': '<(enable_app_list)', | 260 'enable_app_list%': '<(enable_app_list)', |
| 257 'use_default_render_theme%': '<(use_default_render_theme)', | 261 'use_default_render_theme%': '<(use_default_render_theme)', |
| 258 'buildtype%': '<(buildtype)', | 262 'buildtype%': '<(buildtype)', |
| 259 'branding%': '<(branding)', | 263 'branding%': '<(branding)', |
| 260 'arm_version%': '<(arm_version)', | 264 'arm_version%': '<(arm_version)', |
| 265 'sysroot%': '<(sysroot)', |
| 266 'chroot_cmd%': '<(chroot_cmd)', |
| 261 | 267 |
| 262 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 268 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
| 263 # (it disables debug info for fastest compilation - only for use | 269 # (it disables debug info for fastest compilation - only for use |
| 264 # on compile-only bots). | 270 # on compile-only bots). |
| 265 'fastbuild%': 0, | 271 'fastbuild%': 0, |
| 266 | 272 |
| 267 # Set to 1 to enable dcheck in release. | 273 # Set to 1 to enable dcheck in release. |
| 268 'dcheck_always_on%': 0, | 274 'dcheck_always_on%': 0, |
| 269 | 275 |
| 270 # Set to 1 to make a build that disables unshipped tracing events. | 276 # Set to 1 to make a build that disables unshipped tracing events. |
| 271 # Note: this setting is ignored if buildtype=="Official". | 277 # Note: this setting is ignored if buildtype=="Official". |
| 272 'tracing_like_official_build%': 0, | 278 'tracing_like_official_build%': 0, |
| 273 | 279 |
| 274 # Disable image loader component extension by default. | 280 # Disable image loader component extension by default. |
| 275 'image_loader_extension%': 0, | 281 'image_loader_extension%': 0, |
| 276 | 282 |
| 277 # Python version. | 283 # Python version. |
| 278 'python_ver%': '2.6', | 284 'python_ver%': '2.6', |
| 279 | 285 |
| 280 # Set NEON compilation flags. | 286 # Set NEON compilation flags. |
| 281 'arm_neon%': 1, | 287 'arm_neon%': 1, |
| 282 | 288 |
| 283 # Detect NEON support at run-time. | 289 # Detect NEON support at run-time. |
| 284 'arm_neon_optional%': 0, | 290 'arm_neon_optional%': 0, |
| 285 | 291 |
| 286 # The system root for cross-compiles. Default: none. | |
| 287 'sysroot%': '', | |
| 288 'chroot_cmd%': '', | |
| 289 | |
| 290 # The system libdir used for this ABI. | 292 # The system libdir used for this ABI. |
| 291 'system_libdir%': 'lib', | 293 'system_libdir%': 'lib', |
| 292 | 294 |
| 293 # Use libjpeg-turbo as the JPEG codec used by Chromium. | 295 # Use libjpeg-turbo as the JPEG codec used by Chromium. |
| 294 'use_libjpeg_turbo%': 1, | 296 'use_libjpeg_turbo%': 1, |
| 295 | 297 |
| 296 # Use system libjpeg. Note that the system's libjepg will be used even if | 298 # Use system libjpeg. Note that the system's libjepg will be used even if |
| 297 # use_libjpeg_turbo is set. | 299 # use_libjpeg_turbo is set. |
| 298 'use_system_libjpeg%': 0, | 300 'use_system_libjpeg%': 0, |
| 299 | 301 |
| (...skipping 2672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2972 'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'], | 2974 'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'], |
| 2973 }, | 2975 }, |
| 2974 'Release_x64': { | 2976 'Release_x64': { |
| 2975 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], | 2977 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], |
| 2976 }, | 2978 }, |
| 2977 }], | 2979 }], |
| 2978 ], | 2980 ], |
| 2979 }, | 2981 }, |
| 2980 }, | 2982 }, |
| 2981 'conditions': [ | 2983 'conditions': [ |
| 2982 # TODO(jochen): Enable this on chromeos. http://crbug.com/353127 | 2984 ['os_posix==1', { |
| 2983 ['os_posix==1 and chromeos==0', { | |
| 2984 'target_defaults': { | 2985 'target_defaults': { |
| 2985 'ldflags': [ | 2986 'ldflags': [ |
| 2986 '-Wl,--fatal-warnings', | 2987 '-Wl,--fatal-warnings', |
| 2987 '-Wl,-z,now', | 2988 '-Wl,-z,now', |
| 2988 '-Wl,-z,relro', | 2989 '-Wl,-z,relro', |
| 2989 ], | 2990 ], |
| 2990 }, | 2991 }, |
| 2991 }], | 2992 }], |
| 2992 ['os_posix==1 and chromeos==0', { | 2993 ['os_posix==1 and chromeos==0', { |
| 2993 # Chrome OS enables -fstack-protector-strong via its build wrapper, | 2994 # Chrome OS enables -fstack-protector-strong via its build wrapper, |
| (...skipping 2070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5064 # settings in target dicts. SYMROOT is a special case, because many other | 5065 # settings in target dicts. SYMROOT is a special case, because many other |
| 5065 # Xcode variables depend on it, including variables such as | 5066 # Xcode variables depend on it, including variables such as |
| 5066 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5067 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5067 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5068 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5068 # files to appear (when present) in the UI as actual files and not red | 5069 # files to appear (when present) in the UI as actual files and not red |
| 5069 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5070 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5070 # and therefore SYMROOT, needs to be set at the project level. | 5071 # and therefore SYMROOT, needs to be set at the project level. |
| 5071 'SYMROOT': '<(DEPTH)/xcodebuild', | 5072 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5072 }, | 5073 }, |
| 5073 } | 5074 } |
| OLD | NEW |