Wyatt Hepler | ae222dc | 2020-10-14 10:46:27 -0700 | [diff] [blame] | 1 | # Copyright 2020 The Pigweed Authors |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 4 | # use this file except in compliance with the License. You may obtain a copy of |
| 5 | # the License at |
| 6 | # |
| 7 | # https://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 12 | # License for the specific language governing permissions and limitations under |
| 13 | # the License. |
| 14 | |
| 15 | import("//build_overrides/pigweed.gni") |
| 16 | |
| 17 | declare_args() { |
| 18 | # The default implementation for all Pigweed module configurations. |
| 19 | # |
| 20 | # This variable makes it possible to configure multiple Pigweed modules from |
| 21 | # a single GN target. Module configurations can still be overridden |
| 22 | # individually by setting a module's config backend directly (e.g. |
| 23 | # pw_some_module_CONFIG = "//my_config"). |
| 24 | # |
| 25 | # Modules are configured through compilation options. The configuration |
| 26 | # implementation might set individual compiler macros or forcibly include a |
| 27 | # config header with multiple options using the -include flag. |
| 28 | pw_build_DEFAULT_MODULE_CONFIG = "$dir_pw_build:empty" |
| 29 | } |