misc: Add SPDX copyright headers
This commit is contained in:
parent
1baf4b871e
commit
ecf3b99ac2
19 changed files with 83 additions and 13 deletions
4
.github/scripts/build_aosp.sh
vendored
4
.github/scripts/build_aosp.sh
vendored
|
@ -1,4 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2023 The Calyx Institute
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
|
|
5
.github/scripts/run_tests.sh
vendored
5
.github/scripts/run_tests.sh
vendored
|
@ -1,3 +1,8 @@
|
|||
#
|
||||
# SPDX-FileCopyrightText: 2023 The Calyx Institute
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
adb root
|
||||
sleep 5
|
||||
adb remount
|
||||
|
|
15
Android.bp
15
Android.bp
|
@ -1,17 +1,6 @@
|
|||
//
|
||||
// Copyright (C) 2018 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.
|
||||
// SPDX-FileCopyrightText: 2020 The Calyx Institute
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
android_app {
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2017 Steve Soltys
|
||||
SPDX-FileCopyrightText: 2020 The Calyx Institute
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<config>
|
||||
<backup-transport-whitelisted-service
|
||||
service="com.stevesoltys.seedvault/.transport.ConfigurableBackupTransportService" />
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: 2023 The Calyx Institute
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
|
||||
import java.io.ByteArrayOutputStream
|
||||
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2023 The Calyx Institute
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# assert ANDROID_HOME is set
|
||||
if [ -z "$ANDROID_HOME" ]; then
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2023 The Calyx Institute
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# assert ANDROID_HOME is set
|
||||
if [ -z "$ANDROID_HOME" ]; then
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2023 The Calyx Institute
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# assert ANDROID_HOME is set
|
||||
if [ -z "$ANDROID_HOME" ]; then
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2023 The Calyx Institute
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# assert ANDROID_HOME is set
|
||||
if [ -z "$ANDROID_HOME" ]; then
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
#
|
||||
# SPDX-FileCopyrightText: 2023 The Calyx Institute
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
[metadata]
|
||||
|
||||
[versions]
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
#
|
||||
# SPDX-FileCopyrightText: 2023 The Calyx Institute
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
[versions]
|
||||
# We need to enforce that the versions we use are the same as AOSP to ensure compatibility.
|
||||
# 1.3.61 Android 11
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2020 The Calyx Institute
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<exceptions>
|
||||
<exception package="com.stevesoltys.seedvault">
|
||||
<!-- Notifications -->
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# SPDX-FileCopyrightText: 2020 The Calyx Institute
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
org.gradle.jvmargs=-Xmx4g
|
||||
org.gradle.configureondemand=true
|
||||
org.gradle.caching=true
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: 2021 The Calyx Institute
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
java_import {
|
||||
name: "seedvault-lib-kotlin-bip39",
|
||||
jars: ["kotlin-bip39-jvm-1.0.6.jar"],
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: 2024 The Calyx Institute
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
java_import {
|
||||
name: "seedvault-lib-dav4jvm",
|
||||
jars: ["dav4jvm-2.2.1.jar"],
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: 2020 The Calyx Institute
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
android_library_import {
|
||||
name: "seedvault-lib-koin-android",
|
||||
aars: ["koin-android-3.2.0.aar"],
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2020 The Calyx Institute
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -ex
|
||||
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2017 Steve Soltys
|
||||
SPDX-FileCopyrightText: 2020 The Calyx Institute
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<permissions>
|
||||
<privapp-permissions package="com.stevesoltys.seedvault">
|
||||
<permission name="android.permission.BACKUP"/>
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: 2023 The Calyx Institute
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
pluginManagement {
|
||||
buildscript {
|
||||
repositories {
|
||||
|
|
Loading…
Reference in a new issue