Greg Hartman | 8527e47 | 2015-11-02 13:08:12 -0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright 2015 The Android Open-Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
Greg Hartman | 8527e47 | 2015-11-02 13:08:12 -0800 | [diff] [blame] | 17 | LOCAL_PATH:= $(call my-dir) |
| 18 | |
Nicolas Capens | a2d2055 | 2015-11-25 15:33:07 -0500 | [diff] [blame] | 19 | ifndef SWIFTSHADER_OPTIM |
| 20 | SWIFTSHADER_OPTIM := release |
| 21 | endif |
| 22 | |
Nicolas Capens | b4d30d9 | 2015-12-04 12:09:28 -0500 | [diff] [blame] | 23 | ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64)) |
Nicolas Capens | a2d2055 | 2015-11-25 15:33:07 -0500 | [diff] [blame] | 24 | ifneq ($(filter gce_x86 gce calypso, $(TARGET_DEVICE))$(filter sdk_google_%, $(TARGET_PRODUCT)),) |
Greg Hartman | 8527e47 | 2015-11-02 13:08:12 -0800 | [diff] [blame] | 25 | include $(call all-makefiles-under,$(LOCAL_PATH)) |
| 26 | endif |
Nicolas Capens | 036125e | 2015-12-03 21:59:36 -0500 | [diff] [blame] | 27 | endif |