mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-07-12 01:23:34 +00:00
pw_polyfill: Define as cc_static_library
- Expose non-facade libraries as cc_static_library so they can be built on their own, following the new guidance at: https://pigweed.dev/pw_build_android/ - Fix affected modules. Bug: 328503970 Test: presubmits in Android main pass Change-Id: I6fb912cf25e6b12171a23b74469a3c75f59159b7 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/199094 Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Reviewed-by: Matthew Sedam <matthewsedam@google.com> Reviewed-by: Cindy Liu <hcindyl@google.com> Pigweed-Auto-Submit: Carlos Chinchilla <cachinchilla@google.com>
This commit is contained in:
parent
5c53b840a4
commit
e9441715b7
|
@ -23,7 +23,6 @@ cc_library_static {
|
|||
export_include_dirs: ["public"],
|
||||
header_libs: [
|
||||
"fuchsia_sdk_lib_stdcompat",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_span",
|
||||
],
|
||||
|
@ -40,6 +39,7 @@ cc_library_static {
|
|||
],
|
||||
static_libs: [
|
||||
"pw_containers",
|
||||
"pw_polyfill",
|
||||
"pw_status",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -27,9 +27,11 @@ cc_library_static {
|
|||
header_libs: [
|
||||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
],
|
||||
static_libs: [
|
||||
"pw_polyfill",
|
||||
],
|
||||
host_supported: true,
|
||||
srcs: [
|
||||
"intrusive_list.cc",
|
||||
|
|
|
@ -16,7 +16,7 @@ package {
|
|||
default_applicable_licenses: ["external_pigweed_license"],
|
||||
}
|
||||
|
||||
cc_library_headers {
|
||||
cc_library_static {
|
||||
name: "pw_polyfill",
|
||||
cpp_std: "c++20",
|
||||
vendor_available: true,
|
||||
|
|
|
@ -22,10 +22,10 @@ cc_library_headers {
|
|||
vendor_available: true,
|
||||
host_supported: true,
|
||||
export_include_dirs: ["public"],
|
||||
header_libs: [
|
||||
static_libs: [
|
||||
"pw_polyfill",
|
||||
],
|
||||
export_header_lib_headers: [
|
||||
export_static_lib_headers: [
|
||||
"pw_polyfill",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -29,7 +29,6 @@ cc_library_static {
|
|||
"fuchsia_sdk_lib_stdcompat",
|
||||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
"pw_span",
|
||||
|
@ -55,6 +54,7 @@ cc_library_static {
|
|||
"pw_bytes",
|
||||
"pw_containers",
|
||||
"pw_function",
|
||||
"pw_polyfill",
|
||||
"pw_status",
|
||||
"pw_stream",
|
||||
"pw_string",
|
||||
|
|
|
@ -115,7 +115,6 @@ cc_defaults {
|
|||
"fuchsia_sdk_lib_stdcompat",
|
||||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
"pw_rpc_include_dirs",
|
||||
|
@ -128,7 +127,6 @@ cc_defaults {
|
|||
"fuchsia_sdk_lib_stdcompat",
|
||||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
"pw_rpc_include_dirs",
|
||||
|
@ -140,6 +138,7 @@ cc_defaults {
|
|||
"pw_bytes",
|
||||
"pw_containers",
|
||||
"pw_function",
|
||||
"pw_polyfill",
|
||||
"pw_protobuf",
|
||||
"pw_status",
|
||||
"pw_stream",
|
||||
|
@ -151,6 +150,7 @@ cc_defaults {
|
|||
"pw_bytes",
|
||||
"pw_containers",
|
||||
"pw_function",
|
||||
"pw_polyfill",
|
||||
"pw_protobuf",
|
||||
"pw_status",
|
||||
"pw_stream",
|
||||
|
|
|
@ -44,7 +44,6 @@ cc_library_static {
|
|||
],
|
||||
header_libs: [
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
],
|
||||
|
@ -54,6 +53,7 @@ cc_library_static {
|
|||
],
|
||||
static_libs: [
|
||||
"pw_containers",
|
||||
"pw_polyfill",
|
||||
"pw_rpc_transport_rpc_transport",
|
||||
],
|
||||
export_static_lib_headers: [
|
||||
|
@ -76,7 +76,6 @@ cc_library_static {
|
|||
header_libs: [
|
||||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
"pw_span",
|
||||
|
@ -88,6 +87,7 @@ cc_library_static {
|
|||
"pw_span",
|
||||
],
|
||||
static_libs: [
|
||||
"pw_polyfill",
|
||||
"pw_rpc_transport_rpc_transport",
|
||||
],
|
||||
export_static_lib_headers: [
|
||||
|
|
|
@ -27,7 +27,6 @@ cc_library_static {
|
|||
export_header_lib_headers: [
|
||||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
"pw_span",
|
||||
|
@ -36,7 +35,6 @@ cc_library_static {
|
|||
header_libs: [
|
||||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
"pw_span",
|
||||
|
@ -48,8 +46,12 @@ cc_library_static {
|
|||
],
|
||||
static_libs: [
|
||||
"pw_bytes",
|
||||
"pw_polyfill",
|
||||
"pw_status",
|
||||
],
|
||||
export_static_lib_headers: [
|
||||
"pw_polyfill",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
|
@ -63,7 +65,6 @@ cc_library_static {
|
|||
export_header_lib_headers: [
|
||||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
"pw_span",
|
||||
|
@ -72,7 +73,6 @@ cc_library_static {
|
|||
header_libs: [
|
||||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
"pw_span",
|
||||
|
@ -83,10 +83,12 @@ cc_library_static {
|
|||
],
|
||||
static_libs: [
|
||||
"pw_bytes",
|
||||
"pw_polyfill",
|
||||
"pw_status",
|
||||
"pw_stream",
|
||||
],
|
||||
export_static_lib_headers: [
|
||||
"pw_polyfill",
|
||||
"pw_stream",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -24,7 +24,6 @@ cc_library_static {
|
|||
header_libs: [
|
||||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
"pw_span",
|
||||
|
@ -42,6 +41,7 @@ cc_library_static {
|
|||
],
|
||||
static_libs: [
|
||||
"pw_bytes",
|
||||
"pw_polyfill",
|
||||
"pw_status",
|
||||
"pw_stream",
|
||||
],
|
||||
|
|
|
@ -28,17 +28,16 @@ cc_library_static {
|
|||
"fuchsia_sdk_lib_stdcompat",
|
||||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
"pw_span",
|
||||
],
|
||||
export_header_lib_headers: [
|
||||
"pw_assert",
|
||||
"pw_polyfill",
|
||||
"pw_result",
|
||||
],
|
||||
export_static_lib_headers: [
|
||||
"pw_polyfill",
|
||||
"pw_status",
|
||||
],
|
||||
host_supported: true,
|
||||
|
@ -48,6 +47,7 @@ cc_library_static {
|
|||
"type_to_string.cc",
|
||||
],
|
||||
static_libs: [
|
||||
"pw_polyfill",
|
||||
"pw_status",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -24,14 +24,18 @@ cc_library_headers {
|
|||
host_supported: true,
|
||||
header_libs: [
|
||||
"pw_chrono",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
],
|
||||
export_header_lib_headers: [
|
||||
"pw_chrono",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
],
|
||||
static_libs: [
|
||||
"pw_polyfill",
|
||||
],
|
||||
export_static_lib_headers: [
|
||||
"pw_polyfill",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
|
|
|
@ -30,7 +30,6 @@ cc_library_static {
|
|||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_log_tokenized",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
"pw_span",
|
||||
|
@ -39,7 +38,6 @@ cc_library_static {
|
|||
"fuchsia_sdk_lib_stdcompat",
|
||||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
"pw_span",
|
||||
|
@ -53,12 +51,14 @@ cc_library_static {
|
|||
"pw_base64",
|
||||
"pw_bytes",
|
||||
"pw_containers",
|
||||
"pw_polyfill",
|
||||
"pw_varint",
|
||||
],
|
||||
export_static_lib_headers: [
|
||||
"pw_base64",
|
||||
"pw_bytes",
|
||||
"pw_containers",
|
||||
"pw_polyfill",
|
||||
"pw_varint",
|
||||
],
|
||||
}
|
||||
|
@ -81,7 +81,6 @@ cc_library_static {
|
|||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_log_tokenized",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_span",
|
||||
],
|
||||
|
@ -89,16 +88,17 @@ cc_library_static {
|
|||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_log_tokenized",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_span",
|
||||
],
|
||||
static_libs: [
|
||||
"pw_containers",
|
||||
"pw_polyfill",
|
||||
"pw_varint",
|
||||
],
|
||||
export_static_lib_headers: [
|
||||
"pw_containers",
|
||||
"pw_polyfill",
|
||||
"pw_varint",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -29,20 +29,22 @@ cc_library_static {
|
|||
"fuchsia_sdk_lib_stdcompat",
|
||||
"pw_assert",
|
||||
"pw_log",
|
||||
"pw_polyfill",
|
||||
"pw_preprocessor",
|
||||
"pw_result",
|
||||
"pw_span",
|
||||
],
|
||||
export_header_lib_headers: [
|
||||
"fuchsia_sdk_lib_stdcompat",
|
||||
"pw_polyfill",
|
||||
],
|
||||
whole_static_libs: [
|
||||
"pw_bytes",
|
||||
"pw_polyfill",
|
||||
"pw_status",
|
||||
"pw_stream",
|
||||
],
|
||||
export_static_lib_headers: [
|
||||
"pw_polyfill",
|
||||
],
|
||||
srcs: [
|
||||
"stream.cc",
|
||||
"varint_c.c",
|
||||
|
|
Loading…
Reference in New Issue
Block a user