mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-20 05:41:06 +00:00
70a6210934
- Generate dir_* module variables in modules.gni using the modules.py script. This consolidates the various lists of modules into a single PIGWEED_MODULES list. It also gives projects a way to include all Pigweed code without relying on its top-level BUILD.gn file. - Generate pw_modules, pw_module_tests, and pw_module_docs lists that provide the targets for the top-level pw_modules and pw_modules_tests groups and for the docs:module_docs target. - Display a warning in Pigweed's gn gen if any pw_* directories are missing from PIGWEED_MODULES. - Move the logic for excluding tests under certain conditions into the modules. Change-Id: Ied6f72315159af0d0da04505f8a91438e8b959e4 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/77940 Reviewed-by: Anthony DiGirolamo <tonymd@google.com> Reviewed-by: Armando Montanez <amontanez@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
22 lines
757 B
Plaintext
22 lines
757 B
Plaintext
# Copyright 2020 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.
|
|
|
|
declare_args() {
|
|
# Location of the Pigweed repository.
|
|
dir_pigweed = "//"
|
|
}
|
|
|
|
# Import modules.gni, which generates the modules list.
|
|
import("$dir_pigweed/modules.gni")
|