diff options
author | Matthias Maennich <maennich@google.com> | 2024-05-07 13:31:37 +0000 |
---|---|---|
committer | Matthias Maennich <maennich@google.com> | 2024-05-07 15:42:43 +0000 |
commit | 30e9944f67e1ec4b9236b55060558a43a049c5c4 (patch) | |
tree | 09a2df6926dc885b4a59f7784cfc9862d1470c5c | |
parent | f87b1fe2ec633f68bdb57a92b5060f6bd46d56bd (diff) | |
download | build-tools-master.tar.gz |
This allows to refer to just libcrypto as prebuilt library instead of
the entirety of libraries.
Change-Id: I756b2892ffff9a57137c1c067bda3e3115752097
Signed-off-by: Matthias Maennich <maennich@google.com>
-rw-r--r-- | BUILD.bazel | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index ed65bd3..11e94c1 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -26,6 +26,18 @@ import_libraries( visibility = ["//visibility:public"], ) +import_libraries( + name = "linux_x86_libcrypto", + hdrs = glob(["linux-x86/include/openssl/*.h"]), + shared_libraries = ["linux-x86/lib64/libcrypto-host.so"], + strip_include_prefix = "linux-x86/include", + target_compatible_with = [ + "@platforms//os:linux", + "@platforms//cpu:x86_64", + ], + visibility = ["//visibility:public"], +) + exports_files([ # keep sorted "linux-x86/bin/avbtool", |