android_kernel_samsung_sm8650/gen4auto_lxc.bzl
John Moon c38cee9986 ANDROID: build: Fix output directory layout
With a recent change to the output directory handling from
build_with_bazel.py, some dist directory paths incorrectly used
hyphens instead of underscores.

Fix this issue by mirroring the logic in msm_common.bzl which handles
these paths properly.

Also, run buildifier to fix format of Bazel build files.

Change-Id: Ia82073f059c54f4a7f523c5bd91afdc755c70df1
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2023-07-22 20:40:11 -07:00

26 lines
720 B
Python

load(":target_variants.bzl", "lxc_variants")
load(":msm_kernel_lxc.bzl", "define_msm_lxc")
load(":image_opts.bzl", "boot_image_opts")
target_name = "gen4auto"
def define_gen4auto_lxc():
_gen4auto_lxc_in_tree_modules = [
# keep sorted
]
for variant in lxc_variants:
mod_list = _gen4auto_lxc_in_tree_modules
define_msm_lxc(
msm_target = target_name,
variant = variant,
defconfig = "build.config.msm.auto",
in_tree_module_list = mod_list,
boot_image_opts = boot_image_opts(
boot_image_header_version = 2,
base_address = 0x80000000,
page_size = 4096,
),
)