112de25a6f806848952d8c334a90c5884aba4690fTom Taylor# Copyright 2011, The Android Open Source Project
212de25a6f806848952d8c334a90c5884aba4690fTom Taylor#
312de25a6f806848952d8c334a90c5884aba4690fTom Taylor# Licensed under the Apache License, Version 2.0 (the "License");
412de25a6f806848952d8c334a90c5884aba4690fTom Taylor# you may not use this file except in compliance with the License.
512de25a6f806848952d8c334a90c5884aba4690fTom Taylor# You may obtain a copy of the License at
612de25a6f806848952d8c334a90c5884aba4690fTom Taylor#
712de25a6f806848952d8c334a90c5884aba4690fTom Taylor#     http://www.apache.org/licenses/LICENSE-2.0
812de25a6f806848952d8c334a90c5884aba4690fTom Taylor#
912de25a6f806848952d8c334a90c5884aba4690fTom Taylor# Unless required by applicable law or agreed to in writing, software
1012de25a6f806848952d8c334a90c5884aba4690fTom Taylor# distributed under the License is distributed on an "AS IS" BASIS,
1112de25a6f806848952d8c334a90c5884aba4690fTom Taylor# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212de25a6f806848952d8c334a90c5884aba4690fTom Taylor# See the License for the specific language governing permissions and
1312de25a6f806848952d8c334a90c5884aba4690fTom Taylor# limitations under the License.
1412de25a6f806848952d8c334a90c5884aba4690fTom Taylor
1512de25a6f806848952d8c334a90c5884aba4690fTom TaylorLOCAL_PATH:= $(call my-dir)
1612de25a6f806848952d8c334a90c5884aba4690fTom Taylorinclude $(CLEAR_VARS)
1712de25a6f806848952d8c334a90c5884aba4690fTom Taylor
1812de25a6f806848952d8c334a90c5884aba4690fTom Taylor# We only want this apk build for tests.
1912de25a6f806848952d8c334a90c5884aba4690fTom TaylorLOCAL_MODULE_TAGS := tests
2012de25a6f806848952d8c334a90c5884aba4690fTom Taylor
21f691758c787aa63e72460cfc07bd983eea03dee0Wink SavilleLOCAL_JAVA_LIBRARIES := android.test.runner telephony-common
22c0446ebc7eb629f4faf598649030deb8ade543aePaul DuffinLOCAL_STATIC_JAVA_LIBRARIES := junit legacy-android-test
2312de25a6f806848952d8c334a90c5884aba4690fTom Taylor
2412de25a6f806848952d8c334a90c5884aba4690fTom Taylor# Include all test java files.
2512de25a6f806848952d8c334a90c5884aba4690fTom TaylorLOCAL_SRC_FILES := $(call all-java-files-under, src)
2612de25a6f806848952d8c334a90c5884aba4690fTom Taylor
2712de25a6f806848952d8c334a90c5884aba4690fTom Taylor# Notice that we don't have to include the src files of Email because, by
2812de25a6f806848952d8c334a90c5884aba4690fTom Taylor# running the tests using an instrumentation targeting Eamil, we
2912de25a6f806848952d8c334a90c5884aba4690fTom Taylor# automatically get all of its classes loaded into our environment.
3012de25a6f806848952d8c334a90c5884aba4690fTom Taylor
3112de25a6f806848952d8c334a90c5884aba4690fTom TaylorLOCAL_PACKAGE_NAME := BasicSmsReceiverTests
3212de25a6f806848952d8c334a90c5884aba4690fTom Taylor
3312de25a6f806848952d8c334a90c5884aba4690fTom TaylorLOCAL_INSTRUMENTATION_FOR := BasicSmsReceiver
3412de25a6f806848952d8c334a90c5884aba4690fTom Taylor
3512de25a6f806848952d8c334a90c5884aba4690fTom Taylorinclude $(BUILD_PACKAGE)
3612de25a6f806848952d8c334a90c5884aba4690fTom Taylor
37