Home | History | Annotate | Download | only in ituxd
      1 # Copyright (C) 2014 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 
     16 # WARNING: Everything listed here will be built on ALL platforms,
     17 # including x86, the emulator, and the SDK.  Modules must be uniquely
     18 # named (liblights.tuna), and must build everywhere, or limit themselves
     19 # to only building on ARM if they include assembly. Individual makefiles
     20 # are responsible for having their own logic, for fine-grained control.
     21 
     22 ifeq ($(ENABLE_ITUXD),true)
     23 
     24 LOCAL_PATH:= $(call my-dir)
     25 
     26 # Build
     27 include $(CLEAR_VARS)
     28 
     29 LOCAL_MODULE_TAGS := optional
     30 
     31 LOCAL_JNI_SHARED_LIBRARIES := libthermalJNI
     32 
     33 LOCAL_REQUIRED_MODULES += libthermalJNI
     34 
     35 LOCAL_SRC_FILES := $(call all-java-files-under, src)
     36 
     37 LOCAL_PACKAGE_NAME := ituxd
     38 
     39 LOCAL_CERTIFICATE := platform
     40 
     41 LOCAL_PRIVILEGED_MODULE := true
     42 
     43 LOCAL_PROGUARD_ENABLED := disabled
     44 
     45 include $(BUILD_PACKAGE)
     46 
     47 include $(call all-makefiles-under,$(LOCAL_PATH))
     48 
     49 endif
     50