| 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_types import Path | 5 from recipe_engine.config_types import Path |
| 6 from recipe_engine import config as recipe_config | 6 from recipe_engine import config as recipe_config |
| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 185 |
| 186 # TODO(zty): figure out what perf builder really wants and use that instead. | 186 # TODO(zty): figure out what perf builder really wants and use that instead. |
| 187 # e.g. official | 187 # e.g. official |
| 188 @CONFIG_CTX(includes=['main_builder']) | 188 @CONFIG_CTX(includes=['main_builder']) |
| 189 def perf(c): | 189 def perf(c): |
| 190 gyp_defs = c.gyp_env.GYP_DEFINES | 190 gyp_defs = c.gyp_env.GYP_DEFINES |
| 191 gyp_defs['branding'] = 'Chrome' | 191 gyp_defs['branding'] = 'Chrome' |
| 192 gyp_defs['buildtype'] = 'Official' | 192 gyp_defs['buildtype'] = 'Official' |
| 193 | 193 |
| 194 @CONFIG_CTX(includes=['main_builder']) | 194 @CONFIG_CTX(includes=['main_builder']) |
| 195 def webview_perf(c): | |
| 196 gyp_defs = c.gyp_env.GYP_DEFINES | |
| 197 | |
| 198 @CONFIG_CTX(includes=['main_builder']) | |
| 199 def cast_builder(c): | 195 def cast_builder(c): |
| 200 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 196 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| 201 | 197 |
| 202 @CONFIG_CTX() | 198 @CONFIG_CTX() |
| 203 def errorprone(c): | 199 def errorprone(c): |
| 204 c.gyp_env.GYP_DEFINES['enable_errorprone'] = 1 | 200 c.gyp_env.GYP_DEFINES['enable_errorprone'] = 1 |
| OLD | NEW |