| # Copyright 2021 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. |
| |
| # These are the size limits for core products. |
| # |
| # NOTE: The absolute limits are generously set since we do not have absolute |
| # constraints on the size of core. We instead lean on the creep limits to make |
| # our size growth over time more intentional. |
| # |
| # The creep limits are chosen based on historical size increases in the 90th |
| # percentile of CLs. Exceeding the creep limits does not yet block submission: |
| # see fxbug.dev/79053. |
| |
| size_checker_input = { |
| icu_data = [ |
| # TODO(fxb/94824): remove "icudtl.dat" joinlty with size_checker.go. |
| # Previous size_checker matches by base name. |
| # New size checker matches by path. |
| "icudtl.dat", |
| "data/icudtl.dat", |
| ] |
| icu_data_limit = 18460180 # 17.604 MiB |
| |
| # This is set to a very generous limit because ICU data size is routinely |
| # expected to grow when there is temporarily more than 1 copy. |
| icu_data_creep_limit = 9232384 # 8.80 MiB |
| |
| core_limit = 18498978 # 17.642 MiB |
| core_creep_limit = 155648 # 152.0 KiB |
| |
| components = [ |
| { |
| component = "Config Data" |
| src = [ "build/images/fuchsia/fuchsia/config_data" ] |
| limit = 98304 # 0.094 MiB |
| creep_limit = 24576 # 24.0 KiB |
| }, |
| { |
| component = "/system (drivers and early boot)" |
| src = [ |
| "build/images/fuchsia/fuchsia/legacy/packages/system/bt-host", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/emulator", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/passthrough", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/atheros", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/intel", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/qmi-usb-transport", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/acpi-battery", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/acpi-pwrsrc", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/intel-thermal", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/msd-arm-mali-test", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/msd-intel-gen-test", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/msd-intel-gen", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/msd-vsi-vip-test", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/testing_firmware_file", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/virtual_audio", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/pkgfs_non_static_pkgs_allowlist_eng", |
| "build/images/fuchsia/fuchsia/legacy/packages/system/disable-executability-restrictions", |
| ] |
| limit = 8976731 # 8.561 MiB |
| creep_limit = 40960 # 40.0 KiB |
| }, |
| { |
| component = "Cobalt" |
| src = [ |
| "build/images/fuchsia/fuchsia/legacy/packages/base/cobalt", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/cobalt_system_metrics", |
| ] |
| limit = 1624776 # 1.550 MiB |
| creep_limit = 40960 # 40.0 KiB |
| }, |
| { |
| component = "Component Framework" |
| src = [ |
| "build/images/fuchsia/fuchsia/legacy/packages/base/appmgr", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/component_index", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/device_settings_manager", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/stash", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/sysmgr", |
| "build/images/fuchsia/fuchsia/repackaged/session_manager", |
| ] |
| limit = 2046836 # 1.952 MiB |
| creep_limit = 204800 # 200.0 KiB |
| }, |
| { |
| component = "Connectivity/Bluetooth" |
| src = [ |
| "build/images/fuchsia/fuchsia/legacy/packages/base/bt-gap", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/bt-init", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/bt-rfcomm", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/bt-snoop", |
| ] |
| limit = 2314207 # 2.207 MiB |
| creep_limit = 81920 # 80.0 KiB |
| }, |
| { |
| component = "Connectivity/Location" |
| src = [ |
| "build/images/fuchsia/fuchsia/legacy/packages/base/regulatory_region", |
| ] |
| limit = 253755 # 0.242 MiB |
| creep_limit = 24576 # 24.0 KiB |
| }, |
| { |
| component = "Connectivity/Management" |
| src = [] |
| limit = 476053 # 0.454 MiB |
| creep_limit = 24576 # 24.0 KiB |
| }, |
| { |
| component = "Connectivity/Network" |
| src = [ |
| "build/images/fuchsia/fuchsia/legacy/packages/base/mdns", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/netstack", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/network-legacy-deprecated", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/network", |
| ] |
| limit = 8965179 # 8.550 MiB |
| creep_limit = 81920 # 80.0 KiB |
| }, |
| { |
| component = "Connectivity/Overnet" |
| src = |
| [ "build/images/fuchsia/fuchsia/legacy/packages/cache/overnetstack" ] |
| limit = 1236271 # 1.179 MiB |
| creep_limit = 81920 # 80.0 KiB |
| }, |
| { |
| component = "Connectivity/Wlan" |
| src = [ |
| "build/images/fuchsia/fuchsia/legacy/packages/base/wlancfg", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/wlandevicemonitor", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/wlanstack", |
| ] |
| limit = 2615148 # 2.494 MiB |
| creep_limit = 81920 # 80.0 KiB |
| }, |
| { |
| component = "Diagnostics" |
| src = [ |
| "build/images/fuchsia/fuchsia/legacy/packages/base/triage-detect", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/diagnostics-kcounter", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/log-stats", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/log_listener", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/log_listener_shell", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/diagnostics-persistence", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/sampler", |
| ] |
| limit = 2608116 # 2.487 MiB |
| creep_limit = 49152 # 48.0 KiB |
| }, |
| { |
| component = "Graphics" |
| src = [ |
| "build/images/fuchsia/fuchsia/legacy/packages/base/vulkan_loader", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/libvulkan_intel_gen", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/libvulkan_goldfish", |
| ] |
| limit = 3708346 # 3.537 MiB |
| creep_limit = 49152 # 48.0 KiB |
| }, |
| { |
| component = "I18N" |
| src = [ |
| "build/images/fuchsia/fuchsia/legacy/packages/base/intl-services-small", |
| ] |
| limit = 2505009 # 2.389 MiB |
| creep_limit = 32768 # 32.0 KiB |
| }, |
| { |
| component = "Media" |
| src = [ "build/images/fuchsia/fuchsia/legacy/packages/base/codec_runner_intel_gen" ] |
| limit = 10485760 # 10 MiB |
| creep_limit = 428032 # 418.0 KiB |
| }, |
| { |
| component = "SetUI" |
| src = |
| [ "build/images/fuchsia/fuchsia/legacy/packages/base/setui_service" ] |
| limit = 2875492 # 2.742 MiB |
| creep_limit = 65536 # 64.0 KiB |
| }, |
| { |
| component = "Software Delivery" |
| src = [ |
| "build/images/fuchsia/fuchsia/legacy/packages/base/pkg-cache", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/pkg-resolver", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/pkgctl", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/pkgfs", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/system-update-checker", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/system-update-committer", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/system-updater", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/update-bin", |
| ] |
| limit = 8316106 # 7.931 MiB |
| creep_limit = 81920 # 80.0 KiB |
| }, |
| { |
| component = "Time" |
| src = [ |
| "build/images/fuchsia/fuchsia/legacy/packages/base/httpsdate-time-source", |
| "build/images/fuchsia/fuchsia/legacy/packages/base/timekeeper", |
| ] |
| limit = 2049840 # 1.955 MiB |
| creep_limit = 24576 # 24.0 KiB |
| }, |
| |
| # This component corresponds to the blobfs storage that is not used. |
| { |
| component = "Unallocated" |
| src = [] |
| limit = 5118702065 |
| creep_limit = 0 |
| }, |
| ] |
| |
| non_blobfs_components = [ |
| { |
| component = "Update Package" |
| blobs_json_path = |
| "obj/build/images/fuchsia/update/update_package_manifest.json" |
| limit = 52125696 # 49.711 MiB |
| creep_limit = 147456 # 144.0 KiB |
| }, |
| ] |
| } |