aboutsummaryrefslogtreecommitdiff
path: root/android/tools/host/run_tzbb.sh
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2021-06-14 15:39:46 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-06-14 15:39:46 +0000
commit1d4954a75ef3bbdbff9d68d9565c58f3a0d2202c (patch)
tree99024a2bbbd3b3b16d007ab57ebf8052f0d49956 /android/tools/host/run_tzbb.sh
parent98f13a6355c7be471f3bbfd751e1ced7c81469df (diff)
parent4fd94cfcf97abc6cb75f49359aba4b2ec01e8b1e (diff)
downloadtimezone-boundary-builder-1d4954a75ef3bbdbff9d68d9565c58f3a0d2202c.tar.gz
Android additions to timezone-boundary-builder am: 4fd94cfcf9android-s-beta-5android-s-beta-4android-s-beta-3android-s-beta-5android-s-beta-4
Original change: https://android-review.googlesource.com/c/platform/external/timezone-boundary-builder/+/1287532 Change-Id: Iebfb4e039f83968de65ed0c640c1dd807d789185
Diffstat (limited to 'android/tools/host/run_tzbb.sh')
-rwxr-xr-xandroid/tools/host/run_tzbb.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/android/tools/host/run_tzbb.sh b/android/tools/host/run_tzbb.sh
new file mode 100755
index 0000000..4c30453
--- /dev/null
+++ b/android/tools/host/run_tzbb.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+# Copyright 2021 The Android Open Source Project
+#
+# 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.
+
+HOST_TOOLS_DIR=$(realpath $(dirname $0))
+source ${HOST_TOOLS_DIR}/common.sh
+
+${HOST_TOOLS_DIR}/run_process_in_docker.sh /timezone-boundary-builder/android/tools/container/run_tzbb.sh \
+ --downloads_dir ${CONTAINER_DOWNLOADS_DIR} \
+ --dist_dir ${CONTAINER_DIST_DIR} \
+ --skip_zip \
+ --skip_shapefile \
+ $*