blob: 20c8cacf3a90a82f07d36b505f5ba9f3285f4bdd [file] [log] [blame]
Dave Allisonf4b80bc2014-05-14 15:41:25 -07001#
2# Copyright (C) 2014 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH:= $(call my-dir)
18
Ian Rogersafd9acc2014-06-17 08:21:54 -070019include art/build/Android.common_build.mk
Dave Allisonf4b80bc2014-05-14 15:41:25 -070020
21include $(CLEAR_VARS)
22LOCAL_CPP_EXTENSION := $(ART_CPP_EXTENSION)
23LOCAL_MODULE_TAGS := optional
24LOCAL_CFLAGS += $(ART_TARGET_CFLAGS)
25LOCAL_SRC_FILES := sigchain.cc
26LOCAL_MODULE:= libsigchain
Ian Rogersafd9acc2014-06-17 08:21:54 -070027LOCAL_SHARED_LIBRARIES := liblog libdl
28LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
29LOCAL_ADDITIONAL_DEPENDENCIES += art/build/Android.common_build.mk
Dave Allisonf4b80bc2014-05-14 15:41:25 -070030include $(BUILD_SHARED_LIBRARY)
Dave Allison7fb36de2014-07-10 02:05:10 +000031
32# Build host library.
33include $(CLEAR_VARS)
34LOCAL_CPP_EXTENSION := $(ART_CPP_EXTENSION)
35LOCAL_MODULE_TAGS := optional
36LOCAL_IS_HOST_MODULE := true
37LOCAL_CFLAGS += $(ART_HOST_CFLAGS)
38LOCAL_SRC_FILES := sigchain.cc
39LOCAL_MODULE:= libsigchain
40LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Android.mk
41LOCAL_LDLIBS = -ldl
42LOCAL_MULTILIB := both
43include $(BUILD_HOST_SHARED_LIBRARY)