blob: c99da882389f8d4c7fce8d44d37da44973f533bd [file]
# Copyright 2024 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# All GN templates and global variables supported by bazel2gn are imported here,
# so converted GN files can import this file, to keep bazel2gn simple.
#
# NOTE: This will cause most BUILD.gn files converted from BUILD.bazel file to
# import more gni files than they need. This should be OK because all these
# templates are commonly used in Fuchsia's GN build anyways. If this causes
# noticeable regressions in `gn gen` time or ninja build time, we can improve
# bazel2gn to be able to generate the correct import statements instead.
import("//build/cpp/sdk_source_set.gni")
import("//build/fidl/fidl.gni")
import("//build/go/go_binary.gni")
import("//build/go/go_library.gni")
import("//build/go/go_test.gni")
import("//build/rust/rustc_binary.gni")
import("//build/rust/rustc_library.gni")
import("//build/rust/rustc_macro.gni")
import("//build/sdk/sdk_host_tool.gni")
import("//build/tools/bazel2gn/verify_bazel2gn.gni")
import("//build/zircon/zx_library.gni")