146c012c3806a4b5c5c46539ea5070cc56e1bdb4The Android Open Source Project#
2130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley# Copyright (C) 2015 The Android Open Source Project
3130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley#
4130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley# Licensed under the Apache License, Version 2.0 (the "License");
5130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley# you may not use this file except in compliance with the License.
6130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley# You may obtain a copy of the License at
7130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley#
8130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley#      http://www.apache.org/licenses/LICENSE-2.0
9130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley#
10130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley# Unless required by applicable law or agreed to in writing, software
11130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley# distributed under the License is distributed on an "AS IS" BASIS,
12130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley# See the License for the specific language governing permissions and
14130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley# limitations under the License.
15130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley#
16130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley
17130e6860394575ea183f25c41097aae56c2c575fChristopher WileyLOCAL_PATH := $(call my-dir)
1846c012c3806a4b5c5c46539ea5070cc56e1bdb4The Android Open Source Project
19d0724f63eb53af7f23e91b0f90222c2829cf91dcChristopher Wiley#
20d0724f63eb53af7f23e91b0f90222c2829cf91dcChristopher Wiley# Everything below here is used for integration testing of generated AIDL code.
21d0724f63eb53af7f23e91b0f90222c2829cf91dcChristopher Wiley#
22130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley
23130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley# aidl on its own doesn't need the framework, but testing native/java
24130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley# compatibility introduces java dependencies.
25130e6860394575ea183f25c41097aae56c2c575fChristopher Wileyifndef BRILLO
26130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley
27130e6860394575ea183f25c41097aae56c2c575fChristopher Wileyinclude $(CLEAR_VARS)
28130e6860394575ea183f25c41097aae56c2c575fChristopher WileyLOCAL_PACKAGE_NAME := aidl_test_services
2934bbc7b2fb0b7e54aeda658233cc52619555a627Christopher Wiley# Turn off Java optimization tools to speed up our test iterations.
3034bbc7b2fb0b7e54aeda658233cc52619555a627Christopher WileyLOCAL_PROGUARD_ENABLED := disabled
31130e6860394575ea183f25c41097aae56c2c575fChristopher WileyLOCAL_DEX_PREOPT := false
32130e6860394575ea183f25c41097aae56c2c575fChristopher WileyLOCAL_CERTIFICATE := platform
33130e6860394575ea183f25c41097aae56c2c575fChristopher WileyLOCAL_MANIFEST_FILE := tests/java_app/AndroidManifest.xml
34130e6860394575ea183f25c41097aae56c2c575fChristopher WileyLOCAL_RESOURCE_DIR := $(LOCAL_PATH)/tests/java_app/resources
35130e6860394575ea183f25c41097aae56c2c575fChristopher WileyLOCAL_SRC_FILES := \
36389781f56bb6b4363e9eb03acf915ba297f607d5Casey Dahlin    tests/android/aidl/tests/INamedCallback.aidl \
371e8554a6937487d189c961aff78533fb58b1c4c1Christopher Wiley    tests/android/aidl/tests/ITestService.aidl \
381e8554a6937487d189c961aff78533fb58b1c4c1Christopher Wiley    tests/java_app/src/android/aidl/tests/NullableTests.java \
39996775af841578ead235540eb383f114b4e0eb00Christopher Wiley    tests/java_app/src/android/aidl/tests/SimpleParcelable.java \
406bde2e9c8fd5082201a6bd1c1097017dc315078cChristopher Wiley    tests/java_app/src/android/aidl/tests/TestFailException.java \
416bde2e9c8fd5082201a6bd1c1097017dc315078cChristopher Wiley    tests/java_app/src/android/aidl/tests/TestLogger.java \
42521bb618fa16d0b88ae88b8dcd98b72e579f1ed4Christopher Wiley    tests/java_app/src/android/aidl/tests/TestServiceClient.java
4313ace34a8f93706a13effee812d13610a487b572Samuel TanLOCAL_AIDL_INCLUDES := \
4413ace34a8f93706a13effee812d13610a487b572Samuel Tan    system/tools/aidl/tests/ \
4513ace34a8f93706a13effee812d13610a487b572Samuel Tan    frameworks/native/aidl/binder
46130e6860394575ea183f25c41097aae56c2c575fChristopher Wileyinclude $(BUILD_PACKAGE)
47130e6860394575ea183f25c41097aae56c2c575fChristopher Wiley
48130e6860394575ea183f25c41097aae56c2c575fChristopher Wileyendif  # not defined BRILLO
49