Home | History | Annotate | Download | only in products
      1 #
      2 # Copyright (C) 2018 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 # PRODUCT_PROPERTY_OVERRIDES cannot be used here because sysprops will be at
     18 # /vendor/[build|default].prop when build split is on. In order to have sysprops
     19 # on the generic system image, place them in build/make/target/board/
     20 # treble_system.prop.
     21 
     22 include device/google/atv/products/treble_atv_common.mk
     23 
     24 # For now this will allow 64-bit apps, but still compile all apps with JNI
     25 # for 32-bit only.
     26 
     27 # Copy different zygote settings for vendor.img to select by setting property
     28 # ro.zygote=zygote64_32 or ro.zygote=zygote32_64:
     29 #   1. 64-bit primary, 32-bit secondary OR
     30 #   2. 32-bit primary, 64-bit secondary
     31 #   3. 64-bit only is currently forbidden (b/64280459#comment6)
     32 PRODUCT_COPY_FILES += \
     33     system/core/rootdir/init.zygote64_32.rc:root/init.zygote64_32.rc \
     34     system/core/rootdir/init.zygote32_64.rc:root/init.zygote32_64.rc
     35 
     36 TARGET_SUPPORTS_32_BIT_APPS := true
     37 TARGET_SUPPORTS_64_BIT_APPS := true
     38