Skip to content

Commit a4912c6

Browse files
adincebicthomasvl
andauthored
Update the tests to load objc_library from rules_cc. (#2739)
Cherry pick [29723c3](29723c3) Co-authored-by: Thomas Van Lenten <thomasvl@google.com>
1 parent a9fb9cc commit a4912c6

7 files changed

Lines changed: 7 additions & 0 deletions

File tree

test/starlark_tests/resources/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ load(
22
"@build_bazel_rules_swift//swift:swift.bzl",
33
"swift_library",
44
)
5+
load("@rules_cc//cc:objc_library.bzl", "objc_library")
56
load(
67
"//apple:resources.bzl",
78
"apple_bundle_import",

test/starlark_tests/targets_under_test/apple/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ load(
33
"@build_bazel_rules_swift//swift:swift.bzl",
44
"swift_library",
55
)
6+
load("@rules_cc//cc:objc_library.bzl", "objc_library")
67
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
78
load(
89
"//apple:apple.bzl",

test/starlark_tests/targets_under_test/apple/static_library/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
"//apple:apple_static_library.bzl",
34
"apple_static_library",

test/starlark_tests/targets_under_test/ios/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ load(
33
"@build_bazel_rules_swift//swift:swift.bzl",
44
"swift_library",
55
)
6+
load("@rules_cc//cc:objc_library.bzl", "objc_library")
67
load(
78
"//apple:apple.bzl",
89
"apple_dynamic_framework_import",

test/starlark_tests/targets_under_test/macos/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ load(
22
"@build_bazel_rules_swift//swift:swift.bzl",
33
"swift_library",
44
)
5+
load("@rules_cc//cc:objc_library.bzl", "objc_library")
56
load(
67
"//apple:apple.bzl",
78
"apple_dynamic_framework_import",

test/starlark_tests/targets_under_test/tvos/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ load(
33
"@build_bazel_rules_swift//swift:swift.bzl",
44
"swift_library",
55
)
6+
load("@rules_cc//cc:objc_library.bzl", "objc_library")
67
load(
78
"//apple:apple.bzl",
89
"apple_dynamic_framework_import",

test/starlark_tests/targets_under_test/watchos/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ load(
22
"@build_bazel_rules_swift//swift:swift.bzl",
33
"swift_library",
44
)
5+
load("@rules_cc//cc:objc_library.bzl", "objc_library")
56
load(
67
"//apple:apple.bzl",
78
"apple_dynamic_framework_import",

0 commit comments

Comments
 (0)