| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 'use_goma%': 0, | 165 'use_goma%': 0, |
| 166 'gomadir%': '', | 166 'gomadir%': '', |
| 167 | 167 |
| 168 # The system root for cross-compiles. Default: none. | 168 # The system root for cross-compiles. Default: none. |
| 169 'sysroot%': '', | 169 'sysroot%': '', |
| 170 'chroot_cmd%': '', | 170 'chroot_cmd%': '', |
| 171 | 171 |
| 172 # The system libdir used for this ABI. | 172 # The system libdir used for this ABI. |
| 173 'system_libdir%': 'lib', | 173 'system_libdir%': 'lib', |
| 174 | 174 |
| 175 # Set this to true when building with Clang. |
| 176 # See http://code.google.com/p/chromium/wiki/Clang for details. |
| 177 'clang%': 0, |
| 178 |
| 175 'conditions': [ | 179 'conditions': [ |
| 176 # Ash needs Aura. | 180 # Ash needs Aura. |
| 177 ['use_aura==0', { | 181 ['use_aura==0', { |
| 178 'use_ash%': 0, | 182 'use_ash%': 0, |
| 179 }], | 183 }], |
| 180 | 184 |
| 181 # Set default value of toolkit_views based on OS. | 185 # Set default value of toolkit_views based on OS. |
| 182 ['OS=="win" or chromeos==1 or use_aura==1', { | 186 ['OS=="win" or chromeos==1 or use_aura==1', { |
| 183 'toolkit_views%': 1, | 187 'toolkit_views%': 1, |
| 184 }, { | 188 }, { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 # "arm64" and "both" (meaning a fat binary). | 231 # "arm64" and "both" (meaning a fat binary). |
| 228 # | 232 # |
| 229 # TODO(sdefresne): change the default from "arm32" to "both" for | 233 # TODO(sdefresne): change the default from "arm32" to "both" for |
| 230 # "target_subarch" once http://crbug.com/339477 is fixed. | 234 # "target_subarch" once http://crbug.com/339477 is fixed. |
| 231 # | 235 # |
| 232 # TODO(sdefresne): set the "target_arch" to "arm" once compilation | 236 # TODO(sdefresne): set the "target_arch" to "arm" once compilation |
| 233 # of skia has been fixed for simulator. http://crbug.com/342377 | 237 # of skia has been fixed for simulator. http://crbug.com/342377 |
| 234 ['OS=="ios"', { | 238 ['OS=="ios"', { |
| 235 'target_subarch%': 'arm32', | 239 'target_subarch%': 'arm32', |
| 236 }], | 240 }], |
| 241 |
| 242 ['OS=="linux"', { |
| 243 # TODO(thakis): This is here to measure perf for a while. |
| 244 'clang%': 1, |
| 245 }], # OS=="mac" |
| 246 ['OS=="mac" or OS=="ios"', { |
| 247 'clang%': 1, |
| 248 }] |
| 237 ], | 249 ], |
| 238 }, | 250 }, |
| 239 | 251 |
| 240 # Copy conditionally-set variables out one scope. | 252 # Copy conditionally-set variables out one scope. |
| 241 'chromeos%': '<(chromeos)', | 253 'chromeos%': '<(chromeos)', |
| 242 'chromecast%': '<(chromecast)', | 254 'chromecast%': '<(chromecast)', |
| 243 'host_arch%': '<(host_arch)', | 255 'host_arch%': '<(host_arch)', |
| 244 'target_arch%': '<(target_arch)', | 256 'target_arch%': '<(target_arch)', |
| 245 'target_subarch%': '<(target_subarch)', | 257 'target_subarch%': '<(target_subarch)', |
| 246 'toolkit_views%': '<(toolkit_views)', | 258 'toolkit_views%': '<(toolkit_views)', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 260 'use_goma%': '<(use_goma)', | 272 'use_goma%': '<(use_goma)', |
| 261 'gomadir%': '<(gomadir)', | 273 'gomadir%': '<(gomadir)', |
| 262 'enable_app_list%': '<(enable_app_list)', | 274 'enable_app_list%': '<(enable_app_list)', |
| 263 'use_default_render_theme%': '<(use_default_render_theme)', | 275 'use_default_render_theme%': '<(use_default_render_theme)', |
| 264 'buildtype%': '<(buildtype)', | 276 'buildtype%': '<(buildtype)', |
| 265 'branding%': '<(branding)', | 277 'branding%': '<(branding)', |
| 266 'arm_version%': '<(arm_version)', | 278 'arm_version%': '<(arm_version)', |
| 267 'sysroot%': '<(sysroot)', | 279 'sysroot%': '<(sysroot)', |
| 268 'chroot_cmd%': '<(chroot_cmd)', | 280 'chroot_cmd%': '<(chroot_cmd)', |
| 269 'system_libdir%': '<(system_libdir)', | 281 'system_libdir%': '<(system_libdir)', |
| 282 'clang%': '<(clang)', |
| 270 | 283 |
| 271 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 284 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
| 272 # (it disables debug info for fastest compilation - only for use | 285 # (it disables debug info for fastest compilation - only for use |
| 273 # on compile-only bots). | 286 # on compile-only bots). |
| 274 'fastbuild%': 0, | 287 'fastbuild%': 0, |
| 275 | 288 |
| 276 # Set to 1 to not store any build metadata (this isn't working yet but | 289 # Set to 1 to not store any build metadata (this isn't working yet but |
| 277 # this flag will help us to get there). See http://crbug.com/314403. | 290 # this flag will help us to get there). See http://crbug.com/314403. |
| 278 # TODO(sebmarchand): Update this comment once this flag guarantee that | 291 # TODO(sebmarchand): Update this comment once this flag guarantee that |
| 279 # there's no build metadata in the build artifacts. | 292 # there's no build metadata in the build artifacts. |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 # | 536 # |
| 524 # This variable may be explicitly set to 1 (enabled) or 0 | 537 # This variable may be explicitly set to 1 (enabled) or 0 |
| 525 # (disabled) in ~/.gyp/include.gypi or via the GYP command line. | 538 # (disabled) in ~/.gyp/include.gypi or via the GYP command line. |
| 526 # This setting will override the default. | 539 # This setting will override the default. |
| 527 # | 540 # |
| 528 # See | 541 # See |
| 529 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders | 542 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders |
| 530 # for details. | 543 # for details. |
| 531 'chromium_win_pch%': 0, | 544 'chromium_win_pch%': 0, |
| 532 | 545 |
| 533 # Set this to true when building with Clang. | |
| 534 # See http://code.google.com/p/chromium/wiki/Clang for details. | |
| 535 'clang%': 0, | |
| 536 | |
| 537 # Enable plug-in installation by default. | 546 # Enable plug-in installation by default. |
| 538 'enable_plugin_installation%': 1, | 547 'enable_plugin_installation%': 1, |
| 539 | 548 |
| 540 # Specifies whether to use canvas_skia.cc in place of platform | 549 # Specifies whether to use canvas_skia.cc in place of platform |
| 541 # specific implementations of gfx::Canvas. Affects text drawing in the | 550 # specific implementations of gfx::Canvas. Affects text drawing in the |
| 542 # Chrome UI. | 551 # Chrome UI. |
| 543 # TODO(asvitkine): Enable this on all platforms and delete this flag. | 552 # TODO(asvitkine): Enable this on all platforms and delete this flag. |
| 544 # http://crbug.com/105550 | 553 # http://crbug.com/105550 |
| 545 'use_canvas_skia%': 0, | 554 'use_canvas_skia%': 0, |
| 546 | 555 |
| (...skipping 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1770 'enable_mpeg2ts_stream_parser%': 1, | 1779 'enable_mpeg2ts_stream_parser%': 1, |
| 1771 'video_hole%': 1, | 1780 'video_hole%': 1, |
| 1772 }], | 1781 }], |
| 1773 ], | 1782 ], |
| 1774 }], | 1783 }], |
| 1775 ['android_webview_build==1', { | 1784 ['android_webview_build==1', { |
| 1776 # When building the WebView in the Android tree, jarjar will remap all | 1785 # When building the WebView in the Android tree, jarjar will remap all |
| 1777 # the class names, so the JNI generator needs to know this. | 1786 # the class names, so the JNI generator needs to know this. |
| 1778 'jni_generator_jarjar_file': '../android_webview/build/jarjar-rules.txt'
, | 1787 'jni_generator_jarjar_file': '../android_webview/build/jarjar-rules.txt'
, |
| 1779 }], | 1788 }], |
| 1780 ['OS=="linux"', { | |
| 1781 # TODO(thakis): This is here to measure perf for a while. | |
| 1782 'clang%': 1, | |
| 1783 }], # OS=="mac" | |
| 1784 ['OS=="mac"', { | 1789 ['OS=="mac"', { |
| 1785 'conditions': [ | 1790 'conditions': [ |
| 1786 # All Chrome builds have breakpad symbols, but only process the | 1791 # All Chrome builds have breakpad symbols, but only process the |
| 1787 # symbols from official builds. | 1792 # symbols from official builds. |
| 1788 ['(branding=="Chrome" and buildtype=="Official")', { | 1793 ['(branding=="Chrome" and buildtype=="Official")', { |
| 1789 'mac_strip_release%': 1, | 1794 'mac_strip_release%': 1, |
| 1790 }], | 1795 }], |
| 1791 ], | 1796 ], |
| 1792 }], # OS=="mac" | 1797 }], # OS=="mac" |
| 1793 ['OS=="mac" or OS=="ios"', { | 1798 ['OS=="mac" or OS=="ios"', { |
| 1794 'clang%': 1, | |
| 1795 | |
| 1796 'variables': { | 1799 'variables': { |
| 1797 # Mac OS X SDK and deployment target support. The SDK identifies | 1800 # Mac OS X SDK and deployment target support. The SDK identifies |
| 1798 # the version of the system headers that will be used, and | 1801 # the version of the system headers that will be used, and |
| 1799 # corresponds to the MAC_OS_X_VERSION_MAX_ALLOWED compile-time | 1802 # corresponds to the MAC_OS_X_VERSION_MAX_ALLOWED compile-time |
| 1800 # macro. "Maximum allowed" refers to the operating system version | 1803 # macro. "Maximum allowed" refers to the operating system version |
| 1801 # whose APIs are available in the headers. The deployment target | 1804 # whose APIs are available in the headers. The deployment target |
| 1802 # identifies the minimum system version that the built products are | 1805 # identifies the minimum system version that the built products are |
| 1803 # expected to function on. It corresponds to the | 1806 # expected to function on. It corresponds to the |
| 1804 # MAC_OS_X_VERSION_MIN_REQUIRED compile-time macro. To ensure these | 1807 # MAC_OS_X_VERSION_MIN_REQUIRED compile-time macro. To ensure these |
| 1805 # macros are available, #include <AvailabilityMacros.h>. Additional | 1808 # macros are available, #include <AvailabilityMacros.h>. Additional |
| (...skipping 3798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5604 # settings in target dicts. SYMROOT is a special case, because many other | 5607 # settings in target dicts. SYMROOT is a special case, because many other |
| 5605 # Xcode variables depend on it, including variables such as | 5608 # Xcode variables depend on it, including variables such as |
| 5606 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5609 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5607 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5610 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5608 # files to appear (when present) in the UI as actual files and not red | 5611 # files to appear (when present) in the UI as actual files and not red |
| 5609 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5612 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5610 # and therefore SYMROOT, needs to be set at the project level. | 5613 # and therefore SYMROOT, needs to be set at the project level. |
| 5611 'SYMROOT': '<(DEPTH)/xcodebuild', | 5614 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5612 }, | 5615 }, |
| 5613 } | 5616 } |
| OLD | NEW |