diff options
author | Armando Montanez <amontanez@google.com> | 2020-06-09 18:12:12 -0700 |
---|---|---|
committer | Wyatt Hepler <hepler@google.com> | 2020-06-16 09:50:59 -0700 |
commit | fb3d3fba791b5b200293d23f08b778ecae34e02f (patch) | |
tree | 4974cd6eddbe74ff37f19d8a14b0959a90ef2ebc /pw_sys_io | |
parent | edd2f148be609f3938eb5ab95b8738823463f621 (diff) | |
download | pigweed-fb3d3fba791b5b200293d23f08b778ecae34e02f.tar.gz |
Don't declare pigweed variables as globals
Require targets to explicitly import pigweed variable definitions. This
moves out some necessary logic from the BUILDCONFIG.gn file.
Change-Id: If9c9fe5a680cc9d897a0e8a55889873be618ed84
Diffstat (limited to 'pw_sys_io')
-rw-r--r-- | pw_sys_io/BUILD.gn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pw_sys_io/BUILD.gn b/pw_sys_io/BUILD.gn index b7afcc58e..aeb8eb534 100644 --- a/pw_sys_io/BUILD.gn +++ b/pw_sys_io/BUILD.gn @@ -12,10 +12,13 @@ # License for the specific language governing permissions and limitations under # the License. +# gn-format disable +import("//build_overrides/pigweed.gni") + +import("$dir_pigweed/legacy_target.gni") import("$dir_pw_build/facade.gni") import("$dir_pw_build/target_types.gni") import("$dir_pw_docgen/docs.gni") - config("default_config") { include_dirs = [ "public" ] } |