Home | History | Annotate | Download | only in photoviewer
      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 
     15 LOCAL_PATH := $(call my-dir)
     16 appcompat_res_dirs := appcompat/res res ../../support/v7/appcompat/res
     17 
     18 include $(CLEAR_VARS)
     19 LOCAL_MODULE := libphotoviewer_appcompat
     20 
     21 LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4 \
     22     android-support-v7-appcompat
     23 
     24 LOCAL_SDK_VERSION := 18
     25 LOCAL_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 
     30 LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(appcompat_res_dirs))
     31 LOCAL_AAPT_FLAGS := --auto-add-overlay
     32 
     33 include $(BUILD_STATIC_JAVA_LIBRARY)
     34 
     35 
     36 include $(CLEAR_VARS)
     37 
     38 activity_res_dirs := activity/res res
     39 LOCAL_MODULE := libphotoviewer
     40 
     41 LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4
     42 
     43 LOCAL_SDK_VERSION := 18
     44 LOCAL_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 
     49 LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(activity_res_dirs))
     50 LOCAL_AAPT_FLAGS := --auto-add-overlay
     51 
     52 
     53 
     54 include $(BUILD_STATIC_JAVA_LIBRARY)
     55 
     56 
     57 ##################################################
     58 # Build all sub-directories
     59 
     60 include $(call all-makefiles-under,$(LOCAL_PATH))
     61