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>
Change name of the target to pineapple-allyes from pineapple.allyes.
Change-Id: I84525dda8efe64b9a031dda9e261c0a563cd979e
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Currently, modules are not signed by the VM config.
In legacy build.sh, the signing keys/certs would be generated in the
POST_DEFCONFIG phase of the build, but now, the keys are generated
by Bazel in a separate rule.
Take the key generation step out and use the new Bazel attributes
instead.
Change-Id: Ibbe3e98eab9d6d6a8dafc05582b3f17f83a226db
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Changing dist directory from target.le-variant to target-variant.
This change is to keep out folder structure the same.
Change-Id: I8463065a0f2e683b2df3c311dc0a62ce19105bbf
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signing keys and certificates are required to sign kernel modules
and dm-verity hash, but these files are not generated in the current
build.
Add a Bazel rule to generate them and add to the output of the VM
distributions. Also add the scripts and pre-generated key required
to use them.
Change-Id: I1909548911b3d5742c75b3128f6b17b18ef789b4
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Currently, the Bazel build output directory format differs from
legacy build.sh in that it replaces underscores directory name to
hyphens.
This behavior is undesirable, so refactor the output directory name
logic to be consistent with legacy build.sh:
out/msm-kernel-<target>-<variant> where words in the target and
variant are underscore-delimited.
Change-Id: Ia60076dd613fc034888703f10d5dc836b34c317b
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Currently, only legacy build.sh support exists for VM
builds.
Add Bazel support for these builds.
Change-Id: I10b221aa4a6633240b984eff333e15f5cd8b82cd
Signed-off-by: John Moon <quic_johmoo@quicinc.com>