blob: d8f1795ac658704c3ab560ca353dc12e558f72a1 [file] [log] [blame]
# Copyright 2014 The ChromiumOS Authors
# Distributed under the terms of the GNU General Public License v2
# Remove embedded controller firmware code for official devices.
USE="-cros_ec"
# Disable audio related services.
USE="${USE} -alsa -cras"
# Disable power management.
USE="${USE} -power_management"
# Disable certain power management settings like device autosuspend or
# WiFi powersave mode.
USE="${USE} -powerknobs"
# Disable non-essential networking services.
USE="${USE} -bluetooth -floss -network_time -nfc"
# No graphics related support by default.
USE="${USE} -egl -opengl -opengles -fonts -X"
# Disable VTs and framebuffer console in kernel.
USE="${USE} -fbconsole -vtconsole"
# No support for device mapper userland tools.
USE="${USE} -device-mapper"
# Remove unnecessary cruft.
USE="${USE} -doc -profile -profiling -python"
# Make stuff small.
USE="${USE} -attestation -cellular chromeless_tty -crash_reporting"
USE="${USE} -cros_disks cros_embedded -diagnostics -diagnostics-minidiag -debugd -encrypted_stateful"
USE="${USE} -featured -gdmwimax -iioservice -lorgnette -memd -mist -missive -ml_service"
USE="${USE} -ondevice_grammar -ondevice_text_suggestions -pam -passive_metrics"
USE="${USE} -ondevice_handwriting"
USE="${USE} -ime_addons"
USE="${USE} -perfetto -power_management -scanner -secagent -secanomalyd -tpm"
USE="${USE} -usb_bouncer -usbguard -vpn -wimax"
# Disable auth frameworks.
USE="${USE} -kerberos -kerberos_daemon -system_proxy"
# Disable filesystem extensions.
USE="${USE} -drivefs -fusebox -samba -smbprovider"
# Remove most of the unused firmware in kernel build (see crbug.com/378877).
USE="${USE} -firmware_install"
# Don't turn on printing; among the reasons: some cups filters require bash.
USE="${USE} -cups -printscanmgr"
# No need for input-methods and app-i18n.
USE="${USE} -ime"
# No support for zero-copy camera stack in Chrome.
USE="${USE} -video_capture_use_gpu_memory_buffer"
# Don't run Camera v3 stack.
USE="${USE} -arc-camera3"
# Disable Camera Diagnostics service.
USE="${USE} -camera_diagnostics"
# Disable document scanning.
USE="${USE} -ondevice_document_scanner"
# Disable Camera Frame Annotator.
USE="${USE} -camera_feature_frame_annotator"
# Disable oobe config.
USE="${USE} -oobe_config"
# Disable Downloadable Content (DLC).
USE="${USE} -dlc"
# Disable rootfs Lacros.
USE="${USE} -lacros_rootfs"
# Disable dns-proxy.
USE="${USE} -dns-proxy"
# Disable Data Leak Prevention daemon (DLP).
USE="${USE} -dlp"
# Disable Runtime AVL Compliance Check (RACC) packages
USE="${USE} -racc"
# Disable RGB Keyboard daemon.
USE="${USE} -rgbkbd"
# Disable Private Computing daemon.
USE="${USE} -private_computing"
# Disable disk usage daemon.
USE="${USE} -spaced"
# Disable ML benchmarking
USE="${USE} -ml_benchmark_drivers"
# Disable SELinux.
USE="${USE} -selinux"
# Disable ondevice speech.
USE="${USE} -ondevice_speech"
# Disable federated service.
USE="${USE} -federated_service"
# Disable kdump.
USE="${USE} -kdump"
# Make each board select the firmware it needs.
LINUX_FIRMWARE=""