blob: 66e762c0558b3818efa3c3710d995a3528894b2e [file] [log] [blame]
Robert Sesekded20982016-08-15 13:59:13 -04001#
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
17LOCAL_PATH := $(call my-dir)
18include $(CLEAR_VARS)
19
20LOCAL_MODULE := webview_zygote
21
22LOCAL_SRC_FILES := webview_zygote.cpp
23
24LOCAL_SHARED_LIBRARIES := \
25 libandroid_runtime \
26 libbinder \
27 liblog \
28 libcutils \
29 libutils
30
31LOCAL_LDFLAGS_32 := -Wl,--version-script,art/sigchainlib/version-script32.txt -Wl,--export-dynamic
32LOCAL_LDFLAGS_64 := -Wl,--version-script,art/sigchainlib/version-script64.txt -Wl,--export-dynamic
33
34LOCAL_WHOLE_STATIC_LIBRARIES := libsigchain
35
36LOCAL_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.
40ifeq ($(TARGET_SUPPORTS_64_BIT_APPS),true)
41 LOCAL_INIT_RC += webview_zygote64.rc
42endif
43
44LOCAL_MULTILIB := both
45
46LOCAL_MODULE_STEM_32 := webview_zygote32
47LOCAL_MODULE_STEM_64 := webview_zygote64
48
49include $(BUILD_EXECUTABLE)