-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split apple starlarkbuildapi into apple and objc
This is needed to break up the circular dependency in some upcoming work, where some Apple APIs need to depend on cpp. In general, anything that is ObjC-related should be moved to objc. Specifically, this change: 1. moves ObjcProviderApi to objc. 2. moves any API depending on ObjcProviderApi to objc. This refactoring allows us to add CcInfoApi to objc APIs that carry linking info, in preparation for migrating linking info to CcInfo. PiperOrigin-RevId: 481916193 Change-Id: I56f88fd64f617b7c14137e43deb23206eabe9da3
- Loading branch information
1 parent
5faf917
commit 4eb0cc8
Showing
14 changed files
with
56 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
src/main/java/com/google/devtools/build/lib/starlarkbuildapi/objc/BUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Description: | ||
# This package contains interfaces representing the Starlark "build API" | ||
# (but not the implementation of that API). Ultimately, this package | ||
# may be broken out of the Bazel package hierarchy to be standalone. | ||
# Thus, this package should not depend on Bazel-specific packages (only | ||
# those which contain pure-Starlark concepts, such as the interpreter or | ||
# annotation interfaces). | ||
|
||
load("@rules_java//java:defs.bzl", "java_library") | ||
|
||
package(default_visibility = ["//src:__subpackages__"]) | ||
|
||
filegroup( | ||
name = "srcs", | ||
srcs = glob(["**"]), | ||
visibility = ["//src:__subpackages__"], | ||
) | ||
|
||
java_library( | ||
name = "objc", | ||
srcs = glob(["*.java"]), | ||
deps = [ | ||
"//third_party:guava", | ||
"//src/main/java/com/google/devtools/build/docgen/annot", | ||
"//src/main/java/com/google/devtools/build/lib/analysis:config/transitions/starlark_exposed_rule_transition_factory", | ||
"//src/main/java/com/google/devtools/build/lib/analysis:transitive_info_collection", | ||
"//src/main/java/com/google/devtools/build/lib/cmdline", | ||
"//src/main/java/com/google/devtools/build/lib/packages/semantics", | ||
"//src/main/java/com/google/devtools/build/lib/starlarkbuildapi/core", | ||
"//src/main/java/com/google/devtools/build/lib/starlarkbuildapi/platform", | ||
"//src/main/java/net/starlark/java/annot", | ||
# TODO(b/80307387): Remove dependency on Depset. | ||
"//src/main/java/com/google/devtools/build/lib/collect/nestedset", | ||
"//src/main/java/net/starlark/java/eval", | ||
"//src/main/java/com/google/devtools/build/lib/starlarkbuildapi", | ||
"//src/main/java/com/google/devtools/build/lib/starlarkbuildapi/apple", | ||
"//third_party:jsr305", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters