blob: c957cdb365521eb65af1ce727dd4fd93afe8a103 [file] [log] [blame]
Jae Shin91a2c722017-11-22 14:06:27 +09001#!/bin/bash -e
Jae Shine242d622017-11-20 14:47:19 +09002#
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 Shin91a2c722017-11-22 14:06:27 +090018export TARGET_BUILD_VARIANT=user
19export BOARD_VNDK_VERSION=current
Jae Shine242d622017-11-20 14:47:19 +090020
Jae Shin3796c342018-05-30 21:28:56 +090021echo "-----Generating VNDK snapshot for arm64"
22make -j vndk dist TARGET_PRODUCT=aosp_arm64
Jae Shine242d622017-11-20 14:47:19 +090023
Jae Shin3796c342018-05-30 21:28:56 +090024echo "-----Generating VNDK snapshot for arm, 64-bit binder"
25make -j vndk dist TARGET_PRODUCT=aosp_arm
26
27echo "-----Generating VNDK snapshot for arm, 32-bit binder"
Jae Shin172e7c42017-12-22 16:26:24 +090028make -j vndk dist TARGET_PRODUCT=aosp_arm_ab
Jae Shine242d622017-11-20 14:47:19 +090029
Jae Shin3796c342018-05-30 21:28:56 +090030echo "-----Generating VNDK snapshot for x86_64"
31make -j vndk dist TARGET_PRODUCT=aosp_x86_64
Jae Shin91a2c722017-11-22 14:06:27 +090032
Jae Shin3796c342018-05-30 21:28:56 +090033echo "-----Generating VNDK snapshot for x86, 64-bit binder"
34make -j vndk dist TARGET_PRODUCT=aosp_x86
35
36echo "-----Generating VNDK snapshot for x86, 32-bit binder"
Jae Shin172e7c42017-12-22 16:26:24 +090037make -j vndk dist TARGET_PRODUCT=aosp_x86_ab