diff options
author | 2016-08-17 19:29:33 +0000 | |
---|---|---|
committer | 2016-08-18 08:31:12 +0000 | |
commit | ff33193e8fcd24da29d377a0850b198a0a6c53d5 (patch) | |
tree | 4bb109c4d22d954c7021c7e196e74aa72f41717f /tools | |
parent | 6f3e05cb3acaa9a2f15ae3a8e9ab626263d2aff6 (diff) |
Replaces sh_binary redirects with aliases in Bazel.
--
MOS_MIGRATED_REVID=130549870
Diffstat (limited to 'tools')
-rw-r--r-- | tools/android/BUILD | 45 | ||||
-rwxr-xr-x | tools/android/aar_generator.sh | 16 | ||||
-rwxr-xr-x | tools/android/idlclass.sh | 16 | ||||
-rwxr-xr-x | tools/android/manifest_merger.sh | 16 | ||||
-rwxr-xr-x | tools/android/merge_dexzips.sh | 16 | ||||
-rwxr-xr-x | tools/android/rclass_generator.sh | 16 | ||||
-rwxr-xr-x | tools/android/resource_parser.sh | 16 | ||||
-rwxr-xr-x | tools/android/resource_shrinker.sh | 16 | ||||
-rwxr-xr-x | tools/android/resources_processor.sh | 16 | ||||
-rwxr-xr-x | tools/android/shuffle_jars.sh | 16 |
10 files changed, 18 insertions, 171 deletions
diff --git a/tools/android/BUILD b/tools/android/BUILD index 4d4694a818..c32b795552 100644 --- a/tools/android/BUILD +++ b/tools/android/BUILD @@ -15,52 +15,44 @@ android_library( deps = ["//src/tools/android/java/com/google/devtools/build/android/incrementaldeployment:incremental_split_stub_application"], ) -sh_binary( +alias( name = "aar_generator", - srcs = ["aar_generator.sh"], - data = ["//src/tools/android/java/com/google/devtools/build/android:AarGeneratorAction"], + actual = "//src/tools/android/java/com/google/devtools/build/android:AarGeneratorAction", ) -sh_binary( +alias( name = "manifest_merger", - srcs = ["manifest_merger.sh"], - data = ["//src/tools/android/java/com/google/devtools/build/android:ManifestMergerAction"], + actual = "//src/tools/android/java/com/google/devtools/build/android:ManifestMergerAction", ) -sh_binary( +alias( name = "rclass_generator", - srcs = ["rclass_generator.sh"], - data = ["//src/tools/android/java/com/google/devtools/build/android:RClassGeneratorAction"], + actual = "//src/tools/android/java/com/google/devtools/build/android:RClassGeneratorAction", ) -sh_binary( +alias( name = "resources_processor", - srcs = ["resources_processor.sh"], - data = ["//src/tools/android/java/com/google/devtools/build/android:AndroidResourceProcessingAction"], + actual = "//src/tools/android/java/com/google/devtools/build/android:AndroidResourceProcessingAction", ) -sh_binary( +alias( name = "resource_parser", - srcs = ["resource_parser.sh"], - data = ["//src/tools/android/java/com/google/devtools/build/android:AndroidResourceParsingAction"], + actual = "//src/tools/android/java/com/google/devtools/build/android:AndroidResourceParsingAction", ) -sh_binary( +alias( name = "resource_shrinker", - srcs = ["resource_shrinker.sh"], - data = ["//src/tools/android/java/com/google/devtools/build/android:ResourceShrinkerAction"], + actual = "//src/tools/android/java/com/google/devtools/build/android:ResourceShrinkerAction", ) -sh_binary( +alias( name = "merge_dexzips", - srcs = ["merge_dexzips.sh"], - data = ["//src/tools/android/java/com/google/devtools/build/android/ziputils:reducer"], + actual = "//src/tools/android/java/com/google/devtools/build/android/ziputils:reducer", ) -sh_binary( +alias( name = "shuffle_jars", - srcs = ["shuffle_jars.sh"], - data = ["//src/tools/android/java/com/google/devtools/build/android/ziputils:mapper"], + actual = "//src/tools/android/java/com/google/devtools/build/android/ziputils:mapper", ) sh_binary( @@ -73,10 +65,9 @@ sh_binary( srcs = ["fail.sh"], ) -sh_binary( +alias( name = "IdlClass", - srcs = ["idlclass.sh"], - data = ["//src/tools/android/java/com/google/devtools/build/android/idlclass:IdlClass"], + actual = "//src/tools/android/java/com/google/devtools/build/android/idlclass:IdlClass", ) filegroup( diff --git a/tools/android/aar_generator.sh b/tools/android/aar_generator.sh deleted file mode 100755 index 1525733903..0000000000 --- a/tools/android/aar_generator.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# Copyright 2014 The Bazel Authors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -exec ${TEST_SRCDIR-$0.runfiles}/bazel_tools/src/tools/android/java/com/google/devtools/build/android/AarGeneratorAction "$@" diff --git a/tools/android/idlclass.sh b/tools/android/idlclass.sh deleted file mode 100755 index 442c59c186..0000000000 --- a/tools/android/idlclass.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# Copyright 2014 The Bazel Authors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -JAVA_PACKAGE=com/google/devtools/build/android/idlclass -exec ${TEST_SRCDIR-$0.runfiles}/bazel_tools/src/tools/android/java/${JAVA_PACKAGE}/IdlClass "$@" diff --git a/tools/android/manifest_merger.sh b/tools/android/manifest_merger.sh deleted file mode 100755 index 755bf4cfe5..0000000000 --- a/tools/android/manifest_merger.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# Copyright 2016 The Bazel Authors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -exec "${TEST_SRCDIR-$0.runfiles}/bazel_tools/src/tools/android/java/com/google/devtools/build/android/ManifestMergerAction" "$@" diff --git a/tools/android/merge_dexzips.sh b/tools/android/merge_dexzips.sh deleted file mode 100755 index 2dd6a4cd0d..0000000000 --- a/tools/android/merge_dexzips.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# Copyright 2014 The Bazel Authors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -JAVA_PACKAGE=com/google/devtools/build/android/ziputils -exec ${TEST_SRCDIR-$0.runfiles}/bazel_tools/src/tools/android/java/${JAVA_PACKAGE}/reducer "$@" diff --git a/tools/android/rclass_generator.sh b/tools/android/rclass_generator.sh deleted file mode 100755 index 762a0c5f9c..0000000000 --- a/tools/android/rclass_generator.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# Copyright 2016 The Bazel Authors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -exec "${TEST_SRCDIR-$0.runfiles}"/bazel_tools/src/tools/android/java/com/google/devtools/build/android/RClassGeneratorAction "$@" diff --git a/tools/android/resource_parser.sh b/tools/android/resource_parser.sh deleted file mode 100755 index f6e5318d9f..0000000000 --- a/tools/android/resource_parser.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# Copyright 2016 The Bazel Authors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -exec "${TEST_SRCDIR-$0.runfiles}/bazel_tools/src/tools/android/java/com/google/devtools/build/android/AndroidResourceParsingAction" "$@" diff --git a/tools/android/resource_shrinker.sh b/tools/android/resource_shrinker.sh deleted file mode 100755 index 8174185ba5..0000000000 --- a/tools/android/resource_shrinker.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# Copyright 2016 The Bazel Authors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -exec "${TEST_SRCDIR-$0.runfiles}/bazel_tools/src/tools/android/java/com/google/devtools/build/android/ResourceShrinkerAction" "$@" diff --git a/tools/android/resources_processor.sh b/tools/android/resources_processor.sh deleted file mode 100755 index a5998e6db9..0000000000 --- a/tools/android/resources_processor.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# Copyright 2015 The Bazel Authors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -exec ${TEST_SRCDIR-$0.runfiles}/bazel_tools/src/tools/android/java/com/google/devtools/build/android/AndroidResourceProcessingAction "$@" diff --git a/tools/android/shuffle_jars.sh b/tools/android/shuffle_jars.sh deleted file mode 100755 index 37af32d7d5..0000000000 --- a/tools/android/shuffle_jars.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# Copyright 2014 The Bazel Authors. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -JAVA_PACKAGE=com/google/devtools/build/android/ziputils -exec ${TEST_SRCDIR-$0.runfiles}/bazel_tools/src/tools/android/java/${JAVA_PACKAGE}/mapper "$@" |