Skip to content

Commit efdb470

Browse files
thomasvladincebic
authored andcommitted
Load objc_library from rules_cc.
PiperOrigin-RevId: 772948242 (cherry picked from commit e0029ba)
1 parent 321bf26 commit efdb470

File tree

2 files changed

+10
-2
lines changed
  • examples/apple/objc_interop
  • test/fixtures/interop_hints

2 files changed

+10
-2
lines changed

examples/apple/objc_interop/BUILD

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22
# vice versa when it is linked into the existing native linking rules for Apple
33
# platforms.
44

5-
load("//swift:swift_binary.bzl", "swift_binary")
6-
load("//swift:swift_library.bzl", "swift_library")
5+
load("@rules_cc//cc:objc_library.bzl", "objc_library")
6+
load(
7+
"//swift:swift_binary.bzl",
8+
"swift_binary",
9+
)
10+
load(
11+
"//swift:swift_library.bzl",
12+
"swift_library",
13+
)
714

815
licenses(["notice"])
916

test/fixtures/interop_hints/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
load("@rules_cc//cc:objc_library.bzl", "objc_library")
12
load(
23
"//swift:swift_interop_hint.bzl",
34
"swift_interop_hint",

0 commit comments

Comments
 (0)