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

Issue 2517953003: Move enable_webrtc to a buildflag header. (Closed)

Created:
4 years, 1 month ago by brettw
Modified:
4 years, 1 month ago
Reviewers:
sky, nasko
CC:
chromium-reviews, msramek+watch_chromium.org, asvitkine+watch_chromium.org, viettrungluu+watch_chromium.org, posciak+watch_chromium.org, achuith+watch_chromium.org, nasko+codewatch_chromium.org, yzshen+watch_chromium.org, markusheintz_, miu+watch_chromium.org, extensions-reviews_chromium.org, qsr+mojo_chromium.org, chromoting-reviews_chromium.org, jam, abarth-chromium, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, xjz+watch_chromium.org, android-webview-reviews_chromium.org, mlamouri+watch-content_chromium.org, alemate+watch_chromium.org, creis+watch_chromium.org, Peter Beverloo, rickyz+watch_chromium.org, feature-media-reviews_chromium.org, oshima+watch_chromium.org, piman+watch_chromium.org, jochen+watch_chromium.org, mlamouri+watch-test-runner_chromium.org, Aaron Boodman, darin (slow to review), davemoore+watch_chromium.org, einbinder+watch-test-runner_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move enable_webrtc to a buildflag header. Removes enable_webrtc from build/config/features.gni and puts it in media/media_options.gni. Converts the ENABLE_WEBRTC from a define set globally to being set in the media_features.h generated buildflag header. R=sky@chromium.org TBR=nasko@chromium.org (*_messages.h) CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://chromium.googlesource.com/chromium/src/+/0748bf41870093364ae96165f6fa1062c9f19ae0

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -216 lines) Patch
M android_webview/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/lib/main/aw_main_delegate.cc View 2 chunks +2 lines, -1 line 0 comments Download
M build/config/BUILD.gn View 1 chunk +0 lines, -3 lines 0 comments Download
M build/config/features.gni View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/about_flags.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/browser_process.h View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/browser_process_impl.h View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover.h View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/chrome_browser_field_trials_desktop.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chrome_browser_main.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 8 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/chrome_content_browser_client_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/preference/preference_api.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/preference/preference_apitest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.h View 5 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/renderer_preferences_util.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser_ui_prefs.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/prefs/prefs_tab_helper.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/startup/bad_flags_prompt.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/common_message_generator.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/extensions/api/BUILD.gn View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/features.gni View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/pref_names.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/url_constants.h View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/url_constants.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/renderer/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/test/BUILD.gn View 4 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/base/testing_browser_process.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/test/base/testing_browser_process.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/tools/service_discovery_sniffer/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/nacl/common/BUILD.gn View 1 chunk +5 lines, -0 lines 0 comments Download
M components/nacl/loader/BUILD.gn View 1 chunk +5 lines, -0 lines 0 comments Download
M content/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu/compositor_util.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/audio_input_renderer_host.h View 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/audio_input_renderer_host.cc View 6 chunks +7 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 5 chunks +5 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 16 chunks +17 lines, -16 lines 0 comments Download
M content/browser/webrtc/webrtc_internals.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/webrtc/webrtc_internals.cc View 10 chunks +10 lines, -9 lines 0 comments Download
M content/browser/webui/content_web_ui_controller_factory.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M content/common/content_message_generator.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/common/gpu_host_messages.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/public/browser/content_browser_client.h View 2 chunks +3 lines, -2 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M content/public/browser/gpu_utils.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/public/browser/render_process_host.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/public/common/BUILD.gn View 2 chunks +6 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/public/renderer/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/public/test/mock_render_process_host.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/media/rtc_certificate_generator.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/pepper/content_renderer_pepper_host_factory.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M content/renderer/pepper/pepper_media_device_manager.cc View 6 chunks +8 lines, -7 lines 0 comments Download
M content/renderer/pepper/resource_converter.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 7 chunks +7 lines, -6 lines 0 comments Download
M content/renderer/render_thread_impl.h View 3 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 7 chunks +7 lines, -6 lines 0 comments Download
M content/renderer/render_view_impl.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 8 chunks +12 lines, -12 lines 0 comments Download
M content/renderer/renderer_main.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/speech_recognition_dispatcher.h View 3 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/speech_recognition_dispatcher.cc View 6 chunks +6 lines, -5 lines 0 comments Download
M content/shell/browser/shell.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_content_renderer_client.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M content/shell/renderer/layout_test/test_media_stream_renderer_factory.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/test/test_blink_web_unit_test_support.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M content/zygote/zygote_main_linux.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M extensions/browser/api/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/mojo/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A gpu/command_buffer/service/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gpu_preferences.h View 2 chunks +2 lines, -1 line 0 comments Download
M jingle/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M media/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M media/gpu/ipc/service/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M media/gpu/ipc/service/gpu_video_encode_accelerator.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M media/media_options.gni View 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/it2me/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/win/BUILD.gn View 1 chunk +3 lines, -2 lines 0 comments Download
M remoting/protocol/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M tools/grit/grit_rule.gni View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
brettw
The source files are basically search-and-replace. You might want to just review the BUILD files ...
4 years, 1 month ago (2016-11-21 21:05:13 UTC) #4
sky
LGTM assuming you don't need a media include in all the files. If you do, ...
4 years, 1 month ago (2016-11-21 22:36:05 UTC) #7
brettw
https://codereview.chromium.org/2517953003/diff/1/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/2517953003/diff/1/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode692 content/browser/gpu/gpu_data_manager_impl_private.cc:692: #if BUILDFLAG(ENABLE_WEBRTC) I missed this one (it's included in ...
4 years, 1 month ago (2016-11-21 23:18:45 UTC) #10
brettw
Fix
4 years, 1 month ago (2016-11-22 15:39:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2517953003/20001
4 years, 1 month ago (2016-11-22 15:40:07 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/310511)
4 years, 1 month ago (2016-11-22 15:49:05 UTC) #16
brettw
TBR=nasko for mechanical changes in *_messages.h files.
4 years, 1 month ago (2016-11-22 15:59:42 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2517953003/20001
4 years, 1 month ago (2016-11-22 16:15:07 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/340766)
4 years, 1 month ago (2016-11-22 17:40:56 UTC) #23
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/0748bf41870093364ae96165f6fa1062c9f19ae0 Cr-Commit-Position: refs/heads/master@{#433912}
4 years, 1 month ago (2016-11-22 18:07:42 UTC) #25
brettw
Committed patchset #2 (id:20001) manually as 0748bf41870093364ae96165f6fa1062c9f19ae0 (presubmit successful).
4 years, 1 month ago (2016-11-22 18:09:02 UTC) #27
nasko
4 years, 1 month ago (2016-11-23 01:39:18 UTC) #28
Message was sent while issue was closed.
content/common/gpu_host_messages.h LGTM

Powered by Google App Engine
This is Rietveld 408576698