get.sh 856 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. set -eux
  6. revision=17ec234f823f7bff6ada6584fdbbee9d54b8fc58
  7. cd $(dirname $0)
  8. rm -rf logdog
  9. git clone https://chromium.googlesource.com/infra/luci/luci-py/client/libs/logdog
  10. (
  11. cd logdog
  12. git checkout $revision
  13. # remove unnecessary files.
  14. rm -rf .git tests
  15. )
  16. cat <<EOF > README.chromium
  17. Name: logdog
  18. Short Name: logdog
  19. URL: https://chromium.googlesource.com/infra/luci/luci-py/client/libs/logdog
  20. Version: $revision
  21. Revision: $revision
  22. License: Apache 2.0
  23. License File: NOT_SHIPPED
  24. Security Critical: no
  25. Description:
  26. This is used from build/android/pylib/utils/logdog_helper.py
  27. Local Modifications:
  28. See get.sh and this files is also generated by the script.
  29. EOF