am cd13ae76: Merge "Switch to libsigchain.a" into lmp-mr1-dev
* commit 'cd13ae76a54a2cd7f20730579486834c326fa272': Switch to libsigchain.a
This commit is contained in:
@@ -2,15 +2,10 @@ LOCAL_PATH:= $(call my-dir)
|
|||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
# TODO: Trying to link libsigchain as a static library prevents
|
|
||||||
# static linker from exporting necessary symbols. So as a workaround
|
|
||||||
# we use sigchain.o
|
|
||||||
LOCAL_SRC_FILES:= \
|
LOCAL_SRC_FILES:= \
|
||||||
app_main.cpp \
|
app_main.cpp
|
||||||
sigchain_proxy.cpp
|
|
||||||
|
|
||||||
LOCAL_LDFLAGS := -Wl,--version-script,art/sigchainlib/version-script.txt -Wl,--export-dynamic
|
LOCAL_LDFLAGS := -Wl,--version-script,art/sigchainlib/version-script.txt -Wl,--export-dynamic
|
||||||
LOCAL_CPPFLAGS := -std=c++11 -Iart
|
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
libdl \
|
libdl \
|
||||||
@@ -20,6 +15,8 @@ LOCAL_SHARED_LIBRARIES := \
|
|||||||
libbinder \
|
libbinder \
|
||||||
libandroid_runtime
|
libandroid_runtime
|
||||||
|
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES := libsigchain
|
||||||
|
|
||||||
LOCAL_MODULE:= app_process
|
LOCAL_MODULE:= app_process
|
||||||
LOCAL_MULTILIB := both
|
LOCAL_MULTILIB := both
|
||||||
LOCAL_MODULE_STEM_32 := app_process32
|
LOCAL_MODULE_STEM_32 := app_process32
|
||||||
@@ -36,10 +33,8 @@ ifeq ($(TARGET_ARCH),arm)
|
|||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
# see comment above (~l5)
|
|
||||||
LOCAL_SRC_FILES:= \
|
LOCAL_SRC_FILES:= \
|
||||||
app_main.cpp \
|
app_main.cpp
|
||||||
sigchain_proxy.cpp
|
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
libcutils \
|
libcutils \
|
||||||
@@ -48,8 +43,10 @@ LOCAL_SHARED_LIBRARIES := \
|
|||||||
libbinder \
|
libbinder \
|
||||||
libandroid_runtime
|
libandroid_runtime
|
||||||
|
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES := libsigchain
|
||||||
|
|
||||||
LOCAL_LDFLAGS := -ldl -Wl,--version-script,art/sigchainlib/version-script.txt -Wl,--export-dynamic
|
LOCAL_LDFLAGS := -ldl -Wl,--version-script,art/sigchainlib/version-script.txt -Wl,--export-dynamic
|
||||||
LOCAL_CPPFLAGS := -std=c++11 -Iart
|
LOCAL_CPPFLAGS := -std=c++11
|
||||||
|
|
||||||
LOCAL_MODULE := app_process__asan
|
LOCAL_MODULE := app_process__asan
|
||||||
LOCAL_MODULE_TAGS := eng
|
LOCAL_MODULE_TAGS := eng
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2014 The Android Open Source Project
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "sigchainlib/sigchain.cc"
|
|
||||||
Reference in New Issue
Block a user