1# Copyright (C) 2014 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15vg_local_target_arch_cflags := $(target_arch_cflags) 16vg_local_target_2nd_arch_cflags := $(target_2nd_arch_cflags) 17vg_build_second_arch := false 18include $(LOCAL_PATH)/Android.build_one.mk 19 20# build second arch 21ifneq ($(TARGET_2ND_ARCH),) 22 vg_build_second_arch := true 23 include $(LOCAL_PATH)/Android.build_one.mk 24endif 25 26vg_build_second_arch := false 27vg_local_host_arch_cflags := $(host_arch_cflags) 28include $(LOCAL_PATH)/Android.build_host.mk 29 30vg_build_second_arch := true 31vg_local_host_arch_cflags := $(host_2nd_arch_cflags) 32include $(LOCAL_PATH)/Android.build_host.mk 33 34# clean vg_locals 35include $(LOCAL_PATH)/Android.clean.mk 36 37