upload android base code part6
This commit is contained in:
parent
421e214c7d
commit
4e516ec6ed
35396 changed files with 9188716 additions and 0 deletions
18
android/device/generic/mips/AndroidProducts.mk
Normal file
18
android/device/generic/mips/AndroidProducts.mk
Normal file
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# Copyright (C) 2011 The Android Open-Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/mini_mips.mk
|
38
android/device/generic/mips/BoardConfig.mk
Normal file
38
android/device/generic/mips/BoardConfig.mk
Normal file
|
@ -0,0 +1,38 @@
|
|||
#
|
||||
# Product-specific compile-time definitions.
|
||||
#
|
||||
|
||||
# The generic product target doesn't have any hardware-specific pieces.
|
||||
TARGET_NO_BOOTLOADER := true
|
||||
TARGET_NO_KERNEL := true
|
||||
|
||||
TARGET_ARCH := mips
|
||||
TARGET_ARCH_VARIANT := mips32-fp
|
||||
TARGET_CPU_ABI := mips
|
||||
|
||||
SMALLER_FONT_FOOTPRINT := true
|
||||
MINIMAL_FONT_FOOTPRINT := true
|
||||
# Some framework code requires this to enable BT
|
||||
BOARD_HAVE_BLUETOOTH := true
|
||||
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
|
||||
|
||||
# Build OpenGLES emulation libraries
|
||||
BUILD_EMULATOR_OPENGL := true
|
||||
BUILD_EMULATOR_OPENGL_DRIVER := true
|
||||
USE_OPENGL_RENDERER := true
|
||||
BOARD_USES_GENERIC_AUDIO := true
|
||||
|
||||
USE_CAMERA_STUB := true
|
||||
|
||||
BOARD_USE_LEGACY_UI := true
|
||||
|
||||
# share the same one across all mini-emulators
|
||||
BOARD_EGL_CFG := device/generic/goldfish-opengl/system/egl/egl.cfg
|
||||
TARGET_USERIMAGES_USE_EXT4 := true
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
|
||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_FLASH_BLOCK_SIZE := 512
|
||||
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
||||
BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
|
24
android/device/generic/mips/mini_mips.mk
Normal file
24
android/device/generic/mips/mini_mips.mk
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Copyright (C) 2012 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
$(call inherit-product, device/generic/armv7-a-neon/mini_common.mk)
|
||||
|
||||
PRODUCT_NAME := mini_mips
|
||||
PRODUCT_DEVICE := mips
|
||||
PRODUCT_BRAND := Android
|
||||
PRODUCT_MODEL := Mini for mips
|
||||
|
||||
# default is nosdcard, S/W button enabled in resource
|
||||
DEVICE_PACKAGE_OVERLAYS := device/generic/mips/overlay
|
||||
PRODUCT_CHARACTERISTICS := nosdcard
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2012, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
|
||||
autodetected from the Configuration. -->
|
||||
<bool name="config_showNavigationBar">true</bool>
|
||||
</resources>
|
|
@ -0,0 +1,44 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
**
|
||||
** Copyright 2012, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License")
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- The <device> element should contain one or more <storage> elements.
|
||||
Exactly one of these should have the attribute primary="true".
|
||||
This storage will be the primary external storage and should have path="/mnt/sdcard".
|
||||
Each storage should have both a path and description attribute set.
|
||||
The following boolean attributes are optional:
|
||||
|
||||
primary: this storage is the primary external storage
|
||||
removable: this is removable storage (for example, a real SD card)
|
||||
emulated: the storage is emulated via the FUSE sdcard daemon
|
||||
mtp-reserve: number of megabytes of storage MTP should reserve for free storage
|
||||
(used for emulated storage that is shared with system's data partition)
|
||||
allowMassStorage: (boolean) true if this volume can be shared via USB mass storage
|
||||
maxFileSize: (integer) maximum file size in megabytes
|
||||
|
||||
A storage should not have both emulated and removable set to true
|
||||
-->
|
||||
|
||||
<StorageList xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- internal emulated storage -->
|
||||
<storage android:mountPoint="/storage/sdcard0"
|
||||
android:storageDescription="@string/storage_internal"
|
||||
android:primary="true"
|
||||
android:emulated="true"
|
||||
android:mtpReserve="100" />
|
||||
</StorageList>
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/**
|
||||
* Copyright (c) 2009, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<!-- lockscreen may not work in PDK env -->
|
||||
<bool name="def_lockscreen_disabled">true</bool>
|
||||
</resources>
|
Loading…
Add table
Add a link
Reference in a new issue