Home | History | Annotate | Download | only in mca
      1 # -*- mode: makefile -*-
      2 #
      3 # Copyright (C) 2011 The Android Open Source Project
      4 #
      5 # Licensed under the Apache License, Version 2.0 (the "License");
      6 # you may not use this file except in compliance with the License.
      7 # You may obtain a copy of the License at
      8 #
      9 #      http://www.apache.org/licenses/LICENSE-2.0
     10 #
     11 # Unless required by applicable law or agreed to in writing, software
     12 # distributed under the License is distributed on an "AS IS" BASIS,
     13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14 # See the License for the specific language governing permissions and
     15 # limitations under the License.
     16 #
     17 
     18 # List of mobile filter framework directories to include in documentation/API/SDK.
     19 # Shared between mobile filter framework and frameworks/base.
     20 
     21 define libfilterfw-all-java-files-under
     22 $(patsubst ./%,%, \
     23   $(shell cd $(1) ; \
     24           find $(2) -name "*.java" -and -not -name ".*") \
     25  )
     26 endef
     27 
     28 # List of mobile filter framework source files to include in the public API/SDK.
     29 #
     30 #
     31 # $(1): directory for search (to support use from frameworks/base)
     32 define libfilterfw_to_document
     33  $(call libfilterfw-all-java-files-under,$(1), \
     34    filterfw/java \
     35    effect/java \
     36    filterpacks/imageproc/java \
     37    filterpacks/numeric/java \
     38    filterpacks/performance/java \
     39    filterpacks/text/java \
     40    filterpacks/ui/java \
     41    filterpacks/videosrc/java \
     42    filterpacks/videoproc/java \
     43    filterpacks/videosink/java )
     44 endef
     45