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

Commit 6916e640 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Make check-flagged-apis executable" into main

parents 27abc3ab c55d79b7
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
#!/bin/bash

# Copyright (C) 2024 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,6 +17,13 @@
# Run check-flagged-apis for public APIs and the three @SystemApi flavours
# Usage: lunch <your-target> && source <this script>

source $(cd $(dirname $BASH_SOURCE) &> /dev/null && pwd)/../../shell_utils.sh
require_top

function m() {
    $(gettop)/build/soong/soong_ui.bash --build-mode --all-modules --dir="$(pwd)" "$@"
}

function build() {
    m sdk dist && m \
        check-flagged-apis \