Home | History | Annotate | Download | only in srcgen
      1 # Copyright (C) 2015 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 
     17 #
     18 # Subprojects with separate makefiles
     19 #
     20 
     21 subdirs := currysrc
     22 subdir_makefiles := $(call all-named-subdir-makefiles,$(subdirs))
     23 
     24 # build the android_icu4j srcgen jar
     25 # ============================================================
     26 
     27 include $(CLEAR_VARS)
     28 LOCAL_IS_HOST_MODULE := true
     29 LOCAL_MODULE := android_icu4j_srcgen
     30 LOCAL_MODULE_TAGS := optional
     31 LOCAL_MODULE_CLASS := JAVA_LIBRARIES
     32 LOCAL_JAVA_LIBRARIES := currysrc
     33 LOCAL_JAVA_RESOURCE_FILES := $(LOCAL_PATH)/resources/replacements.txt
     34 LOCAL_SRC_FILES := $(call all-java-files-under, src/)
     35 include $(BUILD_HOST_JAVA_LIBRARY)
     36 
     37 include $(subdir_makefiles)
     38