• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
29License File: NOT_SHIPPED
30Security Critical: 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