The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [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 | |
| 17 | # |
| 18 | # Standard rules for building a host java library. |
| 19 | # |
| 20 | |
Chris Wren | d4b1d52 | 2013-10-02 13:30:27 -0400 | [diff] [blame] | 21 | ####################################### |
Narayan Kamath | 0dd273a | 2013-10-28 13:20:52 +0000 | [diff] [blame^] | 22 | include $(BUILD_SYSTEM)/host_java_library_common.mk |
Ying Wang | 50d7d7a | 2010-09-23 16:29:53 -0700 | [diff] [blame] | 23 | include $(BUILD_SYSTEM)/base_rules.mk |
Chris Wren | d4b1d52 | 2013-10-02 13:30:27 -0400 | [diff] [blame] | 24 | ####################################### |
Ying Wang | 50d7d7a | 2010-09-23 16:29:53 -0700 | [diff] [blame] | 25 | |
jeffhao | dc6757a | 2012-04-17 16:24:33 -0700 | [diff] [blame] | 26 | $(full_classes_compiled_jar): PRIVATE_JAVAC_DEBUG_FLAGS := -g |
| 27 | |
Ying Wang | 1d977e3 | 2013-01-30 11:22:06 -0800 | [diff] [blame] | 28 | java_alternative_checked_module := |
| 29 | |
Joe Onorato | 9a6a326 | 2012-10-26 16:25:05 -0700 | [diff] [blame] | 30 | # The layers file allows you to enforce a layering between java packages. |
| 31 | # Run build/tools/java-layers.py for more details. |
| 32 | layers_file := $(addprefix $(LOCAL_PATH)/, $(LOCAL_JAVA_LAYERS_FILE)) |
| 33 | |
Ying Wang | a3b7593 | 2013-08-14 16:59:00 -0700 | [diff] [blame] | 34 | $(LOCAL_BUILT_MODULE): PRIVATE_JAVA_LAYERS_FILE := $(layers_file) |
Brian Carlstrom | f184a0f | 2010-02-01 11:13:32 -0800 | [diff] [blame] | 35 | $(LOCAL_BUILT_MODULE): PRIVATE_JAVACFLAGS := $(LOCAL_JAVACFLAGS) |
Ying Wang | 5758b8e | 2011-12-15 16:36:55 -0800 | [diff] [blame] | 36 | $(LOCAL_BUILT_MODULE): PRIVATE_JAR_EXCLUDE_FILES := |
Ying Wang | a3b7593 | 2013-08-14 16:59:00 -0700 | [diff] [blame] | 37 | $(LOCAL_BUILT_MODULE): PRIVATE_JAR_PACKAGES := |
| 38 | $(LOCAL_BUILT_MODULE): PRIVATE_RMTYPEDEFS := |
Joe Onorato | f9f6084 | 2012-10-09 19:39:43 -0700 | [diff] [blame] | 39 | $(LOCAL_BUILT_MODULE): $(java_sources) $(java_resource_sources) $(full_java_lib_deps) \ |
Chris Wren | d4b1d52 | 2013-10-02 13:30:27 -0400 | [diff] [blame] | 40 | $(jar_manifest_file) $(proto_java_sources_file_stamp) $(LOCAL_ADDITIONAL_DEPENDENCIES) |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 41 | $(transform-host-java-to-package) |