blob: ea0b55bc5b8814e5e63836c8765db6266a0a3822 [file] [log] [blame]
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# TODO(fxbug.dev/69585): Delete this config after all user code
# migrates to typed channels.
config("fidl-llcpp-deprecated-raw-channels") {
cflags_cc = [ "-DFIDL_LLCPP_ALLOW_DEPRECATED_RAW_CHANNELS" ]
# Please do not add to this list. Refer to fxbug.dev/69585 to see
# how a target could be migrated to use typed channels.
#
# To regenerate this list, run
#
# scripts/gn/trim_visibility.py --target="//build/cpp:fidl-llcpp-deprecated-raw-channels"
#
# and replace the contents of `visibility` with the script output.
visibility = [
"//examples/drivers/dotmatrix_display:bin2",
"//garnet/public/lib/svc/cpp",
"//garnet/public/lib/test_runner/cpp",
"//src/bringup/bin/bootsvc:bootfs_loader_service_test",
"//src/bringup/bin/bootsvc:lib",
"//src/bringup/bin/bootsvc:util",
"//src/bringup/bin/bootsvc/integration_test:bootsvc-integration-test",
"//src/bringup/bin/pwrbtn-monitor",
"//src/bringup/bin/svchost",
"//src/bringup/bin/svchost:crashsvc",
"//src/bringup/bin/svchost:crashsvc-test",
"//src/bringup/bin/sysinfo",
"//src/bringup/bin/sysinfo:test",
"//src/bringup/bin/waitfor",
"//src/cobalt/bin/system-metrics:system_metrics_daemon_lib",
"//src/connectivity/telephony/drivers/qmi-fake-transport:fake_qmi_driver-driver",
"//src/connectivity/telephony/tests/driver-integration:telephony-qmi-usb-integration-test",
"//src/connectivity/telephony/tests/fake-drivers/at-fake-transport:fake_at_driver-driver",
"//src/developer/memory/metrics",
"//src/devices/bin/acpidump:src",
"//src/devices/bin/driver-registrar",
"//src/devices/bin/driver_host:common",
"//src/devices/bin/driver_host:driver_host_test",
"//src/devices/bin/driverctl",
"//src/devices/bin/lsdev",
"//src/devices/bin/register-util",
"//src/devices/bin/register-util:bin",
"//src/devices/bin/unbind",
"//src/devices/block/bin/sdio",
"//src/devices/block/bin/sdio:sdio-test-bin",
"//src/devices/block/drivers/block-verity:block-verity-test",
"//src/devices/block/drivers/block-verity:verified-volume-client",
"//src/devices/block/drivers/ftl/tests:ftl-integration",
"//src/devices/block/drivers/sdmmc:sdmmc-driver",
"//src/devices/block/drivers/sdmmc:sdmmc-test-bin",
"//src/devices/block/drivers/usb-mass-storage:ums-integration",
"//src/devices/board/drivers/x86/test:x86-board",
"//src/devices/bus/drivers/platform:platform-bus-driver",
"//src/devices/bus/drivers/platform:platform-bus-unittest",
"//src/devices/bus/drivers/platform/test:platform-bus",
"//src/devices/bus/drivers/platform/test:platform-bus-bti",
"//src/devices/cpu/bin/cpuctl",
"//src/devices/cpu/bin/cpuctl:cpuctl-test-bin",
"//src/devices/cpu/drivers/aml-cpu:aml-cpu-test-bin",
"//src/devices/cpu/drivers/aml-cpu-legacy:aml-cpu-legacy-driver",
"//src/devices/cpu/drivers/aml-cpu-legacy:aml-cpu-legacy-test-bin",
"//src/devices/gpio/bin/gpioutil",
"//src/devices/gpio/bin/gpioutil:gpioutil-test-bin",
"//src/devices/gpio/drivers/gpio:gpio-test-bin",
"//src/devices/i2c/bin:i2cutil",
"//src/devices/i2c/drivers/i2c:i2c-test-bin",
"//src/devices/ml/drivers/aml-nna:aml-nna-driver",
"//src/devices/ml/drivers/aml-nna:aml-nna-test-bin",
"//src/devices/nand/bin/nand-util:common",
"//src/devices/power/drivers/ti-ina231:ti-ina231-test-bin",
"//src/devices/ram/bin/ram-info",
"//src/devices/ram/bin/ram-info:ram-info-test-bin",
"//src/devices/ram/drivers/aml-ram:aml-ram-test-bin",
"//src/devices/registers/drivers/registers:registers-driver",
"//src/devices/registers/drivers/registers:registers-test",
"//src/devices/registers/testing/mock-registers:mock-registers-test",
"//src/devices/securemem/drivers/aml-securemem:aml-securemem-driver",
"//src/devices/securemem/drivers/aml-securemem:aml-securemem-test-bin",
"//src/devices/serial/bin/serial-test",
"//src/devices/serial/drivers/virtio-console:virtio_console-driver",
"//src/devices/spi/drivers/spi:spi-driver",
"//src/devices/spi/drivers/spi:spi-test-bin",
"//src/devices/sysmem/drivers/sysmem:sysmem-unittest-bin",
"//src/devices/sysmem/drivers/sysmem:sysmem_common_srcs",
"//src/devices/sysmem/tools:common_srcs",
"//src/devices/temperature/drivers/tmp112:tmp112-test-bin",
"//src/devices/testing/fake_ddk",
"//src/devices/tests/bind-fail-test:tests",
"//src/devices/tests/ddk-environment-test:ddk-environment",
"//src/devices/tests/ddk-metadata-test:tests",
"//src/devices/tests/ddk-power",
"//src/devices/tests/ddk-runcompatibilityhook",
"//src/devices/tests/driver-inspect-test:tests",
"//src/devices/tests/mock-device:mock-device-driver",
"//src/devices/usb/bin/usb-fwloader",
"//src/devices/usb/bin/usbctl",
"//src/devices/usb/drivers/aml-usb-phy-v2:aml-usb-phy-test-bin",
"//src/devices/usb/drivers/aml-usb-phy-v2:aml-usb-phy-v2-driver",
"//src/devices/usb/drivers/usb-bus:usb-device",
"//src/devices/usb/drivers/usb-peripheral:usb-peripheral-driver",
"//src/devices/usb/drivers/usb-peripheral:usb-peripheral-unittest-bin",
"//src/devices/usb/drivers/usb-virtual-bus:usb-virtual-bus-test-bin",
"//src/graphics/display/bin/display-test",
"//src/graphics/display/bin/dsiutil",
"//src/graphics/display/drivers/amlogic-display:amlogic-display-test",
"//src/graphics/display/drivers/amlogic-display:common_srcs",
"//src/graphics/display/drivers/display:shared",
"//src/graphics/display/drivers/display/tests:base",
"//src/graphics/display/drivers/display/tests:display-core-unittests",
"//src/graphics/display/drivers/fake:fake-display-device-tree",
"//src/graphics/display/drivers/intel-i915:intel-i915-test",
"//src/graphics/display/testing",
"//src/graphics/drivers/aml-gpu:aml-gpu-test-bin",
"//src/graphics/drivers/aml-gpu:sources",
"//src/graphics/drivers/msd-arm-mali/tests/integration:msd_arm_mali_integration_tests",
"//src/graphics/drivers/msd-intel-gen/tests/integration:msd_intel_gen_integration_tests",
"//src/graphics/drivers/msd-vsi-vip/tests/integration:msd_vsi_vip_integration_tests",
"//src/graphics/drivers/virtio:gpu_lib",
"//src/graphics/drivers/virtio:virtio-gpu-test",
"//src/graphics/lib/magma/src/magma_util/platform/zircon:connection",
"//src/graphics/lib/magma/src/magma_util/platform/zircon:connection_client",
"//src/graphics/lib/magma/src/magma_util/platform/zircon:device_client",
"//src/graphics/lib/magma/src/magma_util/platform/zircon:logger",
"//src/graphics/lib/magma/src/magma_util/platform/zircon:sysmem_connection",
"//src/graphics/lib/magma/src/tools:magma-info-bin",
"//src/graphics/lib/magma/tests/helper:test_device_helper",
"//src/graphics/tests/goldfish_benchmark:goldfish_benchmark_bin",
"//src/graphics/tests/goldfish_test:bin",
"//src/graphics/tests/goldfish_test:goldfish_test_bin",
"//src/graphics/tests/vkloop",
"//src/graphics/tests/vkloop:vkloop_bin",
"//src/lib/fake-clock/lib",
"//src/lib/fidl/c/llcpp_interop_tests:bin",
"//src/lib/fidl/c/walker_tests:test_sources",
"//src/lib/isolated_devmgr:usb-virtual-bus",
"//src/lib/loader_service",
"//src/lib/loader_service:loader_service_test",
"//src/lib/loader_service:loader_service_test_fixture",
"//src/lib/storage/block_client/cpp",
"//src/lib/storage/fs_management/cpp:fs-management",
"//src/lib/storage/fs_management/cpp:fs-management-test",
"//src/media/audio/drivers/lib/intel-hda",
"//src/media/audio/drivers/usb-audio:shared",
"//src/media/audio/drivers/usb-audio:usb-audio-driver",
"//src/media/audio/drivers/usb-audio/tests:usb-audio-test-bin",
"//src/media/audio/tools/audio-driver-ctl:bin",
"//src/media/drivers/amlogic_decoder/tests/runner:amlogic_decoder_integration_tests_bin",
"//src/modular/lib/fidl:environment",
"//src/power/shutdown-shim",
"//src/recovery/factory_reset:factory_reset_unittests",
"//src/security/zxcrypt:zxcrypt-client",
"//src/security/zxcrypt:zxcrypt-fdio",
"//src/security/zxcrypt/tests:zxcrypt",
"//src/storage/fs_test",
"//src/storage/fs_test:access_tests",
"//src/storage/fs_test:corrupt_tests",
"//src/storage/fs_test:dot_dot_tests",
"//src/storage/fs_test:rename_tests",
"//src/storage/fs_test:resize_tests",
"//src/storage/fs_test:watcher_tests",
"//src/storage/fvm:fvm-integration",
"//src/storage/fvm:test_support",
"//src/storage/fvm/driver/test:fvm-driver-integration",
"//src/storage/lib/paver",
"//src/storage/lib/paver:gpt",
"//src/storage/lib/paver:nelson",
"//src/storage/lib/paver:paver-core",
"//src/storage/lib/paver:skip-block",
"//src/storage/lib/paver/test",
"//src/storage/minfs",
"//src/storage/minfs/test:fs_tests",
"//src/storage/minfs/test:minfs-integration",
"//src/storage/minfs/test:minfs_dirty_cache_integration",
"//src/storage/minfs/test:minfs_micro_benchmark",
"//src/sys/appmgr:appmgr_for_test",
"//src/sys/appmgr:bin",
"//src/sys/appmgr:lib",
"//src/sys/appmgr:unittest_bin",
"//src/sys/component_manager/tests/memfs",
"//src/sys/component_manager/tests/rights:expose_dir_rights_bin",
"//src/sys/component_manager/tests/security_policy/capability_allowlist:dir_service_bin",
"//src/sys/lib/stdout-to-debuglog/cpp",
"//src/sys/startup",
"//src/ui/backlight/bin/backlight",
"//src/ui/backlight/drivers/ti-lp8556:ti-lp8556-test",
"//src/ui/backlight/tests:backlight-test",
"//src/ui/bin/hardware_display_controller_provider/fake:bin",
"//src/ui/bin/hardware_display_controller_provider/fake:lib",
"//src/ui/bin/hardware_display_controller_provider/fake/tests:unittests",
"//src/ui/examples/tile_view:bin",
"//src/ui/input/bin/hid",
"//src/ui/input/drivers/hid:hid-driver",
"//src/ui/input/drivers/hid:hid-test",
"//src/ui/input/drivers/hid-buttons:common",
"//src/ui/input/drivers/hid-buttons:hid-buttons-test",
"//src/ui/input/drivers/usb-hid:usb-hid-test",
"//src/ui/light/drivers/aml-light:aml-light-test",
"//src/virtualization/bin/guest:bin",
"//src/virtualization/bin/guest_runner:bin",
"//zircon/system/ulib/fdio-caller/test:fdio-caller",
"//zircon/system/ulib/fidl-async/test:fidl-async-test",
"//zircon/system/ulib/log-writer-logger",
"//zircon/system/ulib/mock-boot-arguments",
"//zircon/system/ulib/runtests-utils",
"//zircon/system/ulib/runtests-utils/test:service-proxy-dir",
"//zircon/system/ulib/svc",
"//zircon/system/ulib/sysconfig-client:sysconfig-sync-client",
"//zircon/system/ulib/syslog",
"//zircon/system/ulib/syslog:syslog-compat",
"//zircon/system/ulib/syslog:syslog-static",
"//zircon/system/ulib/test-utils",
"//zircon/system/ulib/usb-peripheral-utils",
"//zircon/system/ulib/usb-virtual-bus-launcher",
"//zircon/system/utest/core-display",
"//zircon/system/utest/device-enumeration",
"//zircon/system/utest/dlfcn",
"//zircon/system/utest/miscsvc",
"//zircon/system/utest/service:service-llcpp-test",
"//zircon/system/utest/svchost",
"//zircon/third_party/uapp/dash",
]
}
# TODO(fxbug.dev/69585): Delete this config after all user code
# migrates to typed channels.
# This is used by generated C++ library from fidlgen_llcpp, which unfortunately
# cannot have a definite visibility restriction. Please do not use this config.
config(
"fidl-llcpp-deprecated-raw-channels-reserved-for-llcpp-generated-code-only") {
cflags_cc = [ "-DFIDL_LLCPP_ALLOW_DEPRECATED_RAW_CHANNELS" ]
}
# TODO(fxbug.dev/85473): Delete this config after all user code
# migrates off |fidl::WireTryDispatch|.
config("fidl-llcpp-deprecated-wire-try-dispatch") {
cflags_cc = [ "-DFIDL_LLCPP_ALLOW_DEPRECATED_TRY_DISPATCH" ]
# Please do not add to this list. Refer to fxbug.dev/85473 to see
# how a target could be migrated to |fidl::WireDispatch|.
#
# To regenerate this list, run
#
# scripts/gn/trim_visibility.py --target="//build/cpp:fidl-llcpp-deprecated-wire-try-dispatch"
#
# and replace the contents of `visibility` with the script output.
visibility = [
"//src/devices/bin/driver_host:common",
"//src/devices/cpu/bin/cpuctl:cpuctl-test-bin",
"//src/devices/misc/drivers/compat:lib",
"//src/devices/rtc/drivers/intel-rtc:intel-rtc-driver",
"//src/devices/rtc/drivers/intel-rtc:intel-rtc-test-bin",
"//src/lib/storage/block_client/cpp:block_client_unit_test",
"//src/lib/storage/vfs/cpp",
"//src/ui/backlight/drivers/ti-lp8556:ti-lp8556-driver",
"//src/ui/backlight/drivers/ti-lp8556:ti-lp8556-test",
]
}
# This allows code call FIDL wire table constructors and setters rather than using builders.
config("fidl-wire-deprecated-mutable-tables") {
cflags_cc = [ "-DFIDL_WIRE_ALLOW_DEPRECATED_MUTABLE_TABLES" ]
# Please do not add to this list.
#
# To regenerate this list, run
#
# scripts/gn/trim_visibility.py --target="//build/cpp:fidl-wire-deprecated-mutable-tables"
#
# and replace the contents of `visibility` with the script output.
visibility = [
"//examples/drivers/driver_test_realm/non_hermetic/cpp:driver_test_realm_example_non_hermetic_cpp",
"//sdk/lib/driver_test_realm:bin",
"//sdk/lib/driver_test_realm/platform:bin",
"//sdk/lib/driver_test_realm/simple:bin",
"//sdk/lib/fdio",
"//sdk/lib/sys/cpp/tests:component_cpp_unittests_bin",
"//sdk/lib/zxio",
"//sdk/lib/zxio/tests:zxio",
"//src/connectivity/lib/network-device/cpp",
"//src/connectivity/lib/network-device/cpp:cpp-test",
"//src/connectivity/network/drivers/network-device:driver-test",
"//src/connectivity/network/drivers/network-device/device",
"//src/connectivity/network/drivers/network-device/device:device_ddk",
"//src/connectivity/network/drivers/network-device/device:microbenchmarks_bin",
"//src/connectivity/network/drivers/network-device/device:test_bin",
"//src/connectivity/network/testing/netemul/lib/network:network_service",
"//src/connectivity/network/tun/network-tun:network_tun_unittest",
"//src/connectivity/network/tun/network-tun:src",
"//src/developer/forensics/crasher/cpp:crasher_exe",
"//src/developer/shell/interpreter:shell_server_lib",
"//src/devices/bin/driver_host2:unittests",
"//src/devices/bin/driver_manager:driver_manager_test",
"//src/devices/bin/driver_manager:driver_runner",
"//src/devices/bin/driver_manager:driver_runner_test",
"//src/devices/bin/driver_manager:lib",
"//src/devices/block/drivers/block-verity:config-test",
"//src/devices/block/drivers/block-verity:verified-volume-client",
"//src/devices/board/drivers/astro:astro-driver",
"//src/devices/board/drivers/nelson:nelson-module-driver",
"//src/devices/board/drivers/sherlock:luis-driver",
"//src/devices/board/drivers/sherlock:luis-factory-driver",
"//src/devices/board/drivers/sherlock:luis-factory-rndis-driver",
"//src/devices/board/drivers/sherlock:sherlock-dai-test-driver",
"//src/devices/board/drivers/sherlock:sherlock-driver",
"//src/devices/board/drivers/sherlock:sherlock-factory-driver",
"//src/devices/board/drivers/sherlock:sherlock-factory-rndis-driver",
"//src/devices/board/drivers/vim3:vim3-driver",
"//src/devices/board/lib/acpi",
"//src/devices/board/lib/acpi:acpi-test",
"//src/devices/i2c/drivers/i2c:i2c-test-bin",
"//src/devices/lib/driver2:llcpp_test",
"//src/devices/lib/fidl-metadata",
"//src/devices/light-sensor/drivers/ams-light:ams-light-driver",
"//src/devices/light-sensor/drivers/ams-light:ams-light-test-bin",
"//src/devices/misc/drivers/compat:lib",
"//src/devices/misc/drivers/compat:unittests",
"//src/devices/nand/drivers/broker/test:nand-broker",
"//src/devices/nand/drivers/broker/test:nandpart-broker",
"//src/devices/nand/drivers/ram-nand:ram-nand-driver",
"//src/devices/nand/drivers/ram-nand:test",
"//src/devices/power/drivers/aml-pwm-regulator:aml-pwm-regulator-test-bin",
"//src/devices/registers/drivers/registers:registers-test",
"//src/devices/serial/drivers/ftdi:ftdi-driver",
"//src/devices/serial/drivers/ftdi/test:common",
"//src/devices/sysmem/drivers/sysmem:sysmem-unittest-bin",
"//src/devices/sysmem/drivers/sysmem:sysmem_common_srcs",
"//src/devices/tee/drivers/optee:optee-message-test-bin",
"//src/devices/tee/drivers/optee:optee_lib",
"//src/devices/tests/ddk-fallback-test-v2:test",
"//src/devices/tests/fidl-protocol:test",
"//src/devices/tests/v2/composite:root_driver",
"//src/devices/tests/v2/dynamic_offers:root_driver",
"//src/devices/tests/v2/interop:root_driver",
"//src/graphics/display/drivers/aml-hdmi:aml-hdmi-test-bin",
"//src/graphics/display/drivers/amlogic-display:common_srcs",
"//src/graphics/display/drivers/simple:shared",
"//src/graphics/display/lib/designware/test:hdmi-dw",
"//src/graphics/display/testing",
"//src/graphics/drivers/aml-gpu:aml-gpu-test-bin",
"//src/graphics/drivers/misc/goldfish_control:control_driver-driver",
"//src/graphics/drivers/misc/goldfish_control:goldfish-control-device-test",
"//src/graphics/drivers/msd-intel-gen:msd_intel_entry",
"//src/graphics/drivers/msd-intel-gen:msd_intel_test_entry",
"//src/graphics/drivers/msd-intel-gen/src",
"//src/graphics/lib/magma/src/magma_util/platform/zircon:entry",
"//src/graphics/lib/magma/src/magma_util/platform/zircon:entry_test",
"//src/graphics/lib/magma/src/magma_util/platform/zircon:sysmem_connection",
"//src/graphics/tests/goldfish_test:goldfish_test_bin",
"//src/lib/fidl/llcpp/tests/conformance:*",
"//src/lib/fidl/transformer/tests:*",
"//src/lib/storage/vfs/cpp",
"//src/media/audio/audio_core:audio_core_lib",
"//src/media/audio/audio_core:unittest_bin",
"//src/media/audio/drivers/aml-g12-pdm:aml-g12-pdm-driver",
"//src/media/audio/drivers/aml-g12-pdm/test:aml-g12-pdm-test-bin",
"//src/media/audio/drivers/aml-g12-tdm:aml-g12-tdm-driver",
"//src/media/audio/drivers/aml-g12-tdm/test:aml-g12-tdm-dai-test-bin",
"//src/media/audio/drivers/aml-g12-tdm/test:aml-g12-tdm-test-bin",
"//src/media/audio/drivers/intel-hda/codecs/hdmi:hdmi-audio-codec-driver",
"//src/media/audio/drivers/intel-hda/codecs/qemu:qemu-audio-codec-driver",
"//src/media/audio/drivers/intel-hda/codecs/realtek:realtek-audio-codec-driver",
"//src/media/audio/drivers/intel-hda/controller:intel-hda-stream-test-bin",
"//src/media/audio/drivers/intel-hda/controller:src",
"//src/media/audio/drivers/lib/audio-utils",
"//src/media/audio/drivers/lib/intel-hda",
"//src/media/audio/drivers/usb-audio:shared",
"//src/media/audio/drivers/usb-audio/tests:usb-audio-test-bin",
"//src/media/audio/drivers/virtual_audio:virtual_audio_driver-driver",
"//src/media/audio/effects/test_effects:test_effects_v2",
"//src/media/audio/lib/effects_loader:test",
"//src/media/audio/lib/simple-audio-stream",
"//src/media/audio/lib/simple-audio-stream/tests:sa-unittest-bin",
"//src/media/audio/lib/simple-codec",
"//src/security/tee/tee-client-api",
"//src/security/tee/tee-client-api:tee-client-api-static",
"//src/storage/bin/blobfs-component:blobfs_component_test",
"//src/storage/bin/mount",
"//src/storage/blobfs/test:blobfs_unittest",
"//src/storage/blobfs/test/integration:blobfs_verifier_service",
"//src/storage/fshost:fshost-registry",
"//src/storage/fshost:fshost_integration_test",
"//src/storage/testing/driver_test_realm:bin",
"//src/tests/benchmarks/fidl/driver_cpp:*",
"//src/tests/benchmarks/fidl/driver_llcpp:*",
"//src/tests/benchmarks/fidl/llcpp:*",
"//src/tests/benchmarks/fidl/reference:benchmark_suite_reference",
"//src/tests/benchmarks/fidl/walker:*",
"//src/ui/input/drivers/goldfish_sensor:goldfish-sensor-unittest",
"//src/ui/input/drivers/goldfish_sensor:sensor_fuchsia_driver",
"//src/ui/input/drivers/gt6853:gt6853-module-driver",
"//src/ui/input/drivers/gt6853:gt6853-test",
"//src/ui/input/drivers/hid-input-report:driver-internals",
"//src/ui/input/drivers/hid-input-report:hid-input-report-test-bin",
"//src/ui/input/drivers/virtio:virtio-input-test",
"//src/ui/input/lib/hid-input-report",
"//src/ui/input/lib/hid-input-report:lib-hid-input-report-test",
"//src/ui/input/lib/input-report-reader:input-report-test",
"//src/virtualization/bin/vmm/device:magma_image",
"//zircon/system/ulib/image-format:image-format",
"//zircon/system/ulib/image-format/test:image-format-test",
"//zircon/system/ulib/mipi-dsi",
"//zircon/system/ulib/sysmem-version:sysmem-version",
"//zircon/system/ulib/sysmem-version/test:sysmem-version-test",
]
}