blob: 9b155c930871bb3a372f79a45a109e7d71163795 [file] [log] [blame]
Joe Onorato3ad977b2009-05-05 11:50:51 -07001# Copyright (C) 2008 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH := $(call my-dir)
Joe Onoratof9225f82009-05-05 18:34:31 -070016
17# native test
18# ========================================
Joe Onorato3ad977b2009-05-05 11:50:51 -070019include $(CLEAR_VARS)
20
21LOCAL_SRC_FILES := \
22 backup_helper_test.cpp
Chih-Hung Hsiehb40ec902017-12-05 09:56:46 -080023
24LOCAL_CFLAGS := -Wall -Werror
Joe Onoratod2110db2009-05-19 13:41:21 -070025LOCAL_MODULE_TAGS := optional
Joe Onorato3ad977b2009-05-05 11:50:51 -070026LOCAL_MODULE := backup_helper_test
Bob Badour051ef782021-02-12 17:07:05 -080027LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
28LOCAL_LICENSE_CONDITIONS := notice
29LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../NOTICE
Christopher Tate1bb69062010-02-19 17:02:12 -080030LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
Mathias Agopian83c64e62012-02-20 16:58:20 -080031LOCAL_SHARED_LIBRARIES := libandroidfw libutils
Joe Onorato3ad977b2009-05-05 11:50:51 -070032
33include $(BUILD_EXECUTABLE)
34
Joe Onoratof9225f82009-05-05 18:34:31 -070035# java test
36# ========================================
37include $(CLEAR_VARS)
38
Joe Onoratod2110db2009-05-19 13:41:21 -070039LOCAL_MODULE_TAGS := optional
Joe Onoratof9225f82009-05-05 18:34:31 -070040
Christopher Tate1bb69062010-02-19 17:02:12 -080041LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
42
Joe Onoratof9225f82009-05-05 18:34:31 -070043LOCAL_SRC_FILES := $(call all-subdir-java-files)
44
45LOCAL_PACKAGE_NAME := BackupTest
Anton Hanssona3e79fb2018-02-23 12:57:51 +000046LOCAL_PRIVATE_PLATFORM_APIS := true
Joe Onoratof9225f82009-05-05 18:34:31 -070047
Ying Wangc882dda2010-02-19 18:47:49 -080048LOCAL_PROGUARD_ENABLED := disabled
49
Joe Onoratof9225f82009-05-05 18:34:31 -070050include $(BUILD_PACKAGE)