xref: /aosp_15_r20/external/angle/third_party/logdog/get.sh (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1#!/bin/bash
2# Copyright 2021 The Chromium Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6set -eux
7
8revision=17ec234f823f7bff6ada6584fdbbee9d54b8fc58
9
10cd $(dirname $0)
11
12rm -rf logdog
13git clone https://chromium.googlesource.com/infra/luci/luci-py/client/libs/logdog
14(
15    cd logdog
16    git checkout $revision
17
18    # remove unnecessary files.
19    rm -rf .git tests
20)
21
22cat <<EOF > README.chromium
23Name: logdog
24Short Name: logdog
25URL: https://chromium.googlesource.com/infra/luci/luci-py/client/libs/logdog
26Version: $revision
27Revision: $revision
28License: Apache 2.0
29Security Critical: no
30Shipped: no
31
32Description:
33This is used from build/android/pylib/utils/logdog_helper.py
34
35Local Modifications:
36See get.sh and this files is also generated by the script.
37
38EOF
39