14 lines · bash
1# ===----------------------------------------------------------------------===##2#3# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4# See https://llvm.org/LICENSE.txt for license information.5# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6#7# ===----------------------------------------------------------------------===##8 9export ADB_SERVER_SOCKET="tcp:$(docker inspect \10 -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' \11 libcxx-ci-android-emulator):5037"12 13echo "setup-env-for-emulator.sh: setting ADB_SERVER_SOCKET to ${ADB_SERVER_SOCKET}"14