Android.mk revision 8c09f35fe02c38c18f8f7b9e0a531d6ac158476e
1# 2# Copyright (C) 2009 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# 16LOCAL_PATH := $(call my-dir) 17include $(CLEAR_VARS) 18 19LOCAL_SRC_FILES := $(call all-subdir-java-files) 20 21LOCAL_JAR_MANIFEST := ../etc/manifest.txt 22LOCAL_JAVA_LIBRARIES := \ 23 chimpchat \ 24 ddmlib \ 25 jython \ 26 guavalib \ 27 jsilver \ 28 sdklib \ 29 hierarchyviewerlib \ 30 swt 31 32LOCAL_JAVA_RESOURCE_DIRS := resources 33 34LOCAL_MODULE := monkeyrunner 35 36include $(BUILD_HOST_JAVA_LIBRARY) 37 38include $(CLEAR_VARS) 39 40MR_GEN_DOC_DIR := $(OUT_DOCS)/gen/guide/developing/tools 41MONKEYRUNNER_GENERATED_DOC := $(MR_GEN_DOC_DIR)/monkeyrunner-api.jd 42 43HELP_PY_PATH := $(TOP)/sdk/monkeyrunner/scripts/help.py 44 45# Setup documentation generation so we can include the MonkeyRunner 46# docs in the SDK. 47$(MONKEYRUNNER_GENERATED_DOC): monkeyrunner 48 mkdir -p $(MR_GEN_DOC_DIR) 49 $(HOST_OUT)/bin/monkeyrunner $(HELP_PY_PATH) sdk-docs $< 50 51ALL_GENERATED_DOCS += $(MONKEYRUNNER_GENERATED_DOC) 52