Android.mk revision 112d29fe9f30d1237a1c8ac1ecc3740879c8c9ce
1# Copyright (C) 2012 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) 16appcompat_res_dirs := appcompat/res res ../../support/v7/appcompat/res 17 18include $(CLEAR_VARS) 19LOCAL_MODULE := libphotoviewer_appcompat 20 21LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4 \ 22 android-support-v7-appcompat 23 24LOCAL_SDK_VERSION := 18 25LOCAL_SRC_FILES := \ 26 $(call all-java-files-under, src) \ 27 $(call all-java-files-under, appcompat/src) \ 28 $(call all-logtags-files-under, src) 29 30LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(appcompat_res_dirs)) 31LOCAL_AAPT_FLAGS := --auto-add-overlay 32 33include $(BUILD_STATIC_JAVA_LIBRARY) 34 35 36include $(CLEAR_VARS) 37 38activity_res_dirs := activity/res res 39LOCAL_MODULE := libphotoviewer 40 41LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4 42 43LOCAL_SDK_VERSION := 18 44LOCAL_SRC_FILES := \ 45 $(call all-java-files-under, src) \ 46 $(call all-java-files-under, activity/src) \ 47 $(call all-logtags-files-under, src) 48 49LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(activity_res_dirs)) 50LOCAL_AAPT_FLAGS := --auto-add-overlay 51 52 53 54include $(BUILD_STATIC_JAVA_LIBRARY) 55 56 57################################################## 58# Build all sub-directories 59 60include $(call all-makefiles-under,$(LOCAL_PATH)) 61