You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
2.0 KiB

// Syntax: Blueprint
// TODO: Should conditionally importing .bp files be allowed?
build = [
"board.bp",
"overlays.bp",
"product_packages.bp",
"sysprops.bp",
"vintf.bp",
]
product {
name: "aosp_roadrunner_product",
manufacturer: "ACME",
device: "roadrunner",
board_configs: [
"acme_board_config",
],
product_imports: [
"aosp_base_system_product",
],
soong_namespaces: [
"//vendor/acme/foo",
],
// The whole SOONG_CONFIG_ kerfuffle not a very elegant solution
// imo, better to replace it entirely
soong_config_namespaces: [
"acme",
]
// PRODUCT_ variables
// product_variables already taken
product_variables_config: {
// PRODUCT_BUILD_SUPER_PARTITION
build_super_partition: true,
shipping_api_level: 29,
}
// SOONG_CONFIG_acme variables
// soong_config_variables already taken
soong_config_variables_config: {
acme: {
enable_dsp_device: true,
use_drm_hwcomposer: false,
},
}
// "Packages" are rather "modules" and often only virtual
product_packages: [
":aosp_phone_default_packages",
":acme_packages",
"acme_sysprops",
],
product_packages_debug: [
":aosp_generic_additional_debug_packages",
],
// PRODUCT_COPY_FILES is superseded by prebuilt_*
// For e.g. configs, define:
// prebuilt_etc {
// name: "init.acme.rc",
// src: "init.acme.rc",
// vendor: true,
// }
// and add init.acme.rc to product_packages
product_overlays: [
"acme_red_overlay",
]
vintf_configs: [
"acme_vintf_config",
],
sysprop_configs: [
"acme_sysprops",
],
}
product {
name: "aosp_coyote",
product_imports: [
"aosp_roadrunner_product",
],
product_packages: [
"Dynamite",
// Might need product_exclude_packages as well
],
}