Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b2b0c42 authored by Mårten Kongstad's avatar Mårten Kongstad Committed by Automerger Merge Worker
Browse files

Merge "check-flagged-apis: add new CLI to verify @FlaggedApi APIs" into main...

Merge "check-flagged-apis: add new CLI to verify @FlaggedApi APIs" into main am: e2ec38c5 am: 44f92d4b

Original change: https://android-review.googlesource.com/c/platform/build/+/3042354



Change-Id: I4cfeeaa7fe52d225970f3d40e6f1092fcf6ff89d
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents b47080e9 44f92d4b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
[Hook Scripts]
do_not_use_DO_NOT_MERGE = ${REPO_ROOT}/build/soong/scripts/check_do_not_merge.sh ${PREUPLOAD_COMMIT}

[Builtin Hooks]
ktfmt = true
+25 −0
Original line number Diff line number Diff line
// Copyright (C) 2024 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.

package {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

java_binary_host {
    name: "check-flagged-apis",
    srcs: [
        "src/**/*.kt",
    ],
    main_class: "com.android.checkflaggedapis.Main",
}
+4 −0
Original line number Diff line number Diff line
amhk@google.com
gurpreetgs@google.com
michaelwr@google.com
paulduffin@google.com
+20 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2024 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.
 */
@file:JvmName("Main")

package com.android.checkflaggedapis

fun main() = println("hello world")