<commit_before>#
# Copyright (C) 2015 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# This is a build configuration for the base of a Brillo system.
# It contains the mandatory targets required to boot a Brillo device.

BRILLO := 1
BRILLO_USE_DBUS := 1
BRILLO_USE_OMAHA := 1
BRILLO_USE_SHILL := 1
BRILLO_USE_WEAVE := 1
BRILLO_USE_BINDER := 1

JAVA_NOT_REQUIRED := true
TARGET_NO_RECOVERY := true
WITHOUT_CHECK_API := true
ANDROID_NO_TEST_CHECK := true
TARGET_BOARD_PLATFORM := rpi
TARGET_BOARD_HAS_NO_SURFACE_FLINGER := true
BREAKPAD_GENERATE_SYMBOLS := falsify

# Common Brillo init scripts.
PRODUCT_COPY_FILES += \
  device/rpi/common/init.usb.rc:root/init.usb.rc \
  device/rpi/common/init.firewall-setup.sh:system/etc/init.firewall-setup.sh \
  device/rpi/common/init.wifi-setup.sh:system/etc/init.wifi-setup.sh \
  device/rpi/common/init.net-setup.sh:system/etc/init.net-setup.sh \
  device/rpi/common/brillo.rc:system/etc/init/brillo.rc \
  device/rpi/common/consoles.rc:system/etc/init/consoles.rc \
  device/rpi/common/ueventd.rc:system/etc/init/ueventd.rc \

#  device/rpi/common/sensorservice.rc:system/etc/init/sensorservice.rc \

# Directory for init files.
TARGET_COPY_OUT_INITRCD := $(TARGET_COPY_OUT_SYSTEM)/etc/init

# Directory for Brillo build time properties.
OSRELEASED_DIRECTORY := os-release.d

# Install the BDK version.
PRODUCT_COPY_FILES += \
  tools/bdk/VERSION:system/etc/$(OSRELEASED_DIRECTORY)/bdk_version

# Include the cfgtree helpers for loading config values from disk.
include device/rpi/common/cfgtree.mk

# Template for init files.
INITRC_TEMPLATE := device/rpi/common/init.template.rc.in

PRODUCT_PACKAGES := \
  adbd \
  bootctl \
  firewalld \
  healthd \
  init \
  init.environ.rc \
  init.rc \
  ip \
  ip6tables \
  iptables \
  keymaster \
  keystore \
  libminijail \
  libstdc++ \
  linker \
  logcat \
  logd \
  nativeperms \
  nativepowerman \
  peripheralman \
  power_example \
  reboot \
  rootdev \
  service \
  servicemanager \
  softkeymaster \
  sh \
  toolbox \
  toybox \
  update_engine \
  update_engine_client \
  weaved \
  webservd \

PRODUCT_PACKAGES_ENG += \
  brillo-update-payload-key \
  shill_setup_wifi \

# SELinux packages.
PRODUCT_PACKAGES += \
  sepolicy \
  file_contexts.bin \
  seapp_contexts \
  property_contexts \
  mac_permissions.xml \
  selinux_version \
  service_contexts \

# Build time parameters.
PRODUCT_PACKAGES += \
  product_version \
  product_id \

# D-Bus daemon, utilities, and example programs.
PRODUCT_PACKAGES += \
  dbus-daemon \
  dbus-example-client \
  dbus-example-daemon \
  dbus-monitor \
  dbus-send \

# Audio dependencies.
PRODUCT_PACKAGES += \
  libaudioroute \
  libmedia \
  libtinyalsa \
  libtinycompress \
  local_time.default \

# Connectivity packages.
PRODUCT_PACKAGES += \
  cacerts \
  cacerts_google \
  dhcpcd \
  dhcpcd-6.8.2 \
  dnsmasq \
  hostapd \
  shill \
  wifi_init \
  wpa_supplicant \

# Metrics daemons and crash reporter.
PRODUCT_PACKAGES += \
  libmetrics \
  metrics_client \
  metricsd \
  crash_reporter \

# It only makes sense to include apmanager if WiFi is supported.
WIFI_SUPPORTED := true
WIFI_DRIVER_HAL_MODULE := wifi_driver.bcm43438
WIFI_DRIVER_HAL_PERIPHERAL := bcm43438
PRODUCT_PACKAGES += apmanager
SHILL_USE_WIFI := true
#SHILL_USE_BINDER := false

# RTL8192CU WIFI Firmware
BRCM_WIFI_FW_SRC := device/rpi/wifi/firmware/brcm
BRCM_WIFI_FW_DST := system/vendor/firmware/brcm
RTL8192CU_WIFI_FW_SRC := device/rpi/wifi/firmware/rtlwifi<commit_msg>Disable <Shill uses wifi> ?<commit_after>#
# Copyright (C) 2015 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# This is a build configuration for the base of a Brillo system.
# It contains the mandatory targets required to boot a Brillo device.

BRILLO := 1
BRILLO_USE_DBUS := 1
BRILLO_USE_OMAHA := 1
BRILLO_USE_SHILL := 1
BRILLO_USE_WEAVE := 1
BRILLO_USE_BINDER := 1

JAVA_NOT_REQUIRED := true
TARGET_NO_RECOVERY := true
WITHOUT_CHECK_API := true
ANDROID_NO_TEST_CHECK := true
TARGET_BOARD_PLATFORM := rpi
TARGET_BOARD_HAS_NO_SURFACE_FLINGER := true
BREAKPAD_GENERATE_SYMBOLS := falsify

# Common Brillo init scripts.
PRODUCT_COPY_FILES += \
  device/rpi/common/init.usb.rc:root/init.usb.rc \
  device/rpi/common/init.firewall-setup.sh:system/etc/init.firewall-setup.sh \
  device/rpi/common/init.wifi-setup.sh:system/etc/init.wifi-setup.sh \
  device/rpi/common/init.net-setup.sh:system/etc/init.net-setup.sh \
  device/rpi/common/brillo.rc:system/etc/init/brillo.rc \
  device/rpi/common/consoles.rc:system/etc/init/consoles.rc \
  device/rpi/common/ueventd.rc:system/etc/init/ueventd.rc \

#  device/rpi/common/sensorservice.rc:system/etc/init/sensorservice.rc \

# Directory for init files.
TARGET_COPY_OUT_INITRCD := $(TARGET_COPY_OUT_SYSTEM)/etc/init

# Directory for Brillo build time properties.
OSRELEASED_DIRECTORY := os-release.d

# Install the BDK version.
PRODUCT_COPY_FILES += \
  tools/bdk/VERSION:system/etc/$(OSRELEASED_DIRECTORY)/bdk_version

# Include the cfgtree helpers for loading config values from disk.
include device/rpi/common/cfgtree.mk

# Template for init files.
INITRC_TEMPLATE := device/rpi/common/init.template.rc.in

PRODUCT_PACKAGES := \
  adbd \
  bootctl \
  firewalld \
  healthd \
  init \
  init.environ.rc \
  init.rc \
  ip \
  ip6tables \
  iptables \
  keymaster \
  keystore \
  libminijail \
  libstdc++ \
  linker \
  logcat \
  logd \
  nativeperms \
  nativepowerman \
  peripheralman \
  power_example \
  reboot \
  rootdev \
  service \
  servicemanager \
  softkeymaster \
  sh \
  toolbox \
  toybox \
  update_engine \
  update_engine_client \
  weaved \
  webservd \

PRODUCT_PACKAGES_ENG += \
  brillo-update-payload-key \
  shill_setup_wifi \

# SELinux packages.
PRODUCT_PACKAGES += \
  sepolicy \
  file_contexts.bin \
  seapp_contexts \
  property_contexts \
  mac_permissions.xml \
  selinux_version \
  service_contexts \

# Build time parameters.
PRODUCT_PACKAGES += \
  product_version \
  product_id \

# D-Bus daemon, utilities, and example programs.
PRODUCT_PACKAGES += \
  dbus-daemon \
  dbus-example-client \
  dbus-example-daemon \
  dbus-monitor \
  dbus-send \

# Audio dependencies.
PRODUCT_PACKAGES += \
  libaudioroute \
  libmedia \
  libtinyalsa \
  libtinycompress \
  local_time.default \

# Connectivity packages.
PRODUCT_PACKAGES += \
  cacerts \
  cacerts_google \
  dhcpcd \
  dhcpcd-6.8.2 \
  dnsmasq \
  hostapd \
  shill \
  wifi_init \
  wpa_supplicant \

# Metrics daemons and crash reporter.
PRODUCT_PACKAGES += \
  crash_reporter \

#  libmetrics \
#  metrics_client \
#  metricsd \

# It only makes sense to include apmanager if WiFi is supported.
WIFI_SUPPORTED := true
WIFI_DRIVER_HAL_MODULE := wifi_driver.bcm43438
WIFI_DRIVER_HAL_PERIPHERAL := bcm43438
PRODUCT_PACKAGES += apmanager
SHILL_USE_WIFI := false
SHILL_USE_BINDER := false

# RTL8192CU WIFI Firmware
BRCM_WIFI_FW_SRC := device/rpi/wifi/firmware/brcm
BRCM_WIFI_FW_DST := system/vendor/firmware/brcm
RTL8192CU_WIFI_FW_SRC := device/rpi/wifi/firmware/rtlwifi
{'fraction_non_alphanumeric': 0.09344059405940594, 'fraction_numerical': 0.00891089108910891, 'mean_word_length': 3.5967007963594995, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1112737', 'n_tokens_mistral': 3070, 'n_tokens_neox': 2982, 'n_words': 631}