Skip to content

Commit

Permalink
pw_allocator: Fix Android.bp
Browse files Browse the repository at this point in the history
Change-Id: I114a9fa790a1e703442f98efd2d0f15d84e3aa3b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/250332
Commit-Queue: Auto-Submit <[email protected]>
Pigweed-Auto-Submit: Aaron Green <[email protected]>
Reviewed-by: Matthew Sedam <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
Reviewed-by: Carlos Chinchilla <[email protected]>
Lint: Lint 🤖 <[email protected]>
Docs-Not-Needed: Aaron Green <[email protected]>
  • Loading branch information
nopsledder authored and CQ Bot Account committed Nov 20, 2024
1 parent 8a568e4 commit 55f09ff
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
15 changes: 10 additions & 5 deletions pw_allocator/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,24 @@ cc_library {
name: "pw_allocator",
cpp_std: "c++20",
vendor_available: true,
export_include_dirs: ["public"],
export_include_dirs: [
"public",
"block/public",
],
defaults: [
"pw_android_common_backends",
],
header_libs: [
"pw_assert",
"pw_log",
"fuchsia_sdk_lib_stdcompat",
],
export_header_lib_headers: [
"pw_assert",
"fuchsia_sdk_lib_stdcompat",
],
export_static_lib_headers: [
"pw_bytes",
"pw_containers",
"pw_metric",
"pw_preprocessor",
"pw_result",
Expand All @@ -43,13 +49,13 @@ cc_library {
srcs: [
"allocator.cc",
"allocator_as_pool.cc",
"block.cc",
"block/contiguous.cc",
"block/poisonable.cc",
"chunk_pool.cc",
"libc_allocator.cc",
"unique_ptr.cc",
],
static_libs: [
"pw_base64",
"pw_bytes",
"pw_containers",
"pw_metric",
Expand All @@ -58,6 +64,5 @@ cc_library {
"pw_span",
"pw_status",
"pw_tokenizer",
"pw_tokenizer_base64",
],
}
3 changes: 0 additions & 3 deletions pw_allocator/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,8 @@ cc_library(
],
strip_include_prefix = "public",
deps = [
":config",
":deallocator",
"//pw_assert",
"//pw_result",
"//pw_status",
],
)

Expand Down
2 changes: 0 additions & 2 deletions pw_allocator/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ pw_source_set("allocator") {
public_configs = [ ":public_include_path" ]
public = [ "public/pw_allocator/allocator.h" ]
public_deps = [
":config",
":deallocator",
"$dir_pw_assert:check",
dir_pw_result,
]
sources = [ "allocator.cc" ]
Expand Down
1 change: 0 additions & 1 deletion pw_allocator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ pw_add_library(pw_allocator.allocator STATIC
public
PUBLIC_DEPS
pw_allocator.deallocator
pw_assert.check
pw_result
SOURCES
allocator.cc
Expand Down

0 comments on commit 55f09ff

Please sign in to comment.