Dmitriy Ivanov | f41e8ea | 2014-04-10 15:45:17 -0700 | [diff] [blame] | 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 | |
Dmitriy Ivanov | 82fb91c | 2014-12-05 14:37:56 -0800 | [diff] [blame] | 15 | vg_local_target_arch_cflags := $(target_arch_cflags) |
| 16 | vg_local_target_2nd_arch_cflags := $(target_2nd_arch_cflags) |
Dmitriy Ivanov | f41e8ea | 2014-04-10 15:45:17 -0700 | [diff] [blame] | 17 | vg_build_second_arch := false |
| 18 | include $(LOCAL_PATH)/Android.build_one.mk |
| 19 | |
| 20 | # build second arch |
| 21 | ifneq ($(TARGET_2ND_ARCH),) |
| 22 | vg_build_second_arch := true |
| 23 | include $(LOCAL_PATH)/Android.build_one.mk |
| 24 | endif |
| 25 | |
Dmitriy Ivanov | 82fb91c | 2014-12-05 14:37:56 -0800 | [diff] [blame] | 26 | vg_build_second_arch := false |
| 27 | vg_local_host_arch_cflags := $(host_arch_cflags) |
| 28 | include $(LOCAL_PATH)/Android.build_host.mk |
| 29 | |
| 30 | vg_build_second_arch := true |
| 31 | vg_local_host_arch_cflags := $(host_2nd_arch_cflags) |
| 32 | include $(LOCAL_PATH)/Android.build_host.mk |
| 33 | |
Dmitriy Ivanov | f41e8ea | 2014-04-10 15:45:17 -0700 | [diff] [blame] | 34 | # clean vg_locals |
| 35 | include $(LOCAL_PATH)/Android.clean.mk |
| 36 | |