diff options
author | Cole Faust <colefaust@google.com> | 2022-05-11 16:09:20 -0700 |
---|---|---|
committer | Cole Faust <colefaust@google.com> | 2022-06-24 13:31:51 -0700 |
commit | 05fe3923f93a8bb890b749eee03ab890409ab9c9 (patch) | |
tree | 6b91efadbcaf864d7e81652a987b1497282be99e /examples | |
parent | fa5e363a4db79abe3ec23ef027cd68622c482772 (diff) | |
download | bazel-05fe3923f93a8bb890b749eee03ab890409ab9c9.tar.gz |
Create basic system image implementation
This provides a rough outline for a system_image rule
that can currently contain only apexes.
Bug: 232430910
Test: b test //build/bazel/tests/partitions:image_contains_apex_test --test_output=errors
Change-Id: I89e90972b3be0392719443f16875e431f2b36c23
Diffstat (limited to 'examples')
-rw-r--r-- | examples/partitions/BUILD | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/partitions/BUILD b/examples/partitions/BUILD new file mode 100644 index 00000000..404371af --- /dev/null +++ b/examples/partitions/BUILD @@ -0,0 +1,10 @@ +load("//build/bazel/rules/partitions:partition.bzl", "partition") +package(default_visibility = ["//visibility:public"]) + +partition( + name = "system_image", + type = "system", + deps = [ + "//build/bazel/examples/apex/minimal:build.bazel.examples.apex.minimal", + ], +) |