Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2008 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 | LOCAL_PATH := $(call my-dir) |
| 17 | |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 18 | # Load framework-specific path mappings used later in the build. |
| 19 | include $(LOCAL_PATH)/pathmap.mk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 20 | |
| 21 | # Build the master framework library. |
| 22 | # The framework contains too many method references (>64K) for poor old DEX. |
| 23 | # So we first build the framework as a monolithic static library then split it |
| 24 | # up into smaller pieces. |
| 25 | # ============================================================ |
| 26 | |
| 27 | # embedded builds use nothing in frameworks/base |
| 28 | ifneq ($(ANDROID_BUILD_EMBEDDED),true) |
| 29 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 30 | # Copy AIDL files to be preprocessed and included in the SDK, |
| 31 | # specified relative to the root of the build tree. |
| 32 | # ============================================================ |
| 33 | include $(CLEAR_VARS) |
| 34 | |
Colin Cross | 77ebd08 | 2017-12-15 17:30:33 -0800 | [diff] [blame] | 35 | aidl_parcelables := |
| 36 | define stubs-to-aidl-parcelables |
| 37 | gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/$1.aidl |
| 38 | aidl_parcelables += $$(gen) |
| 39 | $$(gen): $(call java-lib-header-files,$1) | $(HOST_OUT_EXECUTABLES)/sdkparcelables |
| 40 | @echo Extract SDK parcelables: $$@ |
| 41 | rm -f $$@ |
| 42 | $(HOST_OUT_EXECUTABLES)/sdkparcelables $$< $$@ |
| 43 | endef |
| 44 | |
| 45 | $(foreach stubs,android_stubs_current android_test_stubs_current android_system_stubs_current,\ |
| 46 | $(eval $(call stubs-to-aidl-parcelables,$(stubs)))) |
| 47 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 48 | gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl |
Colin Cross | 77ebd08 | 2017-12-15 17:30:33 -0800 | [diff] [blame] | 49 | .KATI_RESTAT: $(gen) |
| 50 | $(gen): $(aidl_parcelables) |
| 51 | @echo Combining SDK parcelables: $@ |
| 52 | rm -f $@.tmp |
| 53 | cat $^ | sort -u > $@.tmp |
| 54 | $(call commit-change-for-toc,$@) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 55 | |
| 56 | # the documentation |
| 57 | # ============================================================ |
| 58 | |
| 59 | # TODO: deal with com/google/android/googleapps |
| 60 | packages_to_document := \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 61 | android \ |
| 62 | javax/microedition/khronos \ |
| 63 | org/apache/http/conn \ |
| 64 | org/apache/http/params \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 65 | |
| 66 | # include definition of libcore_to_document |
| 67 | include libcore/Docs.mk |
| 68 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 69 | non_base_dirs := \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 70 | ../opt/telephony/src/java/android/telephony \ |
| 71 | ../opt/telephony/src/java/android/telephony/gsm \ |
| 72 | ../opt/net/voip/src/java/android/net/rtp \ |
| 73 | ../opt/net/voip/src/java/android/net/sip \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 74 | |
Paul Duffin | c08090f | 2017-06-29 14:58:43 +0100 | [diff] [blame] | 75 | framework_base_android_test_mock_src_files := \ |
Paul Duffin | 69516f4 | 2017-11-15 11:39:14 +0000 | [diff] [blame] | 76 | $(call all-java-files-under, test-mock/src/android/test/mock) |
Paul Duffin | c08090f | 2017-06-29 14:58:43 +0100 | [diff] [blame] | 77 | |
| 78 | framework_base_android_test_runner_excluding_mock_src_files := \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 79 | $(filter-out $(framework_base_android_test_mock_src_files), $(call all-java-files-under, test-runner/src)) |
Paul Duffin | c08090f | 2017-06-29 14:58:43 +0100 | [diff] [blame] | 80 | |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 81 | # Find all files in specific directories (relative to frameworks/base) |
| 82 | # to document and check apis |
| 83 | files_to_check_apis := \ |
| 84 | $(call find-other-java-files, \ |
Paul Duffin | 2141827 | 2017-11-16 15:47:05 +0000 | [diff] [blame] | 85 | test-base/src \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 86 | $(non_base_dirs) \ |
| 87 | ) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 88 | |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 89 | # Find all files in specific packages that were used to compile |
| 90 | # framework.jar to document and check apis |
| 91 | files_to_check_apis += \ |
| 92 | $(addprefix ../../,\ |
| 93 | $(filter \ |
| 94 | $(foreach dir,$(FRAMEWORKS_BASE_JAVA_SRC_DIRS),\ |
| 95 | $(foreach package,$(packages_to_document),\ |
| 96 | $(dir)/$(package)/%.java)),\ |
| 97 | $(SOONG_FRAMEWORK_SRCS))) |
| 98 | |
| 99 | # Find all generated files that were used to compile framework.jar |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 100 | files_to_check_apis_generated := \ |
| 101 | $(filter $(OUT_DIR)/%,\ |
| 102 | $(SOONG_FRAMEWORK_SRCS)) |
George Mount | f6be993 | 2015-12-03 07:39:55 -0800 | [diff] [blame] | 103 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 104 | # These are relative to frameworks/base |
| 105 | # FRAMEWORKS_BASE_SUBDIRS comes from build/core/pathmap.mk |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 106 | files_to_document := \ |
| 107 | $(files_to_check_apis) \ |
| 108 | $(call find-other-java-files,\ |
| 109 | $(addprefix ../../, $(FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS)) \ |
| 110 | test-runner/src) |
George Mount | f6be993 | 2015-12-03 07:39:55 -0800 | [diff] [blame] | 111 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 112 | # These are relative to frameworks/base |
| 113 | html_dirs := \ |
| 114 | $(FRAMEWORKS_BASE_SUBDIRS) \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 115 | $(non_base_dirs) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 116 | |
| 117 | # Common sources for doc check and api check |
| 118 | common_src_files := \ |
| 119 | $(call find-other-html-files, $(html_dirs)) \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 120 | $(addprefix ../../, $(libcore_to_document)) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 121 | |
| 122 | # These are relative to frameworks/base |
| 123 | framework_docs_LOCAL_SRC_FILES := \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 124 | $(files_to_document) \ |
| 125 | $(common_src_files) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 126 | |
| 127 | # These are relative to frameworks/base |
| 128 | framework_docs_LOCAL_API_CHECK_SRC_FILES := \ |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 129 | $(framework_base_android_test_mock_src_files) \ |
| 130 | $(framework_base_android_test_runner_excluding_mock_src_files) \ |
| 131 | $(files_to_check_apis) \ |
| 132 | $(common_src_files) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 133 | |
| 134 | # This is used by ide.mk as the list of source files that are |
| 135 | # always included. |
| 136 | INTERNAL_SDK_SOURCE_DIRS := $(addprefix $(LOCAL_PATH)/,$(dirs_to_document)) |
| 137 | |
| 138 | framework_docs_LOCAL_DROIDDOC_SOURCE_PATH := \ |
| 139 | $(FRAMEWORKS_BASE_JAVA_SRC_DIRS) |
| 140 | |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 141 | framework_docs_LOCAL_SRCJARS := $(SOONG_FRAMEWORK_SRCJARS) |
| 142 | |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 143 | framework_docs_LOCAL_GENERATED_SOURCES := \ |
| 144 | $(libcore_to_document_generated) \ |
| 145 | $(files_to_check_apis_generated) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 146 | |
| 147 | framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES := \ |
Piotr Jastrzebski | cfa292e | 2015-02-17 16:58:52 +0000 | [diff] [blame] | 148 | core-oj \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 149 | core-libart \ |
| 150 | conscrypt \ |
| 151 | bouncycastle \ |
| 152 | okhttp \ |
| 153 | ext \ |
Rayhaan Jaufeerally | 2e47a6e | 2015-08-03 13:54:28 +0100 | [diff] [blame] | 154 | icu4j \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 155 | framework \ |
Paul Duffin | c08090f | 2017-06-29 14:58:43 +0100 | [diff] [blame] | 156 | voip-common \ |
| 157 | android.test.mock \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 158 | |
Alan Viverette | 2d362a5 | 2017-04-05 10:21:58 -0400 | [diff] [blame] | 159 | # Platform docs can refer to Support Library APIs, but we don't actually build |
| 160 | # them as part of the docs target, so we need to include them on the classpath. |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 161 | framework_docs_LOCAL_JAVA_LIBRARIES := \ |
| 162 | $(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) \ |
| 163 | $(FRAMEWORKS_SUPPORT_JAVA_LIBRARIES) |
| 164 | |
| 165 | framework_docs_LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 166 | framework_docs_LOCAL_DROIDDOC_HTML_DIR := docs/html |
| 167 | # The since flag (-since N.xml API_LEVEL) is used to add API Level information |
| 168 | # to the reference documentation. Must be in order of oldest to newest. |
| 169 | # |
| 170 | # Conscrypt (com.android.org.conscrypt) is an implementation detail and should |
| 171 | # not be referenced in the documentation. |
| 172 | framework_docs_LOCAL_DROIDDOC_OPTIONS := \ |
Jeff Sharkey | 0f3f60b | 2017-04-24 18:06:20 -0600 | [diff] [blame] | 173 | -android \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 174 | -knowntags ./frameworks/base/docs/knowntags.txt \ |
Narayan Kamath | 2c4f284 | 2015-07-27 14:02:11 +0100 | [diff] [blame] | 175 | -knowntags ./libcore/known_oj_tags.txt \ |
Jeff Sharkey | bfc4fcd | 2017-06-05 17:38:17 -0600 | [diff] [blame] | 176 | -manifest ./frameworks/base/core/res/AndroidManifest.xml \ |
Jeff Sharkey | bc4f48b | 2017-12-06 21:02:11 -0700 | [diff] [blame] | 177 | -hidePackage com.android.okhttp \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 178 | -hidePackage com.android.org.conscrypt \ |
Jeff Sharkey | bc4f48b | 2017-12-06 21:02:11 -0700 | [diff] [blame] | 179 | -hidePackage com.android.server \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 180 | -since $(SRC_API_DIR)/1.xml 1 \ |
| 181 | -since $(SRC_API_DIR)/2.xml 2 \ |
| 182 | -since $(SRC_API_DIR)/3.xml 3 \ |
| 183 | -since $(SRC_API_DIR)/4.xml 4 \ |
| 184 | -since $(SRC_API_DIR)/5.xml 5 \ |
| 185 | -since $(SRC_API_DIR)/6.xml 6 \ |
| 186 | -since $(SRC_API_DIR)/7.xml 7 \ |
| 187 | -since $(SRC_API_DIR)/8.xml 8 \ |
| 188 | -since $(SRC_API_DIR)/9.xml 9 \ |
| 189 | -since $(SRC_API_DIR)/10.xml 10 \ |
| 190 | -since $(SRC_API_DIR)/11.xml 11 \ |
| 191 | -since $(SRC_API_DIR)/12.xml 12 \ |
| 192 | -since $(SRC_API_DIR)/13.xml 13 \ |
| 193 | -since $(SRC_API_DIR)/14.txt 14 \ |
| 194 | -since $(SRC_API_DIR)/15.txt 15 \ |
| 195 | -since $(SRC_API_DIR)/16.txt 16 \ |
| 196 | -since $(SRC_API_DIR)/17.txt 17 \ |
| 197 | -since $(SRC_API_DIR)/18.txt 18 \ |
| 198 | -since $(SRC_API_DIR)/19.txt 19 \ |
| 199 | -since $(SRC_API_DIR)/20.txt 20 \ |
| 200 | -since $(SRC_API_DIR)/21.txt 21 \ |
| 201 | -since $(SRC_API_DIR)/22.txt 22 \ |
Joe Fernandez | 1827e32 | 2015-08-12 19:45:22 -0700 | [diff] [blame] | 202 | -since $(SRC_API_DIR)/23.txt 23 \ |
Dirk Dougherty | 5f60f7c | 2016-06-14 16:26:28 -0700 | [diff] [blame] | 203 | -since $(SRC_API_DIR)/24.txt 24 \ |
Dirk Dougherty | 3376f58 | 2016-10-14 10:27:08 -0700 | [diff] [blame] | 204 | -since $(SRC_API_DIR)/25.txt 25 \ |
Dirk Dougherty | fdad0ba | 2017-06-09 14:43:32 -0700 | [diff] [blame] | 205 | -since $(SRC_API_DIR)/26.txt 26 \ |
Andrew Solovay | a6019b2 | 2017-10-06 14:27:20 -0700 | [diff] [blame] | 206 | -since $(SRC_API_DIR)/27.txt 27 \ |
Jeff Sharkey | 2337aec | 2017-12-06 21:12:23 -0700 | [diff] [blame] | 207 | -werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 \ |
Jeff Sharkey | 0f3f60b | 2017-04-24 18:06:20 -0600 | [diff] [blame] | 208 | -overview $(LOCAL_PATH)/core/java/overview.html \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 209 | |
| 210 | framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR:= \ |
| 211 | $(call intermediates-dir-for,JAVA_LIBRARIES,framework,,COMMON) |
| 212 | |
| 213 | framework_docs_LOCAL_ADDITIONAL_JAVA_DIR:= \ |
Alan Viverette | 2d362a5 | 2017-04-05 10:21:58 -0400 | [diff] [blame] | 214 | $(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 215 | |
| 216 | framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES := \ |
Narayan Kamath | c21739a | 2015-07-14 13:39:23 +0100 | [diff] [blame] | 217 | frameworks/base/docs/knowntags.txt \ |
Colin Cross | 72d359f | 2017-10-27 10:46:53 -0700 | [diff] [blame] | 218 | $(libcore_to_document_generated) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 219 | |
| 220 | samples_dir := development/samples/browseable |
| 221 | |
| 222 | # Whitelist of valid groups, used for default TOC grouping. Each sample must |
| 223 | # belong to one (and only one) group. Assign samples to groups by setting |
| 224 | # a sample.group var to one of these groups in the sample's _index.jd. |
| 225 | sample_groups := -samplegroup Admin \ |
| 226 | -samplegroup Background \ |
| 227 | -samplegroup Connectivity \ |
| 228 | -samplegroup Content \ |
| 229 | -samplegroup Input \ |
| 230 | -samplegroup Media \ |
| 231 | -samplegroup Notification \ |
| 232 | -samplegroup RenderScript \ |
| 233 | -samplegroup Security \ |
| 234 | -samplegroup Sensors \ |
Trevor Johns | 4cbe359 | 2015-05-27 14:50:51 -0700 | [diff] [blame] | 235 | -samplegroup System \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 236 | -samplegroup Testing \ |
| 237 | -samplegroup UI \ |
| 238 | -samplegroup Views \ |
| 239 | -samplegroup Wearable |
| 240 | |
| 241 | ## SDK version identifiers used in the published docs |
| 242 | # major[.minor] version for current SDK. (full releases only) |
smain@google.com | dde8deb | 2016-08-29 18:36:50 -0700 | [diff] [blame] | 243 | framework_docs_SDK_VERSION:=7.0 |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 244 | # release version (ie "Release x") (full releases only) |
| 245 | framework_docs_SDK_REL_ID:=1 |
| 246 | |
| 247 | framework_docs_LOCAL_DROIDDOC_OPTIONS += \ |
Billy Lamberta | 75dbc8f | 2017-03-03 13:09:15 -0800 | [diff] [blame] | 248 | -hdf dac true \ |
Scott Main | f8cdfc8 | 2017-03-21 13:43:31 -0700 | [diff] [blame] | 249 | -hdf sdk.codename O \ |
| 250 | -hdf sdk.preview.version 1 \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 251 | -hdf sdk.version $(framework_docs_SDK_VERSION) \ |
| 252 | -hdf sdk.rel.id $(framework_docs_SDK_REL_ID) \ |
Scott Main | f8cdfc8 | 2017-03-21 13:43:31 -0700 | [diff] [blame] | 253 | -hdf sdk.preview 0 \ |
| 254 | -resourcesdir $(LOCAL_PATH)/docs/html/reference/images/ \ |
| 255 | -resourcesoutdir reference/android/images/ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 256 | |
Alan Viverette | 2d362a5 | 2017-04-05 10:21:58 -0400 | [diff] [blame] | 257 | # Federate Support Library references against local API file. |
| 258 | framework_docs_LOCAL_DROIDDOC_OPTIONS += \ |
| 259 | -federate SupportLib https://developer.android.com \ |
| 260 | -federationapi SupportLib prebuilts/sdk/current/support-api.txt |
| 261 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 262 | # ==== the api stubs and current.xml =========================== |
| 263 | include $(CLEAR_VARS) |
| 264 | |
| 265 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 266 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 267 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 268 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) |
| 269 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 270 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 271 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 272 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) |
| 273 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 274 | |
| 275 | LOCAL_MODULE := api-stubs |
| 276 | |
Ying Wang | 0f92a2e | 2015-07-16 14:20:22 -0700 | [diff] [blame] | 277 | LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_stubs_current_intermediates/src |
| 278 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 279 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 280 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
smain@google.com | 534bfe1 | 2016-09-01 19:52:17 -0700 | [diff] [blame] | 281 | -referenceonly \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 282 | -api $(INTERNAL_PLATFORM_API_FILE) \ |
David Brazdil | a793f3f | 2018-01-16 15:03:20 +0000 | [diff] [blame] | 283 | -privateApi $(INTERNAL_PLATFORM_PRIVATE_API_FILE) \ |
| 284 | -privateDexApi $(INTERNAL_PLATFORM_PRIVATE_DEX_API_FILE) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 285 | -removedApi $(INTERNAL_PLATFORM_REMOVED_API_FILE) \ |
| 286 | -nodocs |
| 287 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 288 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 289 | |
| 290 | LOCAL_UNINSTALLABLE_MODULE := true |
| 291 | |
| 292 | include $(BUILD_DROIDDOC) |
| 293 | |
David Brazdil | a793f3f | 2018-01-16 15:03:20 +0000 | [diff] [blame] | 294 | $(full_target): .KATI_IMPLICIT_OUTPUTS := $(INTERNAL_PLATFORM_API_FILE) \ |
| 295 | $(INTERNAL_PLATFORM_PRIVATE_API_FILE) \ |
| 296 | $(INTERNAL_PLATFORM_PRIVATE_DEX_API_FILE) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 297 | $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_API_FILE)) |
| 298 | |
| 299 | # ==== the system api stubs =================================== |
| 300 | include $(CLEAR_VARS) |
| 301 | |
| 302 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 303 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 304 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 305 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) |
| 306 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 307 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 308 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 309 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) |
| 310 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 311 | |
| 312 | LOCAL_MODULE := system-api-stubs |
| 313 | |
Ying Wang | 0f92a2e | 2015-07-16 14:20:22 -0700 | [diff] [blame] | 314 | LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src |
| 315 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 316 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 317 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
smain@google.com | 534bfe1 | 2016-09-01 19:52:17 -0700 | [diff] [blame] | 318 | -referenceonly \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 319 | -showAnnotation android.annotation.SystemApi \ |
| 320 | -api $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \ |
David Brazdil | a793f3f | 2018-01-16 15:03:20 +0000 | [diff] [blame] | 321 | -privateApi $(INTERNAL_PLATFORM_SYSTEM_PRIVATE_API_FILE) \ |
| 322 | -privateDexApi $(INTERNAL_PLATFORM_SYSTEM_PRIVATE_DEX_API_FILE) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 323 | -removedApi $(INTERNAL_PLATFORM_SYSTEM_REMOVED_API_FILE) \ |
Jeff Sharkey | 05461c0 | 2017-05-09 19:01:09 -0600 | [diff] [blame] | 324 | -exactApi $(INTERNAL_PLATFORM_SYSTEM_EXACT_API_FILE) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 325 | -nodocs |
| 326 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 327 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 328 | |
| 329 | LOCAL_UNINSTALLABLE_MODULE := true |
| 330 | |
| 331 | include $(BUILD_DROIDDOC) |
| 332 | |
David Brazdil | a793f3f | 2018-01-16 15:03:20 +0000 | [diff] [blame] | 333 | $(full_target): .KATI_IMPLICIT_OUTPUTS := $(INTERNAL_PLATFORM_SYSTEM_API_FILE) \ |
| 334 | $(INTERNAL_PLATFORM_SYSTEM_PRIVATE_API_FILE) \ |
| 335 | $(INTERNAL_PLATFORM_SYSTEM_PRIVATE_DEX_API_FILE) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 336 | $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_SYSTEM_API_FILE)) |
| 337 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 338 | # ==== the test api stubs =================================== |
| 339 | include $(CLEAR_VARS) |
| 340 | |
| 341 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_API_CHECK_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 342 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 343 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 344 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_API_CHECK_JAVA_LIBRARIES) |
| 345 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 346 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 347 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 348 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_API_CHECK_ADDITIONAL_JAVA_DIR) |
| 349 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 350 | |
| 351 | LOCAL_MODULE := test-api-stubs |
| 352 | |
| 353 | LOCAL_DROIDDOC_STUB_OUT_DIR := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src |
| 354 | |
| 355 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 356 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
smain@google.com | 534bfe1 | 2016-09-01 19:52:17 -0700 | [diff] [blame] | 357 | -referenceonly \ |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 358 | -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android_test_stubs_current_intermediates/src \ |
| 359 | -showAnnotation android.annotation.TestApi \ |
| 360 | -api $(INTERNAL_PLATFORM_TEST_API_FILE) \ |
| 361 | -removedApi $(INTERNAL_PLATFORM_TEST_REMOVED_API_FILE) \ |
Jeff Sharkey | 05461c0 | 2017-05-09 19:01:09 -0600 | [diff] [blame] | 362 | -exactApi $(INTERNAL_PLATFORM_TEST_EXACT_API_FILE) \ |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 363 | -nodocs |
| 364 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 365 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 366 | |
| 367 | LOCAL_UNINSTALLABLE_MODULE := true |
| 368 | |
| 369 | include $(BUILD_DROIDDOC) |
| 370 | |
Michael Wright | b2b2c0e | 2015-11-06 15:21:13 +0000 | [diff] [blame] | 371 | $(INTERNAL_PLATFORM_TEST_API_FILE): $(full_target) |
| 372 | $(call dist-for-goals,sdk,$(INTERNAL_PLATFORM_TEST_API_FILE)) |
| 373 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 374 | # ==== check javadoc comments but don't generate docs ======== |
| 375 | include $(CLEAR_VARS) |
| 376 | |
| 377 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 378 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 379 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 380 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 381 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 382 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 383 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 384 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 385 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 386 | |
| 387 | LOCAL_MODULE := doc-comment-check |
| 388 | |
| 389 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 390 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
smain@google.com | 534bfe1 | 2016-09-01 19:52:17 -0700 | [diff] [blame] | 391 | -referenceonly \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 392 | -parsecomments |
| 393 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 394 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 395 | |
| 396 | LOCAL_UNINSTALLABLE_MODULE := true |
| 397 | |
| 398 | include $(BUILD_DROIDDOC) |
| 399 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 400 | # Run this for checkbuild |
| 401 | checkbuild: doc-comment-check-docs |
| 402 | # Check comment when you are updating the API |
| 403 | update-api: doc-comment-check-docs |
| 404 | |
| 405 | # ==== static html in the sdk ================================== |
| 406 | include $(CLEAR_VARS) |
| 407 | |
| 408 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 409 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 410 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 411 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 412 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 413 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 414 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 415 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 416 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 417 | |
| 418 | LOCAL_MODULE := offline-sdk |
| 419 | |
| 420 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 421 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 422 | -offlinemode \ |
| 423 | -title "Android SDK" \ |
| 424 | -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \ |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 425 | -sdkvalues $(OUT_DOCS) \ |
smain@google.com | 8562ab5 | 2016-06-14 17:11:57 -0700 | [diff] [blame] | 426 | -hdf android.whichdoc offline |
| 427 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 428 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
smain@google.com | 8562ab5 | 2016-06-14 17:11:57 -0700 | [diff] [blame] | 429 | |
| 430 | include $(BUILD_DROIDDOC) |
| 431 | |
| 432 | static_doc_index_redirect := $(out_dir)/index.html |
| 433 | $(static_doc_index_redirect): \ |
| 434 | $(LOCAL_PATH)/docs/docs-preview-index.html | $(ACP) |
| 435 | $(hide) mkdir -p $(dir $@) |
| 436 | $(hide) $(ACP) $< $@ |
| 437 | |
| 438 | $(full_target): $(static_doc_index_redirect) |
smain@google.com | 8562ab5 | 2016-06-14 17:11:57 -0700 | [diff] [blame] | 439 | |
| 440 | |
| 441 | # ==== static html in the sdk ================================== |
| 442 | include $(CLEAR_VARS) |
| 443 | |
| 444 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 445 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 446 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
smain@google.com | 8562ab5 | 2016-06-14 17:11:57 -0700 | [diff] [blame] | 447 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 448 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 449 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 450 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 451 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 452 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 453 | |
| 454 | LOCAL_MODULE := offline-sdk-referenceonly |
| 455 | |
| 456 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 457 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 458 | -offlinemode \ |
| 459 | -title "Android SDK" \ |
| 460 | -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \ |
| 461 | -sdkvalues $(OUT_DOCS) \ |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 462 | -hdf android.whichdoc offline \ |
Scott Main | f8cdfc8 | 2017-03-21 13:43:31 -0700 | [diff] [blame] | 463 | -referenceonly |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 464 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 465 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 466 | |
| 467 | include $(BUILD_DROIDDOC) |
| 468 | |
| 469 | static_doc_index_redirect := $(out_dir)/index.html |
smain@google.com | 151833a | 2016-08-31 08:42:09 -0700 | [diff] [blame] | 470 | $(static_doc_index_redirect): $(LOCAL_PATH)/docs/docs-documentation-redirect.html |
Dan Willemsen | 98ff0b7 | 2016-03-23 00:42:44 -0700 | [diff] [blame] | 471 | $(copy-file-to-target) |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 472 | |
smain@google.com | 2f2365d | 2016-09-21 14:05:50 -0700 | [diff] [blame] | 473 | static_doc_properties := $(out_dir)/source.properties |
| 474 | $(static_doc_properties): \ |
| 475 | $(LOCAL_PATH)/docs/source.properties | $(ACP) |
| 476 | $(hide) mkdir -p $(dir $@) |
| 477 | $(hide) $(ACP) $< $@ |
| 478 | |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 479 | $(full_target): $(static_doc_index_redirect) |
smain@google.com | 2f2365d | 2016-09-21 14:05:50 -0700 | [diff] [blame] | 480 | $(full_target): $(static_doc_properties) |
smain@google.com | 00de8c5 | 2016-03-07 18:38:08 -0800 | [diff] [blame] | 481 | |
smain@google.com | 7aca8be | 2016-03-10 14:13:30 -0800 | [diff] [blame] | 482 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 483 | # ==== docs for the web (on the androiddevdocs app engine server) ======================= |
| 484 | include $(CLEAR_VARS) |
| 485 | |
| 486 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 487 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 488 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 489 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 490 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 491 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 492 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 493 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 494 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 495 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 496 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl / |
| 497 | |
| 498 | LOCAL_MODULE := online-sdk |
| 499 | |
| 500 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 501 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 502 | -toroot / \ |
| 503 | -hdf android.whichdoc online \ |
| 504 | $(sample_groups) \ |
| 505 | -hdf android.hasSamples true \ |
| 506 | -samplesdir $(samples_dir) |
| 507 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 508 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 509 | |
| 510 | include $(BUILD_DROIDDOC) |
| 511 | |
| 512 | # ==== docs for the web (on the androiddevdocs app engine server) ======================= |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 513 | include $(CLEAR_VARS) |
| 514 | |
| 515 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 516 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 517 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 518 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 519 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 520 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 521 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 522 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 523 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 524 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 525 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl / |
| 526 | |
| 527 | LOCAL_MODULE := online-system-api-sdk |
| 528 | |
| 529 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 530 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
smain@google.com | 534bfe1 | 2016-09-01 19:52:17 -0700 | [diff] [blame] | 531 | -referenceonly \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 532 | -showAnnotation android.annotation.SystemApi \ |
| 533 | -title "Android SDK - Including system APIs." \ |
| 534 | -toroot / \ |
Gina Dimino | 98ad888 | 2016-05-31 17:25:48 -0700 | [diff] [blame] | 535 | -hide 101 \ |
| 536 | -hide 104 \ |
| 537 | -hide 108 \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 538 | -hdf android.whichdoc online \ |
| 539 | $(sample_groups) \ |
| 540 | -hdf android.hasSamples true \ |
| 541 | -samplesdir $(samples_dir) |
| 542 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 543 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Jeff Sharkey | 05461c0 | 2017-05-09 19:01:09 -0600 | [diff] [blame] | 544 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 545 | LOCAL_UNINSTALLABLE_MODULE := true |
| 546 | |
| 547 | include $(BUILD_DROIDDOC) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 548 | |
| 549 | # ==== docs for the web (on the devsite app engine server) ======================= |
| 550 | include $(CLEAR_VARS) |
| 551 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 552 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 553 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 554 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 555 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 556 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 557 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 558 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 559 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 560 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 561 | # specify a second html input dir and an output path relative to OUT_DIR) |
Dirk Dougherty | 3852c1f | 2016-04-10 02:05:09 -0700 | [diff] [blame] | 562 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl / |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 563 | |
| 564 | LOCAL_MODULE := ds |
| 565 | |
| 566 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 567 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 568 | -toroot / \ |
| 569 | -hdf android.whichdoc online \ |
Dirk Dougherty | b042ab1 | 2016-06-14 16:26:28 -0700 | [diff] [blame] | 570 | -devsite \ |
Dirk Dougherty | 3852c1f | 2016-04-10 02:05:09 -0700 | [diff] [blame] | 571 | $(sample_groups) \ |
Dirk Dougherty | 3852c1f | 2016-04-10 02:05:09 -0700 | [diff] [blame] | 572 | -hdf android.hasSamples true \ |
| 573 | -samplesdir $(samples_dir) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 574 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 575 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 576 | |
| 577 | include $(BUILD_DROIDDOC) |
| 578 | |
Dirk Dougherty | b042ab1 | 2016-06-14 16:26:28 -0700 | [diff] [blame] | 579 | # ==== docs for the web (on the devsite app engine server) ======================= |
| 580 | include $(CLEAR_VARS) |
| 581 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 582 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 583 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Dirk Dougherty | b042ab1 | 2016-06-14 16:26:28 -0700 | [diff] [blame] | 584 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 585 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 586 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 587 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 588 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 589 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 590 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 591 | # specify a second html input dir and an output path relative to OUT_DIR) |
| 592 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl / |
| 593 | |
| 594 | LOCAL_MODULE := ds-static |
| 595 | |
| 596 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 597 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 598 | -hdf android.whichdoc online \ |
| 599 | -staticonly \ |
| 600 | -toroot / \ |
| 601 | -devsite \ |
| 602 | -ignoreJdLinks |
| 603 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 604 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Dirk Dougherty | b042ab1 | 2016-06-14 16:26:28 -0700 | [diff] [blame] | 605 | |
| 606 | include $(BUILD_DROIDDOC) |
| 607 | |
Dirk Dougherty | 7d47b55 | 2016-09-13 16:44:25 -0700 | [diff] [blame] | 608 | # ==== generates full navtree for resolving @links in ds postprocessing ==== |
| 609 | include $(CLEAR_VARS) |
| 610 | |
| 611 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 612 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 613 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Dirk Dougherty | 7d47b55 | 2016-09-13 16:44:25 -0700 | [diff] [blame] | 614 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 615 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 616 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 617 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 618 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 619 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 620 | |
| 621 | LOCAL_MODULE := ds-ref-navtree |
| 622 | |
| 623 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 624 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 625 | -hdf android.whichdoc online \ |
| 626 | -toroot / \ |
| 627 | -atLinksNavtree \ |
| 628 | -navtreeonly |
| 629 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 630 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Dirk Dougherty | 7d47b55 | 2016-09-13 16:44:25 -0700 | [diff] [blame] | 631 | |
| 632 | include $(BUILD_DROIDDOC) |
| 633 | |
Dirk Dougherty | 31ae1c51 | 2015-11-07 13:18:02 -0800 | [diff] [blame] | 634 | # ==== site updates for docs (on the androiddevdocs app engine server) ======================= |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 635 | include $(CLEAR_VARS) |
Dirk Dougherty | 31ae1c51 | 2015-11-07 13:18:02 -0800 | [diff] [blame] | 636 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 637 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 638 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 639 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 640 | LOCAL_STATIC_JAVA_LIBRARIES:=$(framework_docs_LOCAL_STATIC_JAVA_LIBRARIES) |
| 641 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 642 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 643 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
Dirk Dougherty | 31ae1c51 | 2015-11-07 13:18:02 -0800 | [diff] [blame] | 644 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 645 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 646 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
Dirk Dougherty | 31ae1c51 | 2015-11-07 13:18:02 -0800 | [diff] [blame] | 647 | LOCAL_ADDITIONAL_HTML_DIR:=docs/html-intl / |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 648 | |
Dirk Dougherty | 31ae1c51 | 2015-11-07 13:18:02 -0800 | [diff] [blame] | 649 | LOCAL_MODULE := online-sdk-dev |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 650 | |
| 651 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 652 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
| 653 | -toroot / \ |
| 654 | -hdf android.whichdoc online \ |
| 655 | $(sample_groups) \ |
| 656 | -hdf android.hasSamples true \ |
| 657 | -samplesdir $(samples_dir) |
| 658 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 659 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 660 | |
| 661 | include $(BUILD_DROIDDOC) |
| 662 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 663 | # ==== docs that have all of the stuff that's @hidden ======================= |
| 664 | include $(CLEAR_VARS) |
| 665 | |
| 666 | LOCAL_SRC_FILES:=$(framework_docs_LOCAL_SRC_FILES) |
Colin Cross | 0c76095 | 2017-12-04 13:45:19 -0800 | [diff] [blame] | 667 | LOCAL_GENERATED_SOURCES:=$(framework_docs_LOCAL_GENERATED_SOURCES) |
Colin Cross | 5f4dcf6 | 2017-11-16 00:15:28 -0800 | [diff] [blame] | 668 | LOCAL_SRCJARS:=$(framework_docs_LOCAL_SRCJARS) |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 669 | LOCAL_JAVA_LIBRARIES:=$(framework_docs_LOCAL_JAVA_LIBRARIES) |
| 670 | LOCAL_MODULE_CLASS:=$(framework_docs_LOCAL_MODULE_CLASS) |
| 671 | LOCAL_DROIDDOC_SOURCE_PATH:=$(framework_docs_LOCAL_DROIDDOC_SOURCE_PATH) |
| 672 | LOCAL_DROIDDOC_HTML_DIR:=$(framework_docs_LOCAL_DROIDDOC_HTML_DIR) |
| 673 | LOCAL_ADDITIONAL_JAVA_DIR:=$(framework_docs_LOCAL_ADDITIONAL_JAVA_DIR) |
| 674 | LOCAL_ADDITIONAL_DEPENDENCIES:=$(framework_docs_LOCAL_ADDITIONAL_DEPENDENCIES) |
| 675 | |
| 676 | LOCAL_MODULE := hidden |
| 677 | LOCAL_DROIDDOC_OPTIONS:=\ |
| 678 | $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \ |
smain@google.com | 534bfe1 | 2016-09-01 19:52:17 -0700 | [diff] [blame] | 679 | -referenceonly \ |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 680 | -title "Android SDK - Including hidden APIs." |
| 681 | # -hidden |
| 682 | |
Scott Main | 15b8517 | 2017-02-21 14:30:58 -0800 | [diff] [blame] | 683 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=external/doclava/res/assets/templates-sdk |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 684 | |
| 685 | include $(BUILD_DROIDDOC) |
| 686 | |
Joe Onorato | 1754d74 | 2016-11-21 17:51:35 -0800 | [diff] [blame] | 687 | # ==== java proto host library ============================== |
| 688 | include $(CLEAR_VARS) |
| 689 | LOCAL_MODULE := platformprotos |
| 690 | LOCAL_PROTOC_OPTIMIZE_TYPE := full |
| 691 | LOCAL_PROTOC_FLAGS := \ |
| 692 | -Iexternal/protobuf/src |
| 693 | LOCAL_SOURCE_FILES_ALL_GENERATED := true |
| 694 | LOCAL_SRC_FILES := \ |
| 695 | $(call all-proto-files-under, core/proto) \ |
| 696 | $(call all-proto-files-under, libs/incident/proto) |
| 697 | include $(BUILD_HOST_JAVA_LIBRARY) |
| 698 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 699 | |
David Brazdil | 0649c8d | 2018-01-22 22:23:13 +0000 | [diff] [blame] | 700 | # ==== hiddenapi lists ======================================= |
| 701 | |
David Brazdil | f16ac00 | 2018-01-26 11:13:35 +0000 | [diff] [blame^] | 702 | # Copy blacklist and dark greylist over into the build folder. |
| 703 | # This is for ART buildbots which need to mock these lists and have alternative |
| 704 | # rules for building them. Other rules in the build system should depend on the |
| 705 | # files in the build folder. |
| 706 | |
| 707 | $(eval $(call copy-one-file,frameworks/base/config/hiddenapi-blacklist.txt,\ |
| 708 | $(INTERNAL_PLATFORM_HIDDENAPI_BLACKLIST))) |
| 709 | $(eval $(call copy-one-file,frameworks/base/config/hiddenapi-dark-greylist.txt,\ |
| 710 | $(INTERNAL_PLATFORM_HIDDENAPI_DARK_GREYLIST))) |
| 711 | |
David Brazdil | 0649c8d | 2018-01-22 22:23:13 +0000 | [diff] [blame] | 712 | # Generate light greylist as private API minus (blacklist plus dark greylist). |
| 713 | |
| 714 | $(INTERNAL_PLATFORM_HIDDENAPI_LIGHT_GREYLIST): PRIVATE_API := $(INTERNAL_PLATFORM_PRIVATE_DEX_API_FILE) |
| 715 | $(INTERNAL_PLATFORM_HIDDENAPI_LIGHT_GREYLIST): BLACKLIST := $(INTERNAL_PLATFORM_HIDDENAPI_BLACKLIST) |
| 716 | $(INTERNAL_PLATFORM_HIDDENAPI_LIGHT_GREYLIST): DARK_GREYLIST := $(INTERNAL_PLATFORM_HIDDENAPI_DARK_GREYLIST) |
| 717 | $(INTERNAL_PLATFORM_HIDDENAPI_LIGHT_GREYLIST): $(INTERNAL_PLATFORM_PRIVATE_DEX_API_FILE) \ |
| 718 | $(INTERNAL_PLATFORM_HIDDENAPI_BLACKLIST) \ |
| 719 | $(INTERNAL_PLATFORM_HIDDENAPI_DARK_GREYLIST) |
| 720 | if [ ! -z "`comm -12 <(sort $(BLACKLIST)) <(sort $(DARK_GREYLIST))`" ]; then \ |
| 721 | echo "There should be no overlap between $(BLACKLIST) and $(DARK_GREYLIST)" 1>&2; \ |
| 722 | exit 1; \ |
| 723 | elif [ ! -z "`comm -13 <(sort $(PRIVATE_API)) <(sort $(BLACKLIST))`" ]; then \ |
| 724 | echo "$(BLACKLIST) must be a subset of $(PRIVATE_API)" 1>&2; \ |
| 725 | exit 2; \ |
| 726 | elif [ ! -z "`comm -13 <(sort $(PRIVATE_API)) <(sort $(DARK_GREYLIST))`" ]; then \ |
| 727 | echo "$(DARK_GREYLIST) must be a subset of $(PRIVATE_API)" 1>&2; \ |
| 728 | exit 3; \ |
| 729 | fi |
| 730 | comm -23 <(sort $(PRIVATE_API)) <(sort $(BLACKLIST) $(DARK_GREYLIST)) > $@ |
| 731 | |
Bart Sears | a8cc058 | 2015-05-07 03:23:20 +0000 | [diff] [blame] | 732 | # Include subdirectory makefiles |
| 733 | # ============================================================ |
| 734 | |
| 735 | # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework |
| 736 | # team really wants is to build the stuff defined by this makefile. |
| 737 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
| 738 | include $(call first-makefiles-under,$(LOCAL_PATH)) |
| 739 | endif |
| 740 | |
Holly Jiuyu Sun | bbc8580 | 2017-12-21 18:44:59 -0800 | [diff] [blame] | 741 | endif # ANDROID_BUILD_EMBEDDED |
| 742 | |