1# 2# Copyright (C) 2015 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17LOCAL_PATH := $(call my-dir) 18 19# 20# Everything below here is used for integration testing of generated AIDL code. 21# 22 23# aidl on its own doesn't need the framework, but testing native/java 24# compatibility introduces java dependencies. 25ifndef BRILLO 26 27include $(CLEAR_VARS) 28LOCAL_PACKAGE_NAME := aidl_test_services 29LOCAL_PRIVATE_PLATFORM_APIS := true 30# Turn off Java optimization tools to speed up our test iterations. 31LOCAL_PROGUARD_ENABLED := disabled 32LOCAL_DEX_PREOPT := false 33LOCAL_CERTIFICATE := platform 34LOCAL_MANIFEST_FILE := tests/java_app/AndroidManifest.xml 35LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/tests/java_app/resources 36LOCAL_SRC_FILES := \ 37 tests/android/aidl/tests/INamedCallback.aidl \ 38 tests/android/aidl/tests/ITestService.aidl \ 39 tests/java_app/src/android/aidl/tests/NullableTests.java \ 40 tests/java_app/src/android/aidl/tests/SimpleParcelable.java \ 41 tests/java_app/src/android/aidl/tests/TestFailException.java \ 42 tests/java_app/src/android/aidl/tests/TestLogger.java \ 43 tests/java_app/src/android/aidl/tests/TestServiceClient.java 44LOCAL_AIDL_INCLUDES := \ 45 system/tools/aidl/tests/ \ 46 frameworks/native/aidl/binder 47include $(BUILD_PACKAGE) 48 49endif # not defined BRILLO 50