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 14include $(CLEAR_VARS) 15 16module_name := ltp_$(subst /,_,$(module_prebuilt)) 17module_stem := $(notdir $(module_prebuilt)) 18module_path := $(patsubst %/,%,$(dir $(module_prebuilt))) 19 20LOCAL_MODULE := $(module_name) 21LOCAL_INSTALLED_MODULE_STEM := $(module_stem) 22LOCAL_PREBUILT_MODULE_FILE := $(local_ltp_root)/$(module_src_files) 23LOCAL_MODULE_RELATIVE_PATH := ltp/$(module_path) 24LOCAL_MODULE_CLASS := NATIVE_TESTS 25LOCAL_MULTILIB := both 26 27include $(BUILD_PREBUILT) 28 29module_name := 30module_stem := 31module_path := 32