1#!/bin/sh 2 3# Copyright (C) 2010 The Android Open Source Project 4# 5# Licensed under the Apache License, Version 2.0 (the "License"); 6# you may not use this file except in compliance with the License. 7# You may obtain a copy of the License at 8# 9# http://www.apache.org/licenses/LICENSE-2.0 10# 11# Unless required by applicable law or agreed to in writing, software 12# distributed under the License is distributed on an "AS IS" BASIS, 13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14# See the License for the specific language governing permissions and 15# limitations under the License. 16 17DEVICE=crespo 18MANUFACTURER=samsung 19 20mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE 21 22(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/device-vendor.mk 23# Copyright (C) 2010 The Android Open Source Project 24# 25# Licensed under the Apache License, Version 2.0 (the "License"); 26# you may not use this file except in compliance with the License. 27# You may obtain a copy of the License at 28# 29# http://www.apache.org/licenses/LICENSE-2.0 30# 31# Unless required by applicable law or agreed to in writing, software 32# distributed under the License is distributed on an "AS IS" BASIS, 33# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 34# See the License for the specific language governing permissions and 35# limitations under the License. 36 37# This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.sh 38 39# Live wallpaper packages 40PRODUCT_PACKAGES := \\ 41 LiveWallpapers \\ 42 LiveWallpapersPicker \\ 43 MagicSmokeWallpapers \\ 44 VisualizationWallpapers \\ 45 librs_jni 46 47# Publish that we support the live wallpaper feature. 48PRODUCT_COPY_FILES := \\ 49 packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:/system/etc/permissions/android.software.live_wallpaper.xml 50 51# NFC packages 52PRODUCT_PACKAGES += \\ 53 libnfc \\ 54 libnfc_jni \\ 55 Nfc \\ 56 Tag 57 58# Pick up overlay for features that depend on non-open-source files 59DEVICE_PACKAGE_OVERLAYS := vendor/__MANUFACTURER__/__DEVICE__/overlay 60 61\$(call inherit-product, vendor/__MANUFACTURER__/__DEVICE__/device-vendor-blobs.mk) 62EOF 63 64(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/BoardConfigVendor.mk 65# Copyright (C) 2010 The Android Open Source Project 66# 67# Licensed under the Apache License, Version 2.0 (the "License"); 68# you may not use this file except in compliance with the License. 69# You may obtain a copy of the License at 70# 71# http://www.apache.org/licenses/LICENSE-2.0 72# 73# Unless required by applicable law or agreed to in writing, software 74# distributed under the License is distributed on an "AS IS" BASIS, 75# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 76# See the License for the specific language governing permissions and 77# limitations under the License. 78 79# This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.sh 80 81BOARD_GPS_LIBRARIES := libgps 82 83USE_CAMERA_STUB := false 84 85BOARD_USES_GENERIC_AUDIO := false 86 87BOARD_USES_LIBSECRIL_STUB := false 88 89BOARD_NO_PAGE_FLIPPING := false 90BOARD_NO_32BPP := false 91EOF 92 93mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/overlay/packages/apps/Launcher2/res/layout 94(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/overlay/packages/apps/Launcher2/res/layout/all_apps.xml 95<?xml version="1.0" encoding="utf-8"?> 96<!-- Copyright (C) 2010 The Android Open Source Project 97 98 Licensed under the Apache License, Version 2.0 (the "License"); 99 you may not use this file except in compliance with the License. 100 You may obtain a copy of the License at 101 102 http://www.apache.org/licenses/LICENSE-2.0 103 104 Unless required by applicable law or agreed to in writing, software 105 distributed under the License is distributed on an "AS IS" BASIS, 106 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 107 See the License for the specific language governing permissions and 108 limitations under the License. 109--> 110 111<!-- This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.sh --> 112 113<!-- switch to all_apps_3d on devices that support RenderScript --> 114<merge xmlns:android="http://schemas.android.com/apk/res/android"> 115 <include layout="@layout/all_apps_3d" /> 116</merge> 117EOF 118