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