aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/android/merge_dexzips.sh
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2015-07-31 13:33:52 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-08-04 09:06:02 +0000
commit25930079ee72b061558f672bb63ee25d94da0ca1 (patch)
tree9c1944e34b292b01976daedb3b23df44f6d22046 /tools/android/merge_dexzips.sh
parent35a460556ead2bf0b00300da8ce94c7901b31fd4 (diff)
Add glue logic to make the dex_shards attribute of android_binary work in Bazel.
-- MOS_MIGRATED_REVID=99567637
Diffstat (limited to 'tools/android/merge_dexzips.sh')
-rwxr-xr-xtools/android/merge_dexzips.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/android/merge_dexzips.sh b/tools/android/merge_dexzips.sh
new file mode 100755
index 0000000000..cc1c1333e1
--- /dev/null
+++ b/tools/android/merge_dexzips.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+# Copyright 2014 Google Inc. 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}/src/tools/android/java/${JAVA_PACKAGE}/reducer "$@"