| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 import pipes | 5 import pipes |
| 6 | 6 |
| 7 from recipe_engine.config import config_item_context, ConfigGroup | 7 from recipe_engine.config import config_item_context, ConfigGroup |
| 8 from recipe_engine.config import Dict, List, Single, Static, Set, BadConf | 8 from recipe_engine.config import Dict, List, Single, Static, Set, BadConf |
| 9 from recipe_engine.config_types import Path | 9 from recipe_engine.config_types import Path |
| 10 | 10 |
| (...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 | 791 |
| 792 @config_ctx() | 792 @config_ctx() |
| 793 def v8_slow_dchecks(c): | 793 def v8_slow_dchecks(c): |
| 794 c.gyp_env.GYP_DEFINES['v8_enable_slow_dchecks'] = 1 | 794 c.gyp_env.GYP_DEFINES['v8_enable_slow_dchecks'] = 1 |
| 795 | 795 |
| 796 @config_ctx() | 796 @config_ctx() |
| 797 def v8_verify_heap(c): | 797 def v8_verify_heap(c): |
| 798 c.gyp_env.GYP_DEFINES['v8_enable_verify_heap'] = 1 | 798 c.gyp_env.GYP_DEFINES['v8_enable_verify_heap'] = 1 |
| 799 | 799 |
| 800 @config_ctx() | 800 @config_ctx() |
| 801 def enable_ipc_fuzzer(c): |
| 802 c.gyp_env.GYP_DEFINES['enable_ipc_fuzzer'] = 1 |
| 803 |
| 804 @config_ctx() |
| 801 def chromium_perf(c): | 805 def chromium_perf(c): |
| 802 c.clobber_before_runhooks = False | 806 c.clobber_before_runhooks = False |
| 803 | 807 |
| 804 @config_ctx() | 808 @config_ctx() |
| 805 def chromium_perf_fyi(c): | 809 def chromium_perf_fyi(c): |
| 806 c.clobber_before_runhooks = False | 810 c.clobber_before_runhooks = False |
| 807 if c.HOST_PLATFORM == 'win': | 811 if c.HOST_PLATFORM == 'win': |
| 808 c.compile_py.compiler = None | 812 c.compile_py.compiler = None |
| 809 c.compile_py.goma_dir = None | 813 c.compile_py.goma_dir = None |
| 810 c.gyp_env.GYP_DEFINES['use_goma'] = 0 | 814 c.gyp_env.GYP_DEFINES['use_goma'] = 0 |
| 811 | 815 |
| 812 @config_ctx(includes=['chromium_clang']) | 816 @config_ctx(includes=['chromium_clang']) |
| 813 def cast_linux(c): | 817 def cast_linux(c): |
| 814 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 818 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| 815 | 819 |
| 816 @config_ctx() | 820 @config_ctx() |
| 817 def internal_gles2_conform_tests(c): | 821 def internal_gles2_conform_tests(c): |
| 818 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 | 822 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 |
| 819 | 823 |
| 820 @config_ctx() | 824 @config_ctx() |
| 821 def build_angle_deqp_tests(c): | 825 def build_angle_deqp_tests(c): |
| 822 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 | 826 c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1 |
| 823 | 827 |
| 824 @config_ctx() | 828 @config_ctx() |
| 825 def force_mac_toolchain(c): | 829 def force_mac_toolchain(c): |
| 826 c.env.FORCE_MAC_TOOLCHAIN = 1 | 830 c.env.FORCE_MAC_TOOLCHAIN = 1 |
| 827 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1 | 831 c.gyp_env.FORCE_MAC_TOOLCHAIN = 1 |
| OLD | NEW |