For some reason ijar won't build against libc++ for TARGET_BUILD_APPS
builds, but does build with libstdc++.
(cherry picked from commit 718bab6aec
)
Bug: 25904002
Change-Id: I1de103918faa5bb574af6f12cc954e7fed44dc62
17 lines
487 B
Makefile
17 lines
487 B
Makefile
# Copyright 2015 The Android Open Source Project
|
|
#
|
|
# The rest of files in this directory comes from
|
|
# https://github.com/bazelbuild/bazel/tree/master/third_party/ijar
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_CPP_EXTENSION := .cc
|
|
LOCAL_SRC_FILES := classfile.cc ijar.cc zip.cc
|
|
LOCAL_CFLAGS += -Wall
|
|
LOCAL_SHARED_LIBRARIES := libz-host
|
|
LOCAL_MODULE := ijar
|
|
# libc++ is not supported for TARGET_BUILD_APPS builds
|
|
LOCAL_CXX_STL := libstdc++
|
|
include $(BUILD_HOST_EXECUTABLE)
|