| Elliott Hughes | 7ee3a06 | 2010-02-18 17:20:15 -0800 | [diff] [blame] | 1 | # -*- mode: makefile -*- |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 2 | # Copyright (C) 2007 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 | # |
| 17 | # Definitions for building the Java library and associated tests. |
| 18 | # |
| 19 | |
| 20 | # |
| 21 | # Common definitions for host and target. |
| 22 | # |
| 23 | |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 24 | # libcore is divided into modules. |
| 25 | # |
| 26 | # The structure of each module is: |
| 27 | # |
| 28 | # src/ |
| 29 | # main/ # To be shipped on every device. |
| 30 | # java/ # Java source for library code. |
| 31 | # native/ # C++ source for library code. |
| 32 | # resources/ # Support files. |
| 33 | # test/ # Built only on demand, for testing. |
| 34 | # java/ # Java source for tests. |
| 35 | # native/ # C++ source for tests (rare). |
| 36 | # resources/ # Support files. |
| 37 | # |
| 38 | # All subdirectories are optional (hence the "2> /dev/null"s below). |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 39 | |
| Jesse Wilson | 32cfe95 | 2010-05-04 16:36:03 -0700 | [diff] [blame] | 40 | define all-main-java-files-under |
| 41 | $(foreach dir,$(1),$(patsubst ./%,%,$(shell cd $(LOCAL_PATH) && find $(dir)/src/main/java -name "*.java" 2> /dev/null))) |
| 42 | endef |
| 43 | |
| 44 | define all-test-java-files-under |
| 45 | $(patsubst ./%,%,$(shell cd $(LOCAL_PATH) && find $(1)/src/test/java -name "*.java" 2> /dev/null)) |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 46 | endef |
| 47 | |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 48 | define all-core-resource-dirs |
| 49 | $(shell cd $(LOCAL_PATH) && ls -d */src/$(1)/{java,resources} 2> /dev/null) |
| 50 | endef |
| 51 | |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 52 | # The Java files and their associated resources. |
| Jesse Wilson | e590b9c | 2011-01-13 17:20:50 -0800 | [diff] [blame] | 53 | core_src_files := $(call all-main-java-files-under,dalvik dom json luni support xml) |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 54 | core_resource_dirs := $(call all-core-resource-dirs,main) |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 55 | test_resource_dirs := $(call all-core-resource-dirs,test) |
| 56 | |
| Jesse Wilson | 7898a91 | 2010-09-13 15:42:41 -0700 | [diff] [blame] | 57 | ifeq ($(EMMA_INSTRUMENT),true) |
| 58 | core_src_files += $(call all-java-files-under, ../external/emma/core ../external/emma/pregenerated) |
| 59 | core_resource_dirs += ../external/emma/core/res ../external/emma/pregenerated/res |
| 60 | endif |
| 61 | |
| Elliott Hughes | 48d0b3f | 2010-12-14 09:48:52 -0800 | [diff] [blame] | 62 | local_javac_flags=-encoding UTF-8 |
| 63 | #local_javac_flags+=-Xlint:all -Xlint:-serial,-deprecation,-unchecked |
| 64 | local_javac_flags+=-Xmaxwarns 9999999 |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 65 | |
| 66 | # |
| 67 | # Build for the target (device). |
| 68 | # |
| 69 | |
| 70 | # Definitions to make the core library. |
| 71 | |
| 72 | include $(CLEAR_VARS) |
| 73 | |
| 74 | LOCAL_SRC_FILES := $(core_src_files) |
| 75 | LOCAL_JAVA_RESOURCE_DIRS := $(core_resource_dirs) |
| 76 | |
| 77 | LOCAL_NO_STANDARD_LIBRARIES := true |
| Elliott Hughes | 48d0b3f | 2010-12-14 09:48:52 -0800 | [diff] [blame] | 78 | LOCAL_JAVACFLAGS := $(local_javac_flags) |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 79 | LOCAL_DX_FLAGS := --core-library |
| 80 | |
| 81 | LOCAL_NO_EMMA_INSTRUMENT := true |
| 82 | LOCAL_NO_EMMA_COMPILE := true |
| Jesse Wilson | 53fbc0a | 2010-09-16 15:46:05 -0700 | [diff] [blame] | 83 | LOCAL_MODULE_TAGS := optional |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 84 | LOCAL_MODULE := core |
| 85 | |
| 86 | include $(BUILD_JAVA_LIBRARY) |
| 87 | |
| 88 | core-intermediates := ${intermediates} |
| 89 | |
| 90 | |
| Jesse Wilson | 32cfe95 | 2010-05-04 16:36:03 -0700 | [diff] [blame] | 91 | # Make core-junit |
| 92 | include $(CLEAR_VARS) |
| 93 | LOCAL_SRC_FILES := $(call all-main-java-files-under,junit) |
| 94 | LOCAL_NO_STANDARD_LIBRARIES := true |
| 95 | LOCAL_JAVA_LIBRARIES := core |
| Jesse Wilson | 53fbc0a | 2010-09-16 15:46:05 -0700 | [diff] [blame] | 96 | LOCAL_MODULE_TAGS := optional |
| Jesse Wilson | 32cfe95 | 2010-05-04 16:36:03 -0700 | [diff] [blame] | 97 | LOCAL_MODULE := core-junit |
| 98 | include $(BUILD_JAVA_LIBRARY) |
| 99 | |
| Jesse Wilson | 1708c11 | 2010-05-13 15:50:15 -0700 | [diff] [blame] | 100 | # Make core-junitrunner |
| 101 | include $(CLEAR_VARS) |
| 102 | LOCAL_SRC_FILES := $(call all-test-java-files-under,junit) |
| 103 | LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs) |
| 104 | LOCAL_NO_STANDARD_LIBRARIES := true |
| 105 | LOCAL_JAVA_LIBRARIES := core core-junit |
| 106 | LOCAL_DX_FLAGS := --core-library |
| 107 | LOCAL_MODULE_TAGS := tests |
| 108 | LOCAL_MODULE := core-junitrunner |
| 109 | include $(BUILD_JAVA_LIBRARY) |
| Elliott Hughes | 7ee3a06 | 2010-02-18 17:20:15 -0800 | [diff] [blame] | 110 | |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 111 | # Definitions to make the core-tests libraries. |
| 112 | # |
| 113 | # We make a library per module, because otherwise the .jar files get too |
| 114 | # large, to the point that dx(1) can't cope (and the build is |
| 115 | # ridiculously slow). |
| 116 | # |
| Brian Carlstrom | 51ee38b | 2010-07-23 15:57:52 -0700 | [diff] [blame] | 117 | # TODO: vogar will make this nonsense obsolete. |
| 118 | |
| 119 | include $(CLEAR_VARS) |
| 120 | LOCAL_SRC_FILES := $(call all-test-java-files-under,dalvik) |
| 121 | LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs) |
| 122 | LOCAL_NO_STANDARD_LIBRARIES := true |
| 123 | LOCAL_JAVA_LIBRARIES := core core-junit core-junitrunner core-tests-support |
| 124 | LOCAL_DX_FLAGS := --core-library |
| 125 | LOCAL_MODULE_TAGS := tests |
| 126 | LOCAL_MODULE := core-tests-dalvik |
| 127 | include $(BUILD_JAVA_LIBRARY) |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 128 | |
| 129 | include $(CLEAR_VARS) |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 130 | LOCAL_SRC_FILES := $(call all-test-java-files-under,dom) |
| 131 | LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs) |
| 132 | LOCAL_NO_STANDARD_LIBRARIES := true |
| Jesse Wilson | 1708c11 | 2010-05-13 15:50:15 -0700 | [diff] [blame] | 133 | LOCAL_JAVA_LIBRARIES := core core-junit core-junitrunner core-tests-support |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 134 | LOCAL_DX_FLAGS := --core-library |
| 135 | LOCAL_MODULE_TAGS := tests |
| 136 | LOCAL_MODULE := core-tests-dom |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 137 | include $(BUILD_JAVA_LIBRARY) |
| 138 | |
| 139 | include $(CLEAR_VARS) |
| 140 | LOCAL_SRC_FILES := $(call all-test-java-files-under,json) |
| 141 | LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs) |
| 142 | LOCAL_NO_STANDARD_LIBRARIES := true |
| Jesse Wilson | 1708c11 | 2010-05-13 15:50:15 -0700 | [diff] [blame] | 143 | LOCAL_JAVA_LIBRARIES := core core-junit core-junitrunner core-tests-support |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 144 | LOCAL_DX_FLAGS := --core-library |
| 145 | LOCAL_MODULE_TAGS := tests |
| 146 | LOCAL_MODULE := core-tests-json |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 147 | include $(BUILD_JAVA_LIBRARY) |
| 148 | |
| 149 | include $(CLEAR_VARS) |
| 150 | LOCAL_SRC_FILES := $(call all-test-java-files-under,luni) |
| 151 | LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs) |
| 152 | LOCAL_NO_STANDARD_LIBRARIES := true |
| 153 | # This module contains the top-level "tests.AllTests" that ties everything |
| 154 | # together, so it has compile-time dependencies on all the other test |
| 155 | # libraries. |
| 156 | # TODO: we should have a bogus module that just contains tests.AllTests for speed. |
| 157 | LOCAL_JAVA_LIBRARIES := \ |
| Brian Carlstrom | 12cd1f0 | 2010-06-22 23:43:20 -0700 | [diff] [blame] | 158 | bouncycastle \ |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 159 | core \ |
| 160 | core-junit \ |
| Jesse Wilson | 1708c11 | 2010-05-13 15:50:15 -0700 | [diff] [blame] | 161 | core-junitrunner \ |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 162 | core-tests-support \ |
| Brian Carlstrom | 51ee38b | 2010-07-23 15:57:52 -0700 | [diff] [blame] | 163 | core-tests-dalvik \ |
| Elliott Hughes | bf1ecf2 | 2010-02-22 12:45:26 -0800 | [diff] [blame] | 164 | core-tests-dom \ |
| Elliott Hughes | bf1ecf2 | 2010-02-22 12:45:26 -0800 | [diff] [blame] | 165 | core-tests-json \ |
| Peter Hallam | cec4dd4 | 2010-04-26 12:53:37 -0700 | [diff] [blame] | 166 | core-tests-xml \ |
| 167 | sqlite-jdbc |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 168 | LOCAL_DX_FLAGS := --core-library |
| 169 | LOCAL_MODULE_TAGS := tests |
| Brian Carlstrom | b094af3 | 2010-05-28 17:37:37 -0700 | [diff] [blame] | 170 | LOCAL_MODULE := core-tests |
| Guang Zhu | 83244e5 | 2010-06-11 18:48:30 -0700 | [diff] [blame] | 171 | |
| 172 | LOCAL_NO_EMMA_INSTRUMENT := true |
| 173 | LOCAL_NO_EMMA_COMPILE := true |
| 174 | |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 175 | include $(BUILD_JAVA_LIBRARY) |
| 176 | |
| 177 | include $(CLEAR_VARS) |
| Elliott Hughes | 7ee3a06 | 2010-02-18 17:20:15 -0800 | [diff] [blame] | 178 | LOCAL_SRC_FILES := $(call all-test-java-files-under,support) |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 179 | LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs) |
| 180 | LOCAL_NO_STANDARD_LIBRARIES := true |
| Brian Carlstrom | 12cd1f0 | 2010-06-22 23:43:20 -0700 | [diff] [blame] | 181 | LOCAL_JAVA_LIBRARIES := bouncycastle core core-junit core-junitrunner |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 182 | LOCAL_DX_FLAGS := --core-library |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 183 | LOCAL_MODULE_TAGS := tests |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 184 | LOCAL_MODULE := core-tests-support |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 185 | include $(BUILD_JAVA_LIBRARY) |
| 186 | |
| 187 | include $(CLEAR_VARS) |
| 188 | LOCAL_SRC_FILES := $(call all-test-java-files-under,xml) |
| 189 | LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs) |
| 190 | LOCAL_NO_STANDARD_LIBRARIES := true |
| Jesse Wilson | 1708c11 | 2010-05-13 15:50:15 -0700 | [diff] [blame] | 191 | LOCAL_JAVA_LIBRARIES := core core-junit core-junitrunner core-tests-support |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 192 | LOCAL_DX_FLAGS := --core-library |
| 193 | LOCAL_MODULE_TAGS := tests |
| 194 | LOCAL_MODULE := core-tests-xml |
| Jesse Wilson | d5d3526 | 2010-05-12 23:56:14 -0700 | [diff] [blame] | 195 | include $(BUILD_JAVA_LIBRARY) |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 196 | |
| Jesse Wilson | 706d535 | 2010-06-08 17:20:09 -0700 | [diff] [blame] | 197 | # also build support as a static library for use by frameworks/base HTTPS tests |
| 198 | include $(CLEAR_VARS) |
| 199 | LOCAL_SRC_FILES := $(call all-test-java-files-under,support) |
| 200 | LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs) |
| 201 | LOCAL_NO_STANDARD_LIBRARIES := true |
| Brian Carlstrom | 12cd1f0 | 2010-06-22 23:43:20 -0700 | [diff] [blame] | 202 | LOCAL_JAVA_LIBRARIES := bouncycastle core core-junit core-junitrunner |
| Jesse Wilson | 706d535 | 2010-06-08 17:20:09 -0700 | [diff] [blame] | 203 | LOCAL_DX_FLAGS := --core-library |
| 204 | LOCAL_MODULE_TAGS := tests |
| 205 | LOCAL_MODULE := core-tests-supportlib |
| 206 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 207 | |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 208 | # This one's tricky. One of our tests needs to have a |
| 209 | # resource with a "#" in its name, but Perforce doesn't |
| 210 | # allow us to submit such a file. So we create it here |
| 211 | # on-the-fly. |
| 212 | TMP_RESOURCE_DIR := $(OUT_DIR)/tmp/ |
| 213 | TMP_RESOURCE_FILE := org/apache/harmony/luni/tests/java/lang/test\#.properties |
| 214 | |
| 215 | $(TMP_RESOURCE_DIR)$(TMP_RESOURCE_FILE): |
| 216 | @mkdir -p $(dir $@) |
| 217 | @echo "Hello, world!" > $@ |
| 218 | |
| 219 | $(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_EXTRA_JAR_ARGS := $(extra_jar_args) -C $(TMP_RESOURCE_DIR) $(TMP_RESOURCE_FILE) |
| 220 | $(LOCAL_INTERMEDIATE_TARGETS): $(TMP_RESOURCE_DIR)$(TMP_RESOURCE_FILE) |
| 221 | |
| 222 | # Definitions for building a version of the core-tests.jar |
| 223 | # that is suitable for execution on the RI. This JAR would |
| 224 | # be better located in $HOST_OUT_JAVA_LIBRARIES, but it is |
| 225 | # not possible to refer to that from a shell script (the |
| 226 | # variable is not exported from envsetup.sh). There is also |
| 227 | # some trickery involved: we need to include some classes |
| 228 | # that reside in core.jar, but since we cannot incldue the |
| 229 | # whole core.jar in the RI classpath, we copy those classses |
| 230 | # over to our new file. |
| 231 | HOST_CORE_JAR := $(HOST_COMMON_OUT_ROOT)/core-tests.jar |
| 232 | |
| 233 | $(HOST_CORE_JAR): PRIVATE_LOCAL_BUILT_MODULE := $(LOCAL_BUILT_MODULE) |
| 234 | $(HOST_CORE_JAR): PRIVATE_CORE_INTERMEDIATES := $(core-intermediates) |
| 235 | $(HOST_CORE_JAR): $(LOCAL_BUILT_MODULE) |
| 236 | @rm -rf $(dir $<)/hostctsclasses |
| 237 | $(call unzip-jar-files,$(dir $<)classes.jar,$(dir $<)hostctsclasses) |
| 238 | @unzip -qx -o $(PRIVATE_CORE_INTERMEDIATES)/classes.jar dalvik/annotation/* -d $(dir $<)hostctsclasses |
| 239 | @cp $< $@ |
| 240 | @jar uf $@ -C $(dir $<)hostctsclasses . |
| 241 | |
| 242 | $(LOCAL_INSTALLED_MODULE): $(HOST_CORE_JAR) |
| 243 | |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 244 | |
| 245 | # |
| 246 | # Build for the host. |
| 247 | # |
| 248 | |
| 249 | ifeq ($(WITH_HOST_DALVIK),true) |
| 250 | |
| 251 | # Definitions to make the core library. |
| 252 | |
| 253 | include $(CLEAR_VARS) |
| 254 | |
| 255 | LOCAL_SRC_FILES := $(core_src_files) |
| 256 | LOCAL_JAVA_RESOURCE_DIRS := $(core_resource_dirs) |
| 257 | |
| 258 | LOCAL_NO_STANDARD_LIBRARIES := true |
| Elliott Hughes | 48d0b3f | 2010-12-14 09:48:52 -0800 | [diff] [blame] | 259 | LOCAL_JAVACFLAGS := $(local_javac_flags) |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 260 | LOCAL_DX_FLAGS := --core-library |
| 261 | |
| 262 | LOCAL_NO_EMMA_INSTRUMENT := true |
| 263 | LOCAL_NO_EMMA_COMPILE := true |
| Jesse Wilson | 7898a91 | 2010-09-13 15:42:41 -0700 | [diff] [blame] | 264 | LOCAL_BUILD_HOST_DEX := true |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 265 | |
| Jean-Baptiste Queru | f267896 | 2010-09-14 13:50:14 -0700 | [diff] [blame] | 266 | LOCAL_MODULE_TAGS := optional |
| Jesse Wilson | 53fbc0a | 2010-09-16 15:46:05 -0700 | [diff] [blame] | 267 | LOCAL_MODULE := core-hostdex |
| Dan Bornstein | 6ac43c2 | 2009-10-24 15:33:49 -0700 | [diff] [blame] | 268 | |
| 269 | include $(BUILD_HOST_JAVA_LIBRARY) |
| 270 | |
| Elliott Hughes | 67cc34b | 2010-02-19 22:14:19 -0800 | [diff] [blame] | 271 | endif |
| Brian Carlstrom | dc3c152 | 2011-01-05 17:48:05 -0800 | [diff] [blame] | 272 | |
| 273 | # |
| 274 | # Local droiddoc for faster libcore testing |
| 275 | # |
| 276 | # |
| 277 | # Run with: |
| 278 | # m libcore-docs |
| 279 | # |
| 280 | # Main output: |
| 281 | # out/target/common/docs/libcore/reference/packages.html |
| 282 | # |
| 283 | # All text for proofreading (or running tools over): |
| 284 | # out/target/common/docs/libcore-proofread.txt |
| 285 | # |
| 286 | # TODO list of missing javadoc, etc: |
| 287 | # out/target/common/docs/libcore-docs-todo.html |
| 288 | # |
| 289 | # Rerun: |
| 290 | # rm -rf out/target/common/docs/libcore-timestamp && m libcore-docs |
| 291 | # |
| 292 | include $(CLEAR_VARS) |
| 293 | |
| 294 | # for shared defintion of libcore_to_document |
| 295 | include $(LOCAL_PATH)/Docs.mk |
| 296 | |
| 297 | LOCAL_SRC_FILES:=$(call find-other-java-files, $(libcore_to_document)) |
| 298 | # rerun doc generation without recompiling the java |
| 299 | LOCAL_JAVA_LIBRARIES:= |
| 300 | LOCAL_MODULE_CLASS:=JAVA_LIBRARIES |
| 301 | |
| 302 | LOCAL_MODULE := libcore |
| 303 | |
| 304 | LOCAL_DROIDDOC_OPTIONS:= \ |
| 305 | -offlinemode \ |
| 306 | -title "libcore" \ |
| 307 | -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-proofread.txt \ |
| 308 | -todo ../$(LOCAL_MODULE)-docs-todo.html \ |
| 309 | -hdf android.whichdoc offline |
| 310 | |
| 311 | LOCAL_DROIDDOC_CUSTOM_TEMPLATE_DIR:=build/tools/droiddoc/templates-sdk |
| 312 | |
| 313 | include $(BUILD_DROIDDOC) |