Skip to content
Newer
Older
100644 115 lines (92 sloc) 4.64 KB
a975372 @codeworkx captivate: initial push
codeworkx authored Jan 29, 2011
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=captivate
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 \$(call inherit-product, vendor/__MANUFACTURER__/__DEVICE__/device-vendor-blobs.mk)
40 EOF
41
42 (cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/full_$DEVICE-trampoline.mk
43 # Copyright (C) 2010 The Android Open Source Project
44 #
45 # Licensed under the Apache License, Version 2.0 (the "License");
46 # you may not use this file except in compliance with the License.
47 # You may obtain a copy of the License at
48 #
49 # http://www.apache.org/licenses/LICENSE-2.0
50 #
51 # Unless required by applicable law or agreed to in writing, software
52 # distributed under the License is distributed on an "AS IS" BASIS,
53 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
54 # See the License for the specific language governing permissions and
55 # limitations under the License.
56
57 # This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.sh
58
59 \$(call inherit-product, device/__MANUFACTURER__/__DEVICE__/full___DEVICE__-vendor.mk)
60 EOF
61
62 (cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/BoardConfigVendor.mk
63 # Copyright (C) 2010 The Android Open Source Project
64 #
65 # Licensed under the Apache License, Version 2.0 (the "License");
66 # you may not use this file except in compliance with the License.
67 # You may obtain a copy of the License at
68 #
69 # http://www.apache.org/licenses/LICENSE-2.0
70 #
71 # Unless required by applicable law or agreed to in writing, software
72 # distributed under the License is distributed on an "AS IS" BASIS,
73 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
74 # See the License for the specific language governing permissions and
75 # limitations under the License.
76
77 # This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.sh
78
79 BOARD_GPS_LIBRARIES := libgps
80
81 USE_CAMERA_STUB := false
82
83 BOARD_USES_GENERIC_AUDIO := false
84
85 BOARD_USES_LIBSECRIL_STUB := false
86
87 BOARD_NO_PAGE_FLIPPING := false
88 EOF
89
90 mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/overlay/packages/apps/Launcher2/res/layout
91 (cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/overlay/packages/apps/Launcher2/res/layout/all_apps.xml
92 <?xml version="1.0" encoding="utf-8"?>
93 <!-- Copyright (C) 2010 The Android Open Source Project
94
95 Licensed under the Apache License, Version 2.0 (the "License");
96 you may not use this file except in compliance with the License.
97 You may obtain a copy of the License at
98
99 http://www.apache.org/licenses/LICENSE-2.0
100
101 Unless required by applicable law or agreed to in writing, software
102 distributed under the License is distributed on an "AS IS" BASIS,
103 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
104 See the License for the specific language governing permissions and
105 limitations under the License.
106 -->
107
108 <!-- This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.sh -->
109
110 <!-- switch to all_apps_3d on devices that support RenderScript -->
111 <merge xmlns:android="http://schemas.android.com/apk/res/android">
112 <include layout="@layout/all_apps_3d" />
113 </merge>
114 EOF
Something went wrong with that request. Please try again.