3 # Copyright 2013 The Android Open Source Project
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
9 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 # This script regenerates AllAudio.mk based on the content of the other
20 # It needs to be run from its location in the source tree.
22 cat > AllAudio.mk << EOF
23 # Copyright 2013 The Android Open Source Project
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
29 # http://www.apache.org/licenses/LICENSE-2.0
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.
37 LOCAL_PATH := frameworks/base/data/sounds
39 PRODUCT_COPY_FILES += \\
42 cat OriginalAudio.mk AudioPackage*.mk |
43 grep \\\$\(LOCAL_PATH\).*: |
49 echo -n \ \ \ \ >> AllAudio.mk
51 grep \\\$\(LOCAL_PATH\).*:$DEST |
56 tr -d \\n >> AllAudio.mk
57 echo :$DEST\ \\ >> AllAudio.mk