Home | History | Annotate | Download | only in android
      1 #
      2 # Copyright (C) 2016 The Android Open Source Project
      3 #
      4 # This software is licensed under the terms of the GNU General Public
      5 # License version 2, as published by the Free Software Foundation, and
      6 # may be copied, distributed, and modified under those terms.
      7 #
      8 # This program is distributed in the hope that it will be useful,
      9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
     10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     11 # GNU General Public License for more details.
     12 #
     13 
     14 include $(CLEAR_VARS)
     15 
     16 module_name := ltp_$(subst /,_,$(module_prebuilt))
     17 module_stem := $(notdir $(module_prebuilt))
     18 module_path := $(patsubst %/,%,$(dir $(module_prebuilt)))
     19 
     20 LOCAL_MODULE := $(module_name)
     21 LOCAL_INSTALLED_MODULE_STEM := $(module_stem)
     22 LOCAL_PREBUILT_MODULE_FILE := $(local_ltp_root)/$(module_src_files)
     23 LOCAL_MODULE_RELATIVE_PATH := ltp/$(module_path)
     24 LOCAL_MODULE_CLASS := NATIVE_TESTS
     25 LOCAL_MULTILIB := both
     26 
     27 include $(BUILD_PREBUILT)
     28 
     29 module_name :=
     30 module_stem :=
     31 module_path :=
     32