• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash -e
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
18export TARGET_BUILD_VARIANT=user
19export BOARD_VNDK_VERSION=current
20
21echo "-----Generating VNDK snapshot for arm64"
22make -j vndk dist TARGET_PRODUCT=aosp_arm64
23
24echo "-----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"
28make -j vndk dist TARGET_PRODUCT=aosp_arm_ab
29
30echo "-----Generating VNDK snapshot for x86_64"
31make -j vndk dist TARGET_PRODUCT=aosp_x86_64
32
33echo "-----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"
37make -j vndk dist TARGET_PRODUCT=aosp_x86_ab
38
39echo "-----Running tests"
40source development/vndk/snapshot/test.sh all
41