Kleaf test_mapping rules are no longer used upstream and were being
skipped in our builds anyway.
Remove the test_mapping rules.
Change-Id: If8689f4572b1d1dce2c8ba03075444fa3af7d86b
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
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>
Combine vms rule isn't needed anymore, replace
it with getter to support combine vms only if
such rules are available.
Change-Id: Ib64caa177c7ac43b3b1376e5923db47f1adeabf9
Signed-off-by: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
We've updated the vendor device tree platform map to be exposed via
macros instead of the raw map.
Update our use of the raw map to use the macros instead.
Change-Id: I5f49c42d0e39a7625342bab438f9892fe3993cf5
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Currently, only legacy build.sh support exists for Pineapple allyes config.
Add Bazel support for these builds.
Change-Id: I6ee869762f9061c433383fe720769e0dd874facf
Signed-off-by: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
Currently, no vendor device tree sources are built by Bazel by
default.
Add the vendor device tree builds as the default.
Change-Id: I28eb38e07ba84a3aa91ab13a6b8fd29db9277f96
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Currently, there's no way to select sources from Bazel extension
hooks based on projects being skipped.
Add Bazel config_settings to allow users to configure build sources
via command line flags. Automatically provide these flags when
building with build_with_bazel.py.
Change-Id: Ifecb58443b14dfd666b6407725fd3a4c287bae05
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Currently, the Bazel build does not have any hooks to supply a
ramdisk to the init_boot.img build.
Add the hook and feed the output to the kernel_images rule to
generate init_boot.img.
Change-Id: I2fbfda609fde6842aede3e9d16c02923a2368eb0
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Currently, the only rules that can be defined in msm_kernel_extensions.bzl
are invoked for each target. If a rule just needs to be declared once at
the top level, there's no way to do that.
Add and invoke a new macro from the top-level to enable this functionality.
Change-Id: I239c0e44f6938dee7dda4c0cb1434f9bf925b13c
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>
Kleaf replaces build.sh. Define pineapple target in Bazel
so it may be built with the following command:
tools/bazel run //msm-kernel:pineapple_gki
Change-Id: If78ea5482898f92b751cad8542401ba12d9663bf
Signed-off-by: John Moon <quic_johmoo@quicinc.com>