• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

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

device/generic/x86


Commit MetaInfo

修订版92c9214813e249af5ec6af12c8dd7b39ae1b39d9 (tree)
时间2014-11-06 16:42:46
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

android_x86: lollipop-x86 porting

Based on android-5.0.0_r2.

更改概述

差异

--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -1,5 +1,5 @@
11 #
2-# Copyright (C) 2011 The Android Open-Source Project
2+# Copyright (C) 2014 The Android-x86 Open Source Project
33 #
44 # Licensed under the Apache License, Version 2.0 (the "License");
55 # you may not use this file except in compliance with the License.
@@ -15,4 +15,4 @@
1515 #
1616
1717 PRODUCT_MAKEFILES := \
18- $(LOCAL_DIR)/mini_x86.mk
18+ $(LOCAL_DIR)/android_x86.mk
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -4,31 +4,12 @@
44
55 # The generic product target doesn't have any hardware-specific pieces.
66 TARGET_NO_BOOTLOADER := true
7-TARGET_NO_KERNEL := true
87
98 TARGET_ARCH := x86
109 TARGET_CPU_ABI := x86
1110 TARGET_CPU_SMP := true
1211
13-SMALLER_FONT_FOOTPRINT := true
14-MINIMAL_FONT_FOOTPRINT := true
15-# Some framework code requires this to enable BT
16-BOARD_HAVE_BLUETOOTH := true
17-BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
18-
19-# Build OpenGLES emulation libraries
20-BUILD_EMULATOR_OPENGL := true
21-BUILD_EMULATOR_OPENGL_DRIVER := true
22-USE_OPENGL_RENDERER := true
23-
24-BOARD_USE_LEGACY_UI := true
25-
26-# share the same one across all mini-emulators
27-BOARD_EGL_CFG := device/generic/goldfish/opengl/system/egl/egl.cfg
28-
29-# PDK does not use ext4 image, but it is added here to prevent build break.
3012 TARGET_USERIMAGES_USE_EXT4 := true
31-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800
3213 BOARD_USERDATAIMAGE_PARTITION_SIZE := 419430400
3314 BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
3415 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
@@ -52,3 +33,5 @@ BOARD_SEPOLICY_UNION += \
5233 surfaceflinger.te \
5334 system_server.te \
5435 zygote.te
36+
37+include device/generic/common/BoardConfig.mk
--- a/mini_x86.mk
+++ b/android_x86.mk
@@ -1,4 +1,5 @@
1-# Copyright (C) 2012 The Android Open Source Project
1+#
2+# Copyright (C) 2014 The Android-x86 Open Source Project
23 #
34 # Licensed under the Apache License, Version 2.0 (the "License");
45 # you may not use this file except in compliance with the License.
@@ -11,14 +12,13 @@
1112 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1213 # See the License for the specific language governing permissions and
1314 # limitations under the License.
15+#
1416
15-$(call inherit-product, device/generic/armv7-a-neon/mini_common.mk)
17+# includes the base of Android-x86 platform
18+$(call inherit-product,device/generic/common/x86.mk)
1619
17-PRODUCT_NAME := mini_x86
20+# Overrides
21+PRODUCT_NAME := android_x86
22+PRODUCT_BRAND := Android-x86
1823 PRODUCT_DEVICE := x86
19-PRODUCT_BRAND := Android
20-PRODUCT_MODEL := Mini for x86
21-
22-# default is nosdcard, S/W button enabled in resource
23-DEVICE_PACKAGE_OVERLAYS := device/generic/x86/overlay
24-PRODUCT_CHARACTERISTICS := nosdcard
24+PRODUCT_MODEL := Generic Android-x86
--- /dev/null
+++ b/vendorsetup.sh
@@ -0,0 +1,25 @@
1+#
2+# Copyright (C) 2014 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+# This file is executed by build/envsetup.sh, and can use anything
18+# defined in envsetup.sh.
19+#
20+# In particular, you can add lunch options with the add_lunch_combo
21+# function: add_lunch_combo generic-eng
22+
23+add_lunch_combo android_x86-eng
24+add_lunch_combo android_x86-userdebug
25+add_lunch_combo android_x86-user