2 # Copyright (C) 2016 The Android Open Source Project
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
18 # A central place to define mappings to paths used by the framework build, to
19 # avoid hard-coding them in Android.mk files. Not meant for header file include
20 # directories, despite the fact that it was historically used for that!
23 # Import path mappings from the support library project. This will set up
24 # FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS and FRAMEWORKS_SUPPORT_JAVA_LIBRARIES for
25 # use later in this file.
26 include $(LOCAL_PATH)/../support/pathmap.mk
29 # A list of all source roots under frameworks/multidex.
31 FRAMEWORKS_MULTIDEX_SUBDIRS := \
32 multidex/library/src \
33 multidex/instrumentation/src
36 # A version of FRAMEWORKS_SUPPORT_SUBDIRS that is expanded to full paths from
37 # the root of the tree.
39 FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS += \
40 $(addprefix frameworks/,$(FRAMEWORKS_MULTIDEX_SUBDIRS)) \
44 # A list of support library modules.
46 FRAMEWORKS_SUPPORT_JAVA_LIBRARIES += \
47 android-support-v8-renderscript \
48 android-support-multidex \
49 android-support-multidex-instrumentation
52 # A list of all documented source roots under frameworks/data-binding.
54 FRAMEWORKS_DATA_BINDING_SUBDIRS := \
55 baseLibrary/src/main \
56 extensions/library/src/main \
57 extensions/library/src/doc
60 # A version of FRAMEWORKS_DATA_BINDING_SUBDIRS that is expanded to full paths from
61 # the root of the tree.
63 FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS := \
64 $(addprefix frameworks/data-binding/,$(FRAMEWORKS_DATA_BINDING_SUBDIRS))