2 # Copyright (C) 2016 The Android Open Source Project
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 LOCAL_PATH := $(call my-dir)
20 LOCAL_MODULE := webview_zygote
22 LOCAL_SRC_FILES := webview_zygote.cpp
24 LOCAL_SHARED_LIBRARIES := \
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
34 LOCAL_WHOLE_STATIC_LIBRARIES := libsigchain
36 LOCAL_INIT_RC := webview_zygote32.rc
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
44 LOCAL_MULTILIB := both
46 LOCAL_MODULE_STEM_32 := webview_zygote32
47 LOCAL_MODULE_STEM_64 := webview_zygote64
49 include $(BUILD_EXECUTABLE)