Skip to content

Commit c5449c5

Browse files
committed
use new one for 7.x
1 parent b35bbe1 commit c5449c5

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

apple/dtrace.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ load(
2828
)
2929
load("@rules_cc//cc/common:cc_common.bzl", "cc_common")
3030
load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
31-
load("@rules_cc//cc/common:objc_info.bzl", "ObjcInfo")
31+
load("@rules_cc//cc/common:objc_info.bzl", "new_objc_provider")
3232
load(
3333
"//apple/internal/utils:bundle_paths.bzl",
3434
"bundle_paths",
@@ -70,7 +70,7 @@ def _dtrace_compile_impl(ctx):
7070
include_dir = hdr.path.removesuffix(hdr_suffix)
7171

7272
return [
73-
ObjcInfo(
73+
new_objc_provider(
7474
strict_include = depset([include_dir]),
7575
),
7676
CcInfo(

apple/internal/header_map.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ load("@build_bazel_rules_swift//swift:providers.bzl", "SwiftInfo")
1818
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_common")
1919
load("@rules_cc//cc/common:cc_common.bzl", "cc_common")
2020
load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
21-
load("@rules_cc//cc/common:objc_info.bzl", "ObjcInfo")
21+
load("@rules_cc//cc/common:objc_info.bzl", "ObjcInfo", "new_objc_provider")
2222

2323
HeaderMapInfo = provider(
2424
doc = "Provides information about created `.hmap` (header map) files",
@@ -92,7 +92,7 @@ def _header_map_impl(ctx):
9292
swift_info = SwiftInfo()
9393

9494
return [
95-
ObjcInfo(),
95+
new_objc_provider(),
9696
swift_info,
9797
CcInfo(
9898
compilation_context = cc_common.create_compilation_context(

apple/internal/resource_rules/apple_resource_bundle.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"""Implementation of apple_resource_bundle rule."""
1616

1717
load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
18-
load("@rules_cc//cc/common:objc_info.bzl", "ObjcInfo")
18+
load("@rules_cc//cc/common:objc_info.bzl", "new_objc_provider")
1919
load(
2020
"//apple/internal:providers.bzl",
2121
"new_appleresourcebundleinfo",
@@ -28,7 +28,7 @@ def _apple_resource_bundle_impl(_ctx):
2828
# be used to iterate through all relevant instances of this rule in the build graph.
2929
return [
3030
# TODO(b/122578556): Remove this ObjC provider instance.
31-
ObjcInfo(),
31+
new_objc_provider(),
3232
CcInfo(),
3333
new_appleresourcebundleinfo(),
3434
]

apple/internal/visionos_rules.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ load(
2121
)
2222
load("@rules_cc//cc/common:cc_common.bzl", "cc_common")
2323
load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
24-
load("@rules_cc//cc/common:objc_info.bzl", "ObjcInfo")
24+
load("@rules_cc//cc/common:objc_info.bzl", "new_objc_provider")
2525
load(
2626
"//apple/internal:apple_product_type.bzl",
2727
"apple_product_type",
@@ -747,7 +747,7 @@ def _visionos_dynamic_framework_impl(ctx):
747747
libraries = provider.framework_files.to_list(),
748748
)
749749
additional_providers.extend([
750-
ObjcInfo(
750+
new_objc_provider(
751751
dynamic_framework_file = provider.framework_files,
752752
),
753753
CcInfo(

0 commit comments

Comments
 (0)