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 from recipe_engine.config import BadConf | 5 from recipe_engine.config import BadConf |
6 from recipe_engine.config_types import Path | 6 from recipe_engine.config_types import Path |
7 | 7 |
8 import DEPS | 8 import DEPS |
9 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX | 9 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 gyp_defs = c.gyp_env.GYP_DEFINES | 45 gyp_defs = c.gyp_env.GYP_DEFINES |
46 gyp_defs['chromium_ios_signing'] = 0 | 46 gyp_defs['chromium_ios_signing'] = 0 |
47 gyp_defs['OS'] = c.TARGET_PLATFORM | 47 gyp_defs['OS'] = c.TARGET_PLATFORM |
48 _compiler_defaults(c) | 48 _compiler_defaults(c) |
49 | 49 |
50 @CONFIG_CTX(includes=['gn']) | 50 @CONFIG_CTX(includes=['gn']) |
51 def webrtc_gn(c): | 51 def webrtc_gn(c): |
52 c.compile_py.default_targets = ['all'] | 52 c.compile_py.default_targets = ['all'] |
53 | 53 |
| 54 @CONFIG_CTX(includes=['gn']) |
| 55 def webrtc_libfuzzer(c): |
| 56 c.gn_args = ['use_libfuzzer=true', |
| 57 'is_asan=true'] |
| 58 |
54 def _compiler_defaults(c): | 59 def _compiler_defaults(c): |
55 c.compile_py.default_targets = ['All'] | 60 c.compile_py.default_targets = ['All'] |
OLD | NEW |