• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

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

device/generic/common


コミットメタ情報

リビジョン74b32cbcbb7a8d4a7651c90df60d49c245f9303a (tree)
日時2016-05-06 03:17:12
作者Chih-Wei Huang <cwhuang@linu...>
コミッターChih-Wei Huang

ログメッセージ

Test build 20151202

変更サマリ

差分

--- a/init.sh
+++ b/init.sh
@@ -1,5 +1,5 @@
11 #
2-# Copyright (C) 2013 The Android-x86 Open Source Project
2+# Copyright (C) 2013-2015 The Android-x86 Open Source Project
33 #
44 # License: GNU Public License v2 or later
55 #
@@ -12,6 +12,10 @@ function set_property()
1212
1313 function init_misc()
1414 {
15+ # device information
16+ setprop ro.product.manufacturer "$(cat $DMIPATH/sys_vendor)"
17+ setprop ro.product.model "$PRODUCT"
18+
1519 # a hack for USB modem
1620 lsusb | grep 1a8d:1000 && eject
1721
@@ -398,6 +402,14 @@ for c in `cat /proc/cmdline`; do
398402 ;;
399403 *=*)
400404 eval $c
405+ case $c in
406+ HWACCEL=*)
407+ set_property debug.egl.hw $HWACCEL
408+ ;;
409+ DEBUG=*)
410+ set_property debug.logcat 1
411+ ;;
412+ esac
401413 ;;
402414 esac
403415 done
--- a/init.x86.rc
+++ b/init.x86.rc
@@ -19,10 +19,6 @@ on init
1919 # Backward compatibility
2020 symlink system/lib /lib
2121
22- # device information
23- setprop ro.product.manufacturer $[/sys/class/dmi/id/sys_vendor]
24- setprop ro.product.model $[/sys/class/dmi/id/product_name]
25-
2622 exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh
2723
2824 on fs
@@ -143,3 +139,6 @@ on property:persist.sys.nativebridge=1
143139
144140 on property:persist.sys.nativebridge=0
145141 stop nativebridge
142+
143+on property:debug.egl.hw=0
144+ setprop ro.kernel.qemu 1
--- a/nativebridge/bin/enable_nativebridge
+++ b/nativebridge/bin/enable_nativebridge
@@ -24,9 +24,9 @@ while [ ! -s $dest_dir/libhoudini.so ]; do
2424 sleep 10
2525 done
2626 if [ -z "$1" ]; then
27- [ "`uname -m`" = "x86_64" ] && url=http://goo.gl/Xl1str || url=http://goo.gl/PA2qZ7
27+ [ "`uname -m`" = "x86_64" ] && url=http://goo.gl/Knnmyl || url=http://goo.gl/JsoX2C
2828 else
29- url=http://goo.gl/L00S7l
29+ url=http://goo.gl/n6KtQa
3030 fi
3131 wget $url -cO houdini.tgz &&
3232 bzcat houdini.tgz | tar xvf - -C $dest_dir && rm -f houdini.tgz && break
--- a/packages.mk
+++ b/packages.mk
@@ -46,6 +46,7 @@ PRODUCT_PACKAGES := \
4646 libhuaweigeneric-ril \
4747 lights.default \
4848 make_ext4fs \
49+ parted \
4950 powerbtnd \
5051 scp \
5152 sensors.hsb \
@@ -76,5 +77,4 @@ PRODUCT_PACKAGES += \
7677
7778 # Third party apps
7879 PRODUCT_PACKAGES += \
79- Superuser \
80- TSCalibration2 \
80+ CMFileManager \
--- a/x86.mk
+++ b/x86.mk
@@ -21,6 +21,9 @@
2121 PRODUCT_PROPERTY_OVERRIDES := \
2222 ro.com.android.dateformat=MM-dd-yyyy \
2323
24+$(call inherit-product,$(LOCAL_PATH)/device.mk)
25+$(call inherit-product,$(LOCAL_PATH)/packages.mk)
26+
2427 # Get a list of languages.
2528 $(call inherit-product,$(SRC_TARGET_DIR)/product/locales_full.mk)
2629
@@ -29,6 +32,3 @@ $(call inherit-product,$(SRC_TARGET_DIR)/product/generic.mk)
2932
3033 # Get some sounds
3134 $(call inherit-product-if-exists,frameworks/base/data/sounds/AudioPackage6.mk)
32-
33-$(call inherit-product,$(LOCAL_PATH)/device.mk)
34-$(call inherit-product,$(LOCAL_PATH)/packages.mk)