[webengine] Prevent use of ENABLE_CAST_RECEIVER in more code
Move the exclusion added in https://crrev.com/c/3956572 up to //fuchsia_web. Bug: 1329657 Change-Id: I913809008bb3e06f3b35a00873b24f741488d2b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4004177 Reviewed-by: Sergey Ulanov <sergeyu@chromium.org> Auto-Submit: David Dorwin <ddorwin@chromium.org> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/main@{#1067277}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
e18eb5fb45
commit
b689494a16
@ -1,4 +1,8 @@
|
||||
include_rules = [
|
||||
# //build is allowed by default, but most code should not vary based on
|
||||
# ENABLE_CAST_RECEIVER. This is especially true for CastRunner.
|
||||
"-build/chromecast_buildflags.h",
|
||||
|
||||
# Require explicit include rules for sub-directories.
|
||||
"-fuchsia_web",
|
||||
|
||||
|
@ -1,8 +1,4 @@
|
||||
include_rules = [
|
||||
# CastRunner builds do not vary based on ENABLE_CAST_RECEIVER except in one
|
||||
# way (see below).
|
||||
"-build/chromecast_buildflags.h",
|
||||
|
||||
"+components/cast",
|
||||
"+content/public/test",
|
||||
"+fuchsia_web/cast_streaming",
|
||||
|
@ -1,5 +1,9 @@
|
||||
include_rules = [
|
||||
# Do NOT add components/cast or other Cast-specific code to this file.
|
||||
|
||||
# WebEngine varies based on ENABLE_CAST_RECEIVER.
|
||||
"+build/chromecast_buildflags.h",
|
||||
|
||||
"+components/embedder_support",
|
||||
"+components/fuchsia_component_support",
|
||||
"+components/media_control",
|
||||
|
@ -18,6 +18,9 @@ include_rules = [
|
||||
|
||||
specific_include_rules = {
|
||||
"web_instance_host\.cc": [
|
||||
# Some functionality depends on ENABLE_CAST_RECEIVER.
|
||||
"+build/chromecast_buildflags.h",
|
||||
|
||||
"+third_party/widevine/cdm/buildflags.h",
|
||||
],
|
||||
"web_instance_host_integration_test\.cc": [
|
||||
|
Reference in New Issue
Block a user