| Ying Wang | 4def697 | 2014-07-11 12:43:33 -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 |  | 
|  | 15 | LOCAL_PATH:= $(call my-dir) | 
|  | 16 | # Don't include in unbundled build. | 
|  | 17 | ifeq ($(TARGET_BUILD_APPS),) | 
| Chris Banes | f62fcde | 2015-02-25 10:42:47 +0000 | [diff] [blame] | 18 |  | 
| Chris Banes | 82b5549 | 2016-01-22 11:11:47 +0000 | [diff] [blame^] | 19 | SUPPORT_CURRENT_SDK_VERSION := current | 
| Chris Banes | f62fcde | 2015-02-25 10:42:47 +0000 | [diff] [blame] | 20 | SUPPORT_API_CHECK := $(LOCAL_PATH)/apicheck.mk | 
|  | 21 | api_check_current_msg_file := $(LOCAL_PATH)/apicheck_msg_current.txt | 
|  | 22 | api_check_last_msg_file := $(LOCAL_PATH)/apicheck_msg_last.txt | 
|  | 23 |  | 
|  | 24 | .PHONY: update-support-api | 
|  | 25 | .PHONY: check-support-api | 
|  | 26 |  | 
|  | 27 | # Run the check-support-api task on a SDK build | 
|  | 28 | sdk: check-support-api | 
|  | 29 |  | 
|  | 30 | # Build all support libraries | 
| Ying Wang | 4def697 | 2014-07-11 12:43:33 -0700 | [diff] [blame] | 31 | include $(call all-makefiles-under,$(LOCAL_PATH)) | 
| Chris Banes | f62fcde | 2015-02-25 10:42:47 +0000 | [diff] [blame] | 32 |  | 
|  | 33 | # Clear out variables | 
| Chris Banes | 82b5549 | 2016-01-22 11:11:47 +0000 | [diff] [blame^] | 34 | SUPPORT_CURRENT_SDK_VERSION := | 
| Chris Banes | f62fcde | 2015-02-25 10:42:47 +0000 | [diff] [blame] | 35 | SUPPORT_API_CHECK := | 
|  | 36 | api_check_current_msg_file := | 
|  | 37 | api_check_last_msg_file := | 
|  | 38 |  | 
| Ying Wang | 4def697 | 2014-07-11 12:43:33 -0700 | [diff] [blame] | 39 | endif |