# 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.

LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

# tag this module as a cts test artifact
LOCAL_COMPATIBILITY_SUITE := cts vts general-tests

# Don't include this package in any target
LOCAL_MODULE_TAGS := tests

LOCAL_MULTILIB := both

LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_PACKAGE_NAME := CtsPerfettoProducerApp

LOCAL_JNI_SHARED_LIBRARIES := \
    libperfettocts_jni \
    libnativehelper_compat_libc++

include $(BUILD_PACKAGE)

# 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.

LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

# tag this module as a cts test artifact
LOCAL_COMPATIBILITY_SUITE := cts vts general-tests

# Don't include this package in any target
LOCAL_MODULE_TAGS := tests

LOCAL_MULTILIB := both

LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_PACKAGE_NAME := CtsPerfettoProducerApp

LOCAL_SDK_VERSION := current

LOCAL_JNI_SHARED_LIBRARIES := \
    libperfettocts_jni \
    libnativehelper_compat_libc++

include $(BUILD_PACKAGE)

Build CtsPerfettoProducerApp against the SDK.
Build CtsPerfettoProducerApp against the SDK.

It will soon be made required to specify whether an app builds against the
SDK or whether it needs private platform APIs. This app does not need private
platform APIs.

Test: make
Bug: 73535841
Change-Id: Ic984476ee6e49209f011ebc2c8e16a506baad924
