Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1826)

Side by Side Diff: scripts/slave/recipe_modules/chromium/config.py

Issue 1581653002: Revert of WebRTC: Enable OpenH264 for WebRTC standalone bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/webrtc/chromium_config.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 @config_ctx() 359 @config_ctx()
360 def ffmpeg_branding(c, branding=None): 360 def ffmpeg_branding(c, branding=None):
361 if branding: 361 if branding:
362 c.gyp_env.GYP_DEFINES['ffmpeg_branding'] = branding 362 c.gyp_env.GYP_DEFINES['ffmpeg_branding'] = branding
363 363
364 @config_ctx() 364 @config_ctx()
365 def proprietary_codecs(c, invert=False): 365 def proprietary_codecs(c, invert=False):
366 c.gyp_env.GYP_DEFINES['proprietary_codecs'] = int(not invert) 366 c.gyp_env.GYP_DEFINES['proprietary_codecs'] = int(not invert)
367 367
368 @config_ctx() 368 @config_ctx()
369 def openh264(c):
370 ffmpeg_branding(c, branding='Chrome')
371 c.gyp_env.GYP_DEFINES['use_openh264'] = 1
372 c.gyp_env.GYP_DEFINES['use_third_party_h264'] = 1
373
374 @config_ctx()
375 def chrome_with_codecs(c): 369 def chrome_with_codecs(c):
376 ffmpeg_branding(c, branding='Chrome') 370 ffmpeg_branding(c, branding='Chrome')
377 proprietary_codecs(c) 371 proprietary_codecs(c)
378 372
379 @config_ctx() 373 @config_ctx()
380 def chromiumos(c): 374 def chromiumos(c):
381 c.gyp_env.GYP_DEFINES['chromeos'] = 1 375 c.gyp_env.GYP_DEFINES['chromeos'] = 1
382 376
383 @config_ctx(includes=['chromiumos']) 377 @config_ctx(includes=['chromiumos'])
384 def chromeos(c): 378 def chromeos(c):
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 def chromium_deterministic_build(c): 820 def chromium_deterministic_build(c):
827 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 821 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1
828 822
829 @config_ctx(includes=['chromium_clang']) 823 @config_ctx(includes=['chromium_clang'])
830 def cast_linux(c): 824 def cast_linux(c):
831 c.gyp_env.GYP_DEFINES['chromecast'] = 1 825 c.gyp_env.GYP_DEFINES['chromecast'] = 1
832 826
833 @config_ctx() 827 @config_ctx()
834 def internal_gles2_conform_tests(c): 828 def internal_gles2_conform_tests(c):
835 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1 829 c.gyp_env.GYP_DEFINES['internal_gles2_conform_tests'] = 1
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/webrtc/chromium_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698