mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-20 13:51:05 +00:00
fa7f123ed9
Move the header file out of pw_boot_armv7m to serve as a public API for the facade, making pw_boot_armv7m the implementation. This allows targets to provide an alternate implementation of pw_boot_Entry. This is not possible today due to the implementation dependency in pw_malloc_freelist which, with this change, is moved to the facade instead. Update includes in existing targets to use the new path and dependency, they were already setting pw_boot_BACKEND. Change-Id: I88f921df0efea58536349e04fe09d1b580a7e733 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/54022 Pigweed-Auto-Submit: Scott James Remnant <keybuk@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Scott James Remnant <keybuk@google.com> Reviewed-by: Keir Mierle <keir@google.com>
35 lines
1014 B
Plaintext
35 lines
1014 B
Plaintext
# Copyright 2021 The Pigweed Authors
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
# use this file except in compliance with the License. You may obtain a copy of
|
|
# the License at
|
|
#
|
|
# https://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations under
|
|
# the License.
|
|
|
|
import("//build_overrides/pigweed.gni")
|
|
|
|
import("$dir_pw_boot/backend.gni")
|
|
import("$dir_pw_build/facade.gni")
|
|
import("$dir_pw_docgen/docs.gni")
|
|
import("$dir_pw_unit_test/test.gni")
|
|
|
|
config("default_config") {
|
|
include_dirs = [ "public" ]
|
|
}
|
|
|
|
pw_facade("pw_boot") {
|
|
public_configs = [ ":default_config" ]
|
|
public = [ "public/pw_boot/boot.h" ]
|
|
backend = pw_boot_BACKEND
|
|
}
|
|
|
|
pw_doc_group("docs") {
|
|
sources = [ "docs.rst" ]
|
|
}
|