diff options
author | 2016-02-09 23:38:25 +0000 | |
---|---|---|
committer | 2016-02-10 10:26:23 +0000 | |
commit | 707b171601f4bf58028bd5186bc8618a0d9ae88b (patch) | |
tree | b0310e89e42a1b6aa6716d65b5e2f11dec6abbb6 /src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java | |
parent | 492472fc8232775109a7bc9fae28dd2d4c752e63 (diff) |
Temporary fix for xcode project generation
The xcodegen script does not yet handle looking for files under @bazel_tools
correctly. This change will let xcode find these targets under the workspace
root, instead of the @bazel_tools repository. Note that this means that the
package path must include third_party/java/j2objc if it does not exist in your
workspace.
--
MOS_MIGRATED_REVID=114268000
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java b/src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java index 06ef12391c..f9cb428ec1 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/AbstractJ2ObjcProtoAspect.java @@ -74,8 +74,7 @@ public abstract class AbstractJ2ObjcProtoAspect implements ConfiguredNativeAspec .attributeAspect("exports", getClass()) .attributeAspect("runtime_deps", getClass()) .add(attr("$protobuf_lib", LABEL) - .value(Label.parseAbsoluteUnchecked( - Constants.TOOLS_REPOSITORY + "//third_party/java/j2objc:proto_runtime"))) + .value(Label.parseAbsoluteUnchecked("//third_party/java/j2objc:proto_runtime"))) .add(attr("$xcrunwrapper", LABEL).cfg(HOST).exec() .value(Label.parseAbsoluteUnchecked( Constants.TOOLS_REPOSITORY + "//tools/objc:xcrunwrapper"))) |