1c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown# Copyright (C) 2011 The Android Open Source Project 2c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown# 3c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown# Licensed under the Apache License, Version 2.0 (the "License"); 4c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown# you may not use this file except in compliance with the License. 5c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown# You may obtain a copy of the License at 6c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown# 7c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown# http://www.apache.org/licenses/LICENSE-2.0 8c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown# 9c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown# Unless required by applicable law or agreed to in writing, software 10c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown# distributed under the License is distributed on an "AS IS" BASIS, 11c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown# See the License for the specific language governing permissions and 13c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown# limitations under the License. 14c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Brown 15b415faba7482dd7ee3335f0f1518333554e3da0dJeff BrownLOCAL_PATH:= $(call my-dir) 16c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff Browninclude $(LOCAL_PATH)/../common.mk 17b415faba7482dd7ee3335f0f1518333554e3da0dJeff Brown 18b415faba7482dd7ee3335f0f1518333554e3da0dJeff Brown# Build libregex on host 195e369a0402856d5514a4908b601fd46ec857cb2dJeff Brownifeq ($(HAVE_LIBBFD),true) 20b415faba7482dd7ee3335f0f1518333554e3da0dJeff Browninclude $(CLEAR_VARS) 21b415faba7482dd7ee3335f0f1518333554e3da0dJeff Brown 22b415faba7482dd7ee3335f0f1518333554e3da0dJeff BrownLOCAL_SRC_FILES:= \ 23b415faba7482dd7ee3335f0f1518333554e3da0dJeff Brown op_regex.cpp \ 24b415faba7482dd7ee3335f0f1518333554e3da0dJeff Brown demangle_symbol.cpp \ 25b415faba7482dd7ee3335f0f1518333554e3da0dJeff Brown demangle_java_symbol.cpp 26b415faba7482dd7ee3335f0f1518333554e3da0dJeff Brown 27c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff BrownLOCAL_C_INCLUDES := $(common_host_c_includes) 28c3efb236108cf27a97d4cf7f05ee4a9a02f8e5faJeff BrownLOCAL_CFLAGS := $(common_host_cflags) 29b415faba7482dd7ee3335f0f1518333554e3da0dJeff BrownLOCAL_MODULE_TAGS := optional 306e67eb0359ee670a3eccd17dcc7eb0ffa3531d7bJeff BrownLOCAL_MODULE := liboprofile_op_regex 31b415faba7482dd7ee3335f0f1518333554e3da0dJeff Brown 32b415faba7482dd7ee3335f0f1518333554e3da0dJeff Browninclude $(BUILD_HOST_STATIC_LIBRARY) 335e369a0402856d5514a4908b601fd46ec857cb2dJeff Brownendif 34