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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 # dependencies verified. All the tests targets have the '_run' suffix, | 295 # dependencies verified. All the tests targets have the '_run' suffix, |
296 # e.g. base_unittests_run runs the target base_unittests. The test target | 296 # e.g. base_unittests_run runs the target base_unittests. The test target |
297 # always calls tools/isolate/isolate.py. See the script's --help for more | 297 # always calls tools/isolate/isolate.py. See the script's --help for more |
298 # information and the valid --mode values. Meant to be overriden with | 298 # information and the valid --mode values. Meant to be overriden with |
299 # GYP_DEFINES. | 299 # GYP_DEFINES. |
300 'tests_run%': 'check', | 300 'tests_run%': 'check', |
301 | 301 |
302 # Force rlz to use chrome's networking stack. | 302 # Force rlz to use chrome's networking stack. |
303 'force_rlz_use_chrome_net%': 1, | 303 'force_rlz_use_chrome_net%': 1, |
304 | 304 |
| 305 'platformsdk_path%': '<(DEPTH)/third_party/platformsdk_win7/files', |
| 306 'wix_path%': '<(DEPTH)/third_party/wix', |
| 307 |
305 'conditions': [ | 308 'conditions': [ |
306 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of | 309 # TODO(epoger): Figure out how to set use_skia=1 for Mac outside of |
307 # the 'conditions' clause. Initial attempts resulted in chromium and | 310 # the 'conditions' clause. Initial attempts resulted in chromium and |
308 # webkit disagreeing on its setting. | 311 # webkit disagreeing on its setting. |
309 ['OS=="mac"', { | 312 ['OS=="mac"', { |
310 'use_skia%': 1, | 313 'use_skia%': 1, |
311 # Mac uses clang by default, so turn on the plugin as well. | 314 # Mac uses clang by default, so turn on the plugin as well. |
312 'clang_use_chrome_plugins%': 1, | 315 'clang_use_chrome_plugins%': 1, |
313 }, { | 316 }, { |
314 'use_skia%': 1, | 317 'use_skia%': 1, |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 'enable_session_service%': '<(enable_session_service)', | 519 'enable_session_service%': '<(enable_session_service)', |
517 'enable_themes%': '<(enable_themes)', | 520 'enable_themes%': '<(enable_themes)', |
518 'enable_background%': '<(enable_background)', | 521 'enable_background%': '<(enable_background)', |
519 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 522 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
520 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 523 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
521 'use_canvas_skia%': '<(use_canvas_skia)', | 524 'use_canvas_skia%': '<(use_canvas_skia)', |
522 'tests_run%': '<(tests_run)', | 525 'tests_run%': '<(tests_run)', |
523 'enable_automation%': '<(enable_automation)', | 526 'enable_automation%': '<(enable_automation)', |
524 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', | 527 'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', |
525 'enable_task_manager%': '<(enable_task_manager)', | 528 'enable_task_manager%': '<(enable_task_manager)', |
| 529 'platformsdk_path%': '<(platformsdk_path)', |
| 530 'wix_path%': '<(wix_path)', |
526 | 531 |
527 # Use system yasm instead of bundled one. | 532 # Use system yasm instead of bundled one. |
528 'use_system_yasm%': 0, | 533 'use_system_yasm%': 0, |
529 | 534 |
530 # Default to enabled PIE; this is important for ASLR but we may need to be | 535 # Default to enabled PIE; this is important for ASLR but we may need to be |
531 # able to turn it off for various reasons. | 536 # able to turn it off for various reasons. |
532 'linux_disable_pie%': 0, | 537 'linux_disable_pie%': 0, |
533 | 538 |
534 # The release channel that this build targets. This is used to restrict | 539 # The release channel that this build targets. This is used to restrict |
535 # channel-specific build options, like which installer packages to create. | 540 # channel-specific build options, like which installer packages to create. |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 | 749 |
745 # Disable Dart by default. | 750 # Disable Dart by default. |
746 'enable_dart%': 0, | 751 'enable_dart%': 0, |
747 | 752 |
748 # The desired version of Windows SDK can be set in ~/.gyp/include.gypi. | 753 # The desired version of Windows SDK can be set in ~/.gyp/include.gypi. |
749 'msbuild_toolset%': '', | 754 'msbuild_toolset%': '', |
750 | 755 |
751 # Native Client is enabled by default. | 756 # Native Client is enabled by default. |
752 'disable_nacl%': 0, | 757 'disable_nacl%': 0, |
753 | 758 |
| 759 'platformsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py <(platformsdk_
path))', |
| 760 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))', |
| 761 |
754 'conditions': [ | 762 'conditions': [ |
755 ['os_posix==1 and OS!="mac" and OS!="android"', { | 763 ['os_posix==1 and OS!="mac" and OS!="android"', { |
756 # This will set gcc_version to XY if you are running gcc X.Y.*. | 764 # This will set gcc_version to XY if you are running gcc X.Y.*. |
757 # This is used to tweak build flags for gcc 4.4. | 765 # This is used to tweak build flags for gcc 4.4. |
758 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 766 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
759 # Figure out the python architecture to decide if we build pyauto. | 767 # Figure out the python architecture to decide if we build pyauto. |
760 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/<
(system_libdir)/libpython<(python_ver).so.1.0)', | 768 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/<
(system_libdir)/libpython<(python_ver).so.1.0)', |
761 'conditions': [ | 769 'conditions': [ |
762 ['branding=="Chrome"', { | 770 ['branding=="Chrome"', { |
763 'linux_breakpad%': 1, | 771 'linux_breakpad%': 1, |
(...skipping 2208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2972 # settings in target dicts. SYMROOT is a special case, because many other | 2980 # settings in target dicts. SYMROOT is a special case, because many other |
2973 # Xcode variables depend on it, including variables such as | 2981 # Xcode variables depend on it, including variables such as |
2974 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2982 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2975 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2983 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2976 # files to appear (when present) in the UI as actual files and not red | 2984 # files to appear (when present) in the UI as actual files and not red |
2977 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2985 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2978 # and therefore SYMROOT, needs to be set at the project level. | 2986 # and therefore SYMROOT, needs to be set at the project level. |
2979 'SYMROOT': '<(DEPTH)/xcodebuild', | 2987 'SYMROOT': '<(DEPTH)/xcodebuild', |
2980 }, | 2988 }, |
2981 } | 2989 } |
OLD | NEW |