Debian Codegraph @

target/product/core_64_bit.mk

raw
1 #
2 # Copyright (C) 2014 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 # Inherit from this product for devices that support 64-bit apps using:
18 # $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
19 # The inheritance for this must come before the inheritance chain that leads
20 # to core_minimal.mk
21
22 # For now this will allow 64-bit apps, but still compile all apps with JNI
23 # for 32-bit only.
24
25 # Copy the 64-bit primary, 32-bit secondary zygote startup script
26 PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64_32.rc:root/init.zygote64_32.rc
27
28 # Set the zygote property to select the 64-bit primary, 32-bit secondary script
29 # This line must be parsed before the one in core_minimal.mk
30 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote64_32
31
32 TARGET_SUPPORTS_32_BIT_APPS := true
33 TARGET_SUPPORTS_64_BIT_APPS := true