@@ -41,6 +41,10 @@ load("@rules_cc//cc/private/rules_impl:cc_static_library.bzl", _cc_static_librar
4141load("@rules_cc//cc/private/rules_impl:cc_test.bzl", _cc_test = "cc_test")
4242load("@rules_cc//cc/private/rules_impl:objc_import.bzl", _objc_import = "objc_import")
4343load("@rules_cc//cc/private/rules_impl:objc_library.bzl", _objc_library = "objc_library")
44+ load("@rules_cc//cc/private/rules_impl:fdo/fdo_prefetch_hints.bzl", _fdo_prefetch_hints = "fdo_prefetch_hints")
45+ load("@rules_cc//cc/private/rules_impl:fdo/fdo_profile.bzl", _fdo_profile = "fdo_profile")
46+ load("@rules_cc//cc/private/rules_impl:fdo/memprof_profile.bzl", _memprof_profile = "memprof_profile")
47+ load("@rules_cc//cc/private/rules_impl:fdo/propeller_optimize.bzl", _propeller_optimize = "propeller_optimize")
4448
4549cc_binary = _cc_binary
4650cc_import = _cc_import
@@ -50,6 +54,10 @@ cc_static_library = _cc_static_library
5054cc_test = _cc_test
5155objc_import = _objc_import
5256objc_library = _objc_library
57+ fdo_prefetch_hints = _fdo_prefetch_hints
58+ fdo_profile = _fdo_profile
59+ memprof_profile = _memprof_profile
60+ propeller_optimize = _propeller_optimize
5361 """ ,
5462 )
5563 else :
@@ -64,6 +72,10 @@ cc_static_library = getattr(native, "cc_static_library", None) # only in Bazel 8
6472cc_test = native.cc_test
6573objc_import = native.objc_import
6674objc_library = native.objc_library
75+ fdo_prefetch_hints = native.fdo_prefetch_hints
76+ fdo_profile = native.fdo_profile
77+ memprof_profile = getattr(native, "memprof_profile", None) # only in Bazel 7+
78+ propeller_optimize = native.propeller_optimize
6779 """ ,
6880 )
6981
0 commit comments