diff options
-rw-r--r-- | src/objc_tools/bundlemerge/BUILD | 31 | ||||
-rw-r--r-- | src/objc_tools/momczip/BUILD | 11 | ||||
-rw-r--r-- | src/objc_tools/plmerge/BUILD | 28 | ||||
-rw-r--r-- | src/objc_tools/xcodegen/BUILD | 38 |
4 files changed, 108 insertions, 0 deletions
diff --git a/src/objc_tools/bundlemerge/BUILD b/src/objc_tools/bundlemerge/BUILD new file mode 100644 index 0000000000..630385ebdb --- /dev/null +++ b/src/objc_tools/bundlemerge/BUILD @@ -0,0 +1,31 @@ +package(default_visibility = ["//src:__subpackages__"]) + +java_binary( + name = "bundlemerge", + srcs = glob(["java/**/BundleMerge.java"]), + main_class = "com.google.devtools.build.xcode.bundlemerge.BundleMerge", + visibility = ["//visibility:public"], + deps = [ + ":bundlemerge_lib", + "//src/main/protobuf:proto_bundlemerge", + "//src/objc_tools/plmerge:plmerge_lib", + "//third_party:protobuf", + ], +) + +java_library( + name = "bundlemerge_lib", + srcs = glob(["java/**/BundleMerging.java"]), + deps = [ + "//src/java_tools/singlejar:libSingleJar", + "//src/java_tools/singlejar:zip", + "//src/main/protobuf:proto_bundlemerge", + "//src/objc_tools/plmerge:plmerge_lib", + "//src/tools/xcode-common/java/com/google/devtools/build/xcode/common", + "//src/tools/xcode-common/java/com/google/devtools/build/xcode/zip", + "//third_party:guava", + "//third_party:jsr305", + "//third_party:protobuf", + "//third_party/java/dd_plist", + ], +) diff --git a/src/objc_tools/momczip/BUILD b/src/objc_tools/momczip/BUILD new file mode 100644 index 0000000000..a2ae946d60 --- /dev/null +++ b/src/objc_tools/momczip/BUILD @@ -0,0 +1,11 @@ +package(default_visibility = ["//visibility:public"]) + +java_binary( + name = "momczip", + srcs = glob(["java/**/*.java"]), + main_class = "com.google.devtools.build.xcode.momczip.MomcZip", + deps = [ + "//src/tools/xcode-common/java/com/google/devtools/build/xcode/zippingoutput", + "//third_party:guava", + ], +) diff --git a/src/objc_tools/plmerge/BUILD b/src/objc_tools/plmerge/BUILD new file mode 100644 index 0000000000..c3a8eddaa9 --- /dev/null +++ b/src/objc_tools/plmerge/BUILD @@ -0,0 +1,28 @@ +package(default_visibility = ["//src:__subpackages__"]) + +java_binary( + name = "plmerge", + srcs = glob(["java/**/PlMerge.java"]), + main_class = "com.google.devtools.build.xcode.plmerge.PlMerge", + visibility = ["//visibility:public"], + deps = [ + ":plmerge_lib", + "//src/main/java:options", + "//third_party:guava", + "//third_party/java/dd_plist", + ], +) + +java_library( + name = "plmerge_lib", + srcs = glob( + ["java/**/*.java"], + exclude = ["java/**/PlMerge.java"], + ), + deps = [ + "//src/tools/xcode-common/java/com/google/devtools/build/xcode/common", + "//src/tools/xcode-common/java/com/google/devtools/build/xcode/util", + "//third_party:guava", + "//third_party/java/dd_plist", + ], +) diff --git a/src/objc_tools/xcodegen/BUILD b/src/objc_tools/xcodegen/BUILD new file mode 100644 index 0000000000..bba1699f54 --- /dev/null +++ b/src/objc_tools/xcodegen/BUILD @@ -0,0 +1,38 @@ +package(default_visibility = ["//src:__subpackages__"]) + +java_binary( + name = "xcodegen", + srcs = glob(["java/**/XcodeGen.java"]), + main_class = "com.google.devtools.build.xcode.xcodegen.XcodeGen", + visibility = ["//visibility:public"], + deps = [ + ":xcodegen_lib", + "//src/main/java:options", + "//src/main/protobuf:proto_xcodegen", + "//third_party:guava", + "//third_party:protobuf", + "//third_party/java/buck-ios-support", + ], +) + +java_library( + name = "xcodegen_lib", + srcs = glob( + ["java/**/*.java"], + exclude = [ + "java/**/XcodeGen.java", + "java/**/testing/*.java", + ], + ), + deps = [ + "//src/main/protobuf:proto_xcodegen", + "//src/objc_tools/plmerge:plmerge_lib", + "//src/tools/xcode-common/java/com/google/devtools/build/xcode/common", + "//src/tools/xcode-common/java/com/google/devtools/build/xcode/util", + "//third_party:guava", + "//third_party:jsr305", + "//third_party:protobuf", + "//third_party/java/buck-ios-support", + "//third_party/java/dd_plist", + ], +) |