From 228f8babef6d182c72565e6fb7e49c152f0981dc Mon Sep 17 00:00:00 2001 From: Athma Sagar Date: Tue, 21 Jan 2025 19:48:10 -0800 Subject: [PATCH] Fix parsing errors with native.bzl Summary: Fixing the parser to address the issues seen in https://fburl.com/workplace/lo9kb68j. Reviewed By: JakobDegen Differential Revision: D68468923 fbshipit-source-id: 3e22b688db23c6737e1c196983604697c6393f30 --- prelude/native.bzl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prelude/native.bzl b/prelude/native.bzl index 7bdab3f850ed8..460a933e64198 100644 --- a/prelude/native.bzl +++ b/prelude/native.bzl @@ -11,6 +11,9 @@ # This is buck2's shim import. Any public symbols here will be available within # **all** interpreted files. +load("@prelude//:is_full_meta_repo.bzl", "is_full_meta_repo") +load("@prelude//:paths.bzl", "paths") +load("@prelude//:rules.bzl", __rules__ = "rules") load("@prelude//android:cpu_filters.bzl", "ALL_CPU_FILTERS", "CPU_FILTER_FOR_DEFAULT_PLATFORM") load("@prelude//apple:apple_macro_layer.bzl", "apple_binary_macro_impl", "apple_bundle_macro_impl", "apple_library_macro_impl", "apple_package_macro_impl", "apple_test_macro_impl", "apple_universal_executable_macro_impl", "apple_xcuitest_macro_impl", "prebuilt_apple_framework_macro_impl") load("@prelude//apple/swift:swift_toolchain_macro_layer.bzl", "swift_toolchain_macro_impl") @@ -27,9 +30,6 @@ load("@prelude//user:all.bzl", _user_rules = "rules") load("@prelude//utils:buckconfig.bzl", _read_config = "read_config_with_logging", _read_root_config = "read_root_config_with_logging", log_buckconfigs = "LOG_BUCKCONFIGS") load("@prelude//utils:expect.bzl", "expect") load("@prelude//utils:selects.bzl", "selects") -load(":is_full_meta_repo.bzl", "is_full_meta_repo") -load(":paths.bzl", "paths") -load(":rules.bzl", __rules__ = "rules") def __struct_to_dict(s): vals = {}