blob: 606e74cb24eb56f35bf9c549a3b76c5f271a9070 [file] [log] [blame]
Dmitriy Ivanovf41e8ea2014-04-10 15:45:17 -07001# 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
Dmitriy Ivanov82fb91c2014-12-05 14:37:56 -080015vg_local_target_arch_cflags := $(target_arch_cflags)
16vg_local_target_2nd_arch_cflags := $(target_2nd_arch_cflags)
Dmitriy Ivanovf41e8ea2014-04-10 15:45:17 -070017vg_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
Dmitriy Ivanov82fb91c2014-12-05 14:37:56 -080026vg_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
Dmitriy Ivanovf41e8ea2014-04-10 15:45:17 -070034# clean vg_locals
35include $(LOCAL_PATH)/Android.clean.mk
36