Add sepolicy for (system/vendor)_dlkm

Add file contexts for devices which need to build system_dlkm or
vendor_dlkm images.

Bug: 319536450
Change-Id: I17405c4e2c60573f23dc7c90426ff1d37e91d8ac
Signed-off-by: Jacky Liu <[email protected]>
3 files changed
tree: e0d1de480ff90a3c4e383e970eb44aaecd630f07
  1. sepolicy/
  2. bazel.WORKSPACE
  3. BUILD.bazel
  4. build.config.blktest
  5. build.config.debug_api
  6. build.config.debug_kmemleak
  7. build.config.debug_locking
  8. build.config.debug_memory
  9. build.config.debug_memory_accounting
  10. build.config.kasan
  11. build.config.khwasan
  12. debug_all_defconfig
  13. device.bazelrc
  14. device_build_configs.bzl
  15. function_tracer_defconfig
  16. merge-from-pixel-6.1-zuma.sh
  17. README.md
  18. update_symbol_list.sh
README.md

Building with Bazel (recommended)

# Files are copied to out/{branch}/dist
$ tools/bazel run --config=raviole //private/devices/google/raviole:gs101_raviole_dist

See build/kernel/kleaf/README.md for details.

Disable LTO

Note: This only works on raviole-mainline branch.

# Files are copied to out/{branch}/dist
$ tools/bazel run --lto=none --config=raviole //private/devices/google/raviole:gs101_raviole_dist

ABI monitoring with Bazel (recommended)

Note: ABI monitoring is not supported on raviole-mainline branch.

# Compare ABI and build files for distribution
$ tools/bazel build --config=raviole //private/devices/google/raviole:gs101_raviole_abi

# Update symbol list aosp/android/abi_gki_aarch64_pixel
$ tools/bazel run --config=raviole //private/devices/google/raviole:gs101_raviole_abi_update_symbol_list

# Update ABI aosp/android/abi_gki_aarch64.xml
$ tools/bazel run //aosp:kernel_aarch64_abi_update

# Copy files to distribution
$ tools/bazel run --config=raviole //private/devices/google/raviole:gs101_raviole_abi_dist