blob: e9618300fc48e5a5ea64331ca0e259999b4a5672 [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
Christopher Tate1bb69062010-02-19 17:02:12 -080027LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
Mathias Agopian83c64e62012-02-20 16:58:20 -080028LOCAL_SHARED_LIBRARIES := libandroidfw libutils
Joe Onorato3ad977b2009-05-05 11:50:51 -070029
30include $(BUILD_EXECUTABLE)
31
Joe Onoratof9225f82009-05-05 18:34:31 -070032# java test
33# ========================================
34include $(CLEAR_VARS)
35
Joe Onoratod2110db2009-05-19 13:41:21 -070036LOCAL_MODULE_TAGS := optional
Joe Onoratof9225f82009-05-05 18:34:31 -070037
Christopher Tate1bb69062010-02-19 17:02:12 -080038LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
39
Joe Onoratof9225f82009-05-05 18:34:31 -070040LOCAL_SRC_FILES := $(call all-subdir-java-files)
41
42LOCAL_PACKAGE_NAME := BackupTest
Anton Hanssonab6ec612018-02-23 12:57:51 +000043LOCAL_PRIVATE_PLATFORM_APIS := true
Joe Onoratof9225f82009-05-05 18:34:31 -070044
Ying Wangc882dda2010-02-19 18:47:49 -080045LOCAL_PROGUARD_ENABLED := disabled
46
Joe Onoratof9225f82009-05-05 18:34:31 -070047include $(BUILD_PACKAGE)