• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-GPL-2.0
22LOCAL_LICENSE_CONDITIONS := notice restricted
23LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYING $(LOCAL_PATH)/../NOTICE
24LOCAL_INSTALLED_MODULE_STEM := $(module_stem)
25LOCAL_PREBUILT_MODULE_FILE := $(local_ltp_root)/$(module_src_files)
26LOCAL_MODULE_RELATIVE_PATH := ltp/$(module_path)
27LOCAL_MODULE_CLASS := NATIVE_TESTS
28LOCAL_MULTILIB := both
29
30include $(BUILD_PREBUILT)
31
32module_name :=
33module_stem :=
34module_path :=
35