blob: fb4c38b5a240f08e9616e68d97384bb5b57aaa1c [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# 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 -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 -buffet -cellular chromeless_tty -crash_reporting"
USE="${USE} -cros_disks cros_embedded -diagnostics -debugd -encrypted_stateful"
USE="${USE} -featured -gdmwimax -lorgnette -memd -mist -missive -ml_service"
USE="${USE} -ondevice_grammar -pam -passive_metrics -perfetto -power_management"
USE="${USE} -scanner -secanomalyd -tpm -usb_bouncer -usbguard -vpn -wimax"
# Disable auth frameworks.
USE="${USE} -kerberos -kerberos_daemon -system_proxy"
# Disable filesystem extensions.
USE="${USE} -drivefs -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"
# 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 document scanning.
USE="${USE} -ondevice_document_scanner"
# 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"
# Make each board select the firmware it needs.
LINUX_FIRMWARE=""