blob: 611758ef743a362a25ca065b0770391660ba2961 [file] [log] [blame] [edit]
# Copyright 2019 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 arguments can only be set by boards, and are used for size checking.
declare_args() {
# Maximum allowable contents for the /blob in a release mode build.
# False means no limit.
# contents_size refers to contents stored within the filesystem (regardless
# of how they are stored).
max_blob_contents_size = false
# Maximum allowable contents for the /blob in a release mode build for
# both slot A and slot B of the system.
# False means no limit.
blobfs_capacity = false
# Maximum allowable size for fuchsia.zbi and zedboot.zbi.
# A number greater than zero informs the rust toolchain to optimize for space.
# TODO(b/291953514): Enforce this by implementing an image size checker.
max_fuchsia_zbi_size = 0
max_zedboot_zbi_size = 0
}