• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


Commit MetaInfo

修訂a5d3564a9fb44be66ed2fe80097dfeea47502bae (tree)
時間2016-07-14 11:33:05
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Create an x86_64.mk as a base of all 64-bit targets

Change Summary

差異

--- a/nativebridge/nativebridge.mk
+++ b/nativebridge/nativebridge.mk
@@ -23,6 +23,12 @@ PRODUCT_PROPERTY_OVERRIDES := \
2323 ro.dalvik.vm.isa.arm=x86 \
2424 ro.enable.native.bridge.exec=1 \
2525
26+ifeq ($(TARGET_SUPPORTS_64_BIT_APPS),true)
27+PRODUCT_PROPERTY_OVERRIDES += \
28+ ro.dalvik.vm.isa.arm64=x86_64 \
29+ ro.enable.native.bridge.exec64=1
30+endif
31+
2632 PRODUCT_DEFAULT_PROPERTY_OVERRIDES := ro.dalvik.vm.native.bridge=libnb.so
2733
2834 PRODUCT_PACKAGES := libnb
--- /dev/null
+++ b/x86_64.mk
@@ -0,0 +1,18 @@
1+#
2+# Copyright (C) 2016 The Android-x86 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+$(call inherit-product,$(SRC_TARGET_DIR)/product/core_64_bit.mk)
18+$(call inherit-product,$(LOCAL_PATH)/x86.mk)