Jae Shin | 91a2c72 | 2017-11-22 14:06:27 +0900 | [diff] [blame] | 1 | #!/bin/bash -e |
Jae Shin | e242d62 | 2017-11-20 14:47:19 +0900 | [diff] [blame] | 2 | # |
| 3 | # Copyright (C) 2017 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 | |
Jae Shin | 91a2c72 | 2017-11-22 14:06:27 +0900 | [diff] [blame] | 18 | export TARGET_BUILD_VARIANT=user |
| 19 | export BOARD_VNDK_VERSION=current |
Jae Shin | e242d62 | 2017-11-20 14:47:19 +0900 | [diff] [blame] | 20 | |
Jae Shin | 3796c34 | 2018-05-30 21:28:56 +0900 | [diff] [blame] | 21 | echo "-----Generating VNDK snapshot for arm64" |
| 22 | make -j vndk dist TARGET_PRODUCT=aosp_arm64 |
Jae Shin | e242d62 | 2017-11-20 14:47:19 +0900 | [diff] [blame] | 23 | |
Jae Shin | 3796c34 | 2018-05-30 21:28:56 +0900 | [diff] [blame] | 24 | echo "-----Generating VNDK snapshot for arm, 64-bit binder" |
| 25 | make -j vndk dist TARGET_PRODUCT=aosp_arm |
| 26 | |
| 27 | echo "-----Generating VNDK snapshot for arm, 32-bit binder" |
Jae Shin | 172e7c4 | 2017-12-22 16:26:24 +0900 | [diff] [blame] | 28 | make -j vndk dist TARGET_PRODUCT=aosp_arm_ab |
Jae Shin | e242d62 | 2017-11-20 14:47:19 +0900 | [diff] [blame] | 29 | |
Jae Shin | 3796c34 | 2018-05-30 21:28:56 +0900 | [diff] [blame] | 30 | echo "-----Generating VNDK snapshot for x86_64" |
| 31 | make -j vndk dist TARGET_PRODUCT=aosp_x86_64 |
Jae Shin | 91a2c72 | 2017-11-22 14:06:27 +0900 | [diff] [blame] | 32 | |
Jae Shin | 3796c34 | 2018-05-30 21:28:56 +0900 | [diff] [blame] | 33 | echo "-----Generating VNDK snapshot for x86, 64-bit binder" |
| 34 | make -j vndk dist TARGET_PRODUCT=aosp_x86 |
| 35 | |
| 36 | echo "-----Generating VNDK snapshot for x86, 32-bit binder" |
Jae Shin | 172e7c4 | 2017-12-22 16:26:24 +0900 | [diff] [blame] | 37 | make -j vndk dist TARGET_PRODUCT=aosp_x86_ab |