1 # 2 # Copyright (C) 2016 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 LOCAL_PATH := $(call my-dir) 18 include $(CLEAR_VARS) 19 20 LOCAL_MODULE := webview_zygote 21 22 LOCAL_SRC_FILES := webview_zygote.cpp 23 24 LOCAL_SHARED_LIBRARIES := \ 25 libandroid_runtime \ 26 libbinder \ 27 liblog \ 28 libcutils \ 29 libutils 30 31 LOCAL_LDFLAGS_32 := -Wl,--version-script,art/sigchainlib/version-script32.txt -Wl,--export-dynamic 32 LOCAL_LDFLAGS_64 := -Wl,--version-script,art/sigchainlib/version-script64.txt -Wl,--export-dynamic 33 34 LOCAL_WHOLE_STATIC_LIBRARIES := libsigchain 35 36 LOCAL_INIT_RC := webview_zygote32.rc 37 38 # Always include the 32-bit version of webview_zygote. If the target is 64-bit, 39 # also include the 64-bit webview_zygote. 40 ifeq ($(TARGET_SUPPORTS_64_BIT_APPS),true) 41 LOCAL_INIT_RC += webview_zygote64.rc 42 endif 43 44 LOCAL_MULTILIB := both 45 46 LOCAL_MODULE_STEM_32 := webview_zygote32 47 LOCAL_MODULE_STEM_64 := webview_zygote64 48 49 include $(BUILD_EXECUTABLE) 50