Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 1 | # -*- mode: makefile -*- |
| 2 | # Copyright (C) 2013 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 | # |
| 17 | # Definitions for building the Conscrypt Java library, native code, |
| 18 | # and associated tests. |
| 19 | # |
| 20 | |
| 21 | # |
| 22 | # Common definitions for host and target. |
| 23 | # |
| 24 | |
| 25 | # Conscrypt is divided into modules. |
| 26 | # |
| 27 | # The structure is: |
| 28 | # |
| 29 | # src/ |
| 30 | # main/ # To be shipped on every device. |
| 31 | # java/ # Java source for library code. |
| 32 | # native/ # C++ source for library code. |
| 33 | # resources/ # Support files. |
| 34 | # test/ # Built only on demand, for testing. |
| 35 | # java/ # Java source for tests. |
| 36 | # native/ # C++ source for tests (rare). |
| 37 | # resources/ # Support files. |
| 38 | # |
| 39 | # All subdirectories are optional (hence the "2> /dev/null"s below). |
| 40 | |
| 41 | LOCAL_PATH := $(call my-dir) |
| 42 | |
Colin Cross | b77aef4 | 2015-03-30 17:23:41 -0700 | [diff] [blame^] | 43 | local_javac_flags:=-Xmaxwarns 9999999 |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 44 | #local_javac_flags+=-Xlint:all -Xlint:-serial,-deprecation,-unchecked |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 45 | |
Kenny Root | 18ed3be | 2014-11-24 10:57:37 -0800 | [diff] [blame] | 46 | core_cflags := -Wall -Wextra -Werror -Wunused |
| 47 | core_cppflags := -std=gnu++11 -Wall -Wextra -Werror -Wunused |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 48 | |
| 49 | # |
| 50 | # Build for the target (device). |
| 51 | # |
| 52 | |
Kenny Root | 1cfba2b | 2014-05-27 18:44:53 +0000 | [diff] [blame] | 53 | # Create the conscrypt library |
| 54 | include $(CLEAR_VARS) |
| 55 | LOCAL_SRC_FILES := $(call all-java-files-under,src/main/java) |
Kenny Root | 39deada | 2014-05-30 13:15:27 -0700 | [diff] [blame] | 56 | LOCAL_SRC_FILES += $(call all-java-files-under,src/platform/java) |
Brian Carlstrom | ecd29ab | 2014-06-18 15:11:01 -0700 | [diff] [blame] | 57 | LOCAL_JAVA_LIBRARIES := core-libart |
Kenny Root | 1cfba2b | 2014-05-27 18:44:53 +0000 | [diff] [blame] | 58 | LOCAL_NO_STANDARD_LIBRARIES := true |
| 59 | LOCAL_JAVACFLAGS := $(local_javac_flags) |
| 60 | LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt |
| 61 | LOCAL_MODULE_TAGS := optional |
| 62 | LOCAL_MODULE := conscrypt |
| 63 | LOCAL_REQUIRED_MODULES := libjavacrypto |
| 64 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 65 | include $(BUILD_JAVA_LIBRARY) |
| 66 | |
| 67 | # Create the conscrypt library without jarjar for tests |
| 68 | include $(CLEAR_VARS) |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 69 | LOCAL_SRC_FILES := $(call all-java-files-under,src/main/java) |
Kenny Root | 39deada | 2014-05-30 13:15:27 -0700 | [diff] [blame] | 70 | LOCAL_SRC_FILES += $(call all-java-files-under,src/platform/java) |
Brian Carlstrom | ecd29ab | 2014-06-18 15:11:01 -0700 | [diff] [blame] | 71 | LOCAL_JAVA_LIBRARIES := core-libart |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 72 | LOCAL_NO_STANDARD_LIBRARIES := true |
| 73 | LOCAL_JAVACFLAGS := $(local_javac_flags) |
| 74 | LOCAL_MODULE_TAGS := optional |
Kenny Root | 92b12a8 | 2013-10-02 16:44:41 -0700 | [diff] [blame] | 75 | LOCAL_MODULE := conscrypt-nojarjar |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 76 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 77 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 78 | |
| 79 | ifeq ($(LIBCORE_SKIP_TESTS),) |
| 80 | # Make the conscrypt-tests library. |
| 81 | include $(CLEAR_VARS) |
| 82 | LOCAL_SRC_FILES := $(call all-java-files-under,src/test/java) |
| 83 | LOCAL_NO_STANDARD_LIBRARIES := true |
Brian Carlstrom | ecd29ab | 2014-06-18 15:11:01 -0700 | [diff] [blame] | 84 | LOCAL_JAVA_LIBRARIES := core-libart core-junit bouncycastle |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 85 | LOCAL_STATIC_JAVA_LIBRARIES := core-tests-support conscrypt-nojarjar |
| 86 | LOCAL_JAVACFLAGS := $(local_javac_flags) |
| 87 | LOCAL_MODULE_TAGS := optional |
Kenny Root | 92b12a8 | 2013-10-02 16:44:41 -0700 | [diff] [blame] | 88 | LOCAL_MODULE := conscrypt-tests |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 89 | LOCAL_REQUIRED_MODULES := libjavacrypto |
| 90 | LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt |
| 91 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 92 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 93 | endif |
| 94 | |
| 95 | # Platform conscrypt crypto JNI library |
| 96 | include $(CLEAR_VARS) |
Adam Langley | 24144a8 | 2015-01-26 14:54:30 -0800 | [diff] [blame] | 97 | ifneq (,$(wildcard $(TOP)/external/boringssl/flavor.mk)) |
| 98 | include $(TOP)/external/boringssl/flavor.mk |
| 99 | else |
| 100 | include $(TOP)/external/openssl/flavor.mk |
| 101 | endif |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 102 | LOCAL_CFLAGS += $(core_cflags) |
| 103 | LOCAL_CFLAGS += -DJNI_JARJAR_PREFIX="com/android/" |
| 104 | LOCAL_CPPFLAGS += $(core_cppflags) |
| 105 | LOCAL_SRC_FILES := \ |
| 106 | src/main/native/org_conscrypt_NativeCrypto.cpp |
Kenny Root | 0a84a21 | 2013-10-01 17:48:03 -0700 | [diff] [blame] | 107 | LOCAL_C_INCLUDES += \ |
| 108 | external/openssl/include \ |
Kenny Root | f24ba06 | 2014-06-09 10:37:46 -0700 | [diff] [blame] | 109 | external/openssl \ |
Kenny Root | 0a84a21 | 2013-10-01 17:48:03 -0700 | [diff] [blame] | 110 | libcore/include \ |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 111 | libcore/luni/src/main/native |
Kenny Root | 0a84a21 | 2013-10-01 17:48:03 -0700 | [diff] [blame] | 112 | LOCAL_SHARED_LIBRARIES := libcrypto libjavacore liblog libnativehelper libssl libz |
Adam Langley | de5225d | 2014-10-06 15:55:30 -0700 | [diff] [blame] | 113 | ifeq ($(OPENSSL_FLAVOR),BoringSSL) |
| 114 | LOCAL_SHARED_LIBRARIES += libkeystore-engine |
Adam Langley | de5225d | 2014-10-06 15:55:30 -0700 | [diff] [blame] | 115 | endif |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 116 | LOCAL_MODULE_TAGS := optional |
Kenny Root | 92b12a8 | 2013-10-02 16:44:41 -0700 | [diff] [blame] | 117 | LOCAL_MODULE := libjavacrypto |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 118 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 119 | include $(BUILD_SHARED_LIBRARY) |
| 120 | |
Kenny Root | 3e46e4e | 2014-05-23 13:35:10 -0700 | [diff] [blame] | 121 | # Unbundled Conscrypt jar |
| 122 | include $(CLEAR_VARS) |
Kenny Root | 39deada | 2014-05-30 13:15:27 -0700 | [diff] [blame] | 123 | LOCAL_SRC_FILES := $(call all-java-files-under,src/main/java) |
| 124 | LOCAL_SRC_FILES += $(call all-java-files-under,src/compat/java) |
Kenny Root | 3e46e4e | 2014-05-23 13:35:10 -0700 | [diff] [blame] | 125 | LOCAL_SDK_VERSION := 9 |
| 126 | LOCAL_JAVACFLAGS := $(local_javac_flags) |
| 127 | LOCAL_MODULE_TAGS := optional |
Kenny Root | 031510f | 2014-05-29 13:53:05 -0700 | [diff] [blame] | 128 | LOCAL_MODULE := conscrypt_unbundled |
Kenny Root | 3e46e4e | 2014-05-23 13:35:10 -0700 | [diff] [blame] | 129 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 130 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 131 | |
| 132 | # Unbundled Conscrypt crypto JNI library |
| 133 | include $(CLEAR_VARS) |
| 134 | LOCAL_CFLAGS += $(core_cflags) |
| 135 | LOCAL_CPPFLAGS += $(core_cppflags) |
| 136 | LOCAL_SRC_FILES := \ |
| 137 | src/main/native/org_conscrypt_NativeCrypto.cpp \ |
Kenny Root | f24ba06 | 2014-06-09 10:37:46 -0700 | [diff] [blame] | 138 | src/compat/native/JNIHelp.cpp |
Kenny Root | 3e46e4e | 2014-05-23 13:35:10 -0700 | [diff] [blame] | 139 | LOCAL_C_INCLUDES += \ |
| 140 | external/openssl/include \ |
Kenny Root | f24ba06 | 2014-06-09 10:37:46 -0700 | [diff] [blame] | 141 | external/openssl \ |
| 142 | external/conscrypt/src/compat/native |
Adam Langley | de5225d | 2014-10-06 15:55:30 -0700 | [diff] [blame] | 143 | # NO_KEYSTORE_ENGINE instructs the BoringSSL build of Conscrypt not to support |
| 144 | # the keystore ENGINE. It is not available in this build configuration. |
| 145 | LOCAL_CFLAGS += -DNO_KEYSTORE_ENGINE |
Kenny Root | 031510f | 2014-05-29 13:53:05 -0700 | [diff] [blame] | 146 | LOCAL_LDFLAGS := -llog -lz -ldl |
Kenny Root | 3e46e4e | 2014-05-23 13:35:10 -0700 | [diff] [blame] | 147 | LOCAL_STATIC_LIBRARIES := libssl_static libcrypto_static |
| 148 | LOCAL_MODULE_TAGS := optional |
| 149 | LOCAL_MODULE := libconscrypt_jni |
| 150 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 151 | LOCAL_SDK_VERSION := 9 |
| 152 | include $(BUILD_SHARED_LIBRARY) |
| 153 | |
Justin Morey | e66dbe5 | 2014-06-10 14:35:13 -0500 | [diff] [blame] | 154 | # Static unbundled Conscrypt crypto JNI library |
| 155 | include $(CLEAR_VARS) |
| 156 | LOCAL_CFLAGS += $(core_cflags) |
| 157 | LOCAL_CPPFLAGS += $(core_cppflags) -DJNI_JARJAR_PREFIX="com/google/android/gms/" -DCONSCRYPT_UNBUNDLED -DSTATIC_LIB |
| 158 | LOCAL_SRC_FILES := \ |
| 159 | src/main/native/org_conscrypt_NativeCrypto.cpp \ |
| 160 | src/compat/native/JNIHelp.cpp |
| 161 | LOCAL_C_INCLUDES += \ |
| 162 | external/openssl/include \ |
| 163 | external/openssl \ |
| 164 | external/conscrypt/src/compat/native |
| 165 | LOCAL_MODULE_TAGS := optional |
| 166 | LOCAL_MODULE := libconscrypt_static |
| 167 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
Adam Langley | 0ccc17a | 2015-02-25 11:37:23 -0800 | [diff] [blame] | 168 | LOCAL_STATIC_LIBRARIES := libssl_static libcrypto_static |
Justin Morey | e66dbe5 | 2014-06-10 14:35:13 -0500 | [diff] [blame] | 169 | LOCAL_SDK_VERSION := 9 |
| 170 | include $(BUILD_STATIC_LIBRARY) |
| 171 | |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 172 | # |
| 173 | # Build for the host. |
| 174 | # |
| 175 | |
Elliott Hughes | d9b323c | 2014-12-17 13:29:43 -0800 | [diff] [blame] | 176 | ifeq ($(HOST_OS),linux) |
| 177 | |
Ian Rogers | 3a03c73 | 2014-05-23 11:53:18 -0700 | [diff] [blame] | 178 | # Make the conscrypt-hostdex library |
| 179 | include $(CLEAR_VARS) |
| 180 | LOCAL_SRC_FILES := $(call all-java-files-under,src/main/java) |
| 181 | LOCAL_SRC_FILES += $(call all-java-files-under,src/platform/java) |
| 182 | LOCAL_JAVACFLAGS := $(local_javac_flags) |
| 183 | LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt |
| 184 | LOCAL_MODULE_TAGS := optional |
| 185 | LOCAL_MODULE := conscrypt-hostdex |
| 186 | LOCAL_REQUIRED_MODULES := libjavacrypto |
| 187 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 188 | include $(BUILD_HOST_DALVIK_JAVA_LIBRARY) |
Kenny Root | 1cfba2b | 2014-05-27 18:44:53 +0000 | [diff] [blame] | 189 | |
Ian Rogers | 3a03c73 | 2014-05-23 11:53:18 -0700 | [diff] [blame] | 190 | # Make the conscrypt-hostdex-nojarjar for tests |
| 191 | include $(CLEAR_VARS) |
| 192 | LOCAL_SRC_FILES := $(call all-java-files-under,src/main/java) |
| 193 | LOCAL_SRC_FILES += $(call all-java-files-under,src/platform/java) |
| 194 | LOCAL_JAVACFLAGS := $(local_javac_flags) |
| 195 | LOCAL_BUILD_HOST_DEX := true |
| 196 | LOCAL_MODULE_TAGS := optional |
| 197 | LOCAL_MODULE := conscrypt-hostdex-nojarjar |
| 198 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 199 | include $(BUILD_HOST_DALVIK_JAVA_LIBRARY) |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 200 | |
Ian Rogers | 3a03c73 | 2014-05-23 11:53:18 -0700 | [diff] [blame] | 201 | # Make the conscrypt-tests library. |
| 202 | ifeq ($(LIBCORE_SKIP_TESTS),) |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 203 | include $(CLEAR_VARS) |
| 204 | LOCAL_SRC_FILES := $(call all-java-files-under,src/test/java) |
Narayan Kamath | b32d679 | 2013-10-28 14:22:43 +0000 | [diff] [blame] | 205 | LOCAL_JAVA_LIBRARIES := bouncycastle-hostdex core-junit-hostdex core-tests-support-hostdex conscrypt-hostdex-nojarjar |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 206 | LOCAL_JAVACFLAGS := $(local_javac_flags) |
| 207 | LOCAL_MODULE_TAGS := optional |
Kenny Root | 92b12a8 | 2013-10-02 16:44:41 -0700 | [diff] [blame] | 208 | LOCAL_MODULE := conscrypt-tests-hostdex |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 209 | LOCAL_REQUIRED_MODULES := libjavacrypto |
| 210 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
Narayan Kamath | b32d679 | 2013-10-28 14:22:43 +0000 | [diff] [blame] | 211 | include $(BUILD_HOST_DALVIK_JAVA_LIBRARY) |
Ian Rogers | 3a03c73 | 2014-05-23 11:53:18 -0700 | [diff] [blame] | 212 | endif |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 213 | |
Ian Rogers | 3a03c73 | 2014-05-23 11:53:18 -0700 | [diff] [blame] | 214 | # Conscrypt native library for host |
| 215 | include $(CLEAR_VARS) |
| 216 | LOCAL_CLANG := true |
| 217 | LOCAL_SRC_FILES += \ |
| 218 | src/main/native/org_conscrypt_NativeCrypto.cpp |
| 219 | LOCAL_C_INCLUDES += \ |
| 220 | external/openssl/include \ |
Kenny Root | f24ba06 | 2014-06-09 10:37:46 -0700 | [diff] [blame] | 221 | external/openssl \ |
Ian Rogers | 3a03c73 | 2014-05-23 11:53:18 -0700 | [diff] [blame] | 222 | libcore/include \ |
| 223 | libcore/luni/src/main/native |
| 224 | LOCAL_CPPFLAGS += $(core_cppflags) |
| 225 | LOCAL_LDLIBS += -lpthread |
| 226 | LOCAL_MODULE_TAGS := optional |
| 227 | LOCAL_MODULE := libjavacrypto |
| 228 | LOCAL_CFLAGS += -DJNI_JARJAR_PREFIX="com/android/" |
Adam Langley | de5225d | 2014-10-06 15:55:30 -0700 | [diff] [blame] | 229 | # NO_KEYSTORE_ENGINE instructs the BoringSSL build of Conscrypt not to support |
| 230 | # the keystore ENGINE. It is not available in this build configuration. |
| 231 | LOCAL_CFLAGS += -DNO_KEYSTORE_ENGINE |
Ian Rogers | 3a03c73 | 2014-05-23 11:53:18 -0700 | [diff] [blame] | 232 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 233 | LOCAL_SHARED_LIBRARIES := libcrypto-host libjavacore liblog libnativehelper libssl-host |
Elliott Hughes | 759b198 | 2014-10-28 13:24:26 -0700 | [diff] [blame] | 234 | LOCAL_MULTILIB := both |
Ian Rogers | 3a03c73 | 2014-05-23 11:53:18 -0700 | [diff] [blame] | 235 | include $(BUILD_HOST_SHARED_LIBRARY) |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 236 | |
Ian Rogers | 3a03c73 | 2014-05-23 11:53:18 -0700 | [diff] [blame] | 237 | # Conscrypt native library for nojarjar'd version |
| 238 | # Don't build this for unbundled conscrypt build |
| 239 | ifeq (,$(TARGET_BUILD_APPS)) |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 240 | include $(CLEAR_VARS) |
Ian Rogers | 3a03c73 | 2014-05-23 11:53:18 -0700 | [diff] [blame] | 241 | LOCAL_CLANG := true |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 242 | LOCAL_SRC_FILES += \ |
| 243 | src/main/native/org_conscrypt_NativeCrypto.cpp |
Kenny Root | 0a84a21 | 2013-10-01 17:48:03 -0700 | [diff] [blame] | 244 | LOCAL_C_INCLUDES += \ |
| 245 | external/openssl/include \ |
Kenny Root | f24ba06 | 2014-06-09 10:37:46 -0700 | [diff] [blame] | 246 | external/openssl \ |
Kenny Root | 0a84a21 | 2013-10-01 17:48:03 -0700 | [diff] [blame] | 247 | libcore/include \ |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 248 | libcore/luni/src/main/native |
Kenny Root | 3e46e4e | 2014-05-23 13:35:10 -0700 | [diff] [blame] | 249 | LOCAL_CPPFLAGS += $(core_cppflags) -DCONSCRYPT_NOT_UNBUNDLED |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 250 | LOCAL_LDLIBS += -lpthread |
| 251 | LOCAL_MODULE_TAGS := optional |
Kenny Root | 92b12a8 | 2013-10-02 16:44:41 -0700 | [diff] [blame] | 252 | LOCAL_MODULE := libconscrypt_jni |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 253 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
Adam Langley | de5225d | 2014-10-06 15:55:30 -0700 | [diff] [blame] | 254 | # NO_KEYSTORE_ENGINE instructs the BoringSSL build of Conscrypt not to |
| 255 | # support the keystore ENGINE. It is not available in this build |
| 256 | # configuration. |
| 257 | LOCAL_CFLAGS += -DNO_KEYSTORE_ENGINE |
Kenny Root | 7150e32 | 2013-10-01 19:54:34 -0700 | [diff] [blame] | 258 | LOCAL_SHARED_LIBRARIES := libcrypto-host libjavacore liblog libnativehelper libssl-host |
Elliott Hughes | 759b198 | 2014-10-28 13:24:26 -0700 | [diff] [blame] | 259 | LOCAL_MULTILIB := both |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 260 | include $(BUILD_HOST_SHARED_LIBRARY) |
Kenny Root | 0e27f2a | 2013-09-16 13:58:19 -0700 | [diff] [blame] | 261 | endif |
Kenny Root | 18ed3be | 2014-11-24 10:57:37 -0800 | [diff] [blame] | 262 | |
Elliott Hughes | d9b323c | 2014-12-17 13:29:43 -0800 | [diff] [blame] | 263 | endif # HOST_OS == linux |
| 264 | |
Kenny Root | 18ed3be | 2014-11-24 10:57:37 -0800 | [diff] [blame] | 265 | # clear out local variables |
| 266 | core_cflags := |
| 267 | core_cppflags := |
| 268 | local_javac_flags := |