blob: c241d9978316c18d441e7c180b7fa19bdf05d34b [file] [log] [blame]
Alan Viverette63394b72016-12-19 10:53:15 -05001#
2# Copyright (C) 2016 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# 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!
21#
22
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.
26include $(LOCAL_PATH)/../support/pathmap.mk
27
28#
29# A list of all source roots under frameworks/multidex.
30#
31FRAMEWORKS_MULTIDEX_SUBDIRS := \
32 multidex/library/src \
33 multidex/instrumentation/src
34
35#
36# A version of FRAMEWORKS_SUPPORT_SUBDIRS that is expanded to full paths from
37# the root of the tree.
38#
39FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS += \
40 $(addprefix frameworks/,$(FRAMEWORKS_MULTIDEX_SUBDIRS)) \
41 frameworks/rs/support
42
43#
44# A list of support library modules.
45#
46FRAMEWORKS_SUPPORT_JAVA_LIBRARIES += \
47 android-support-v8-renderscript \
48 android-support-multidex \
49 android-support-multidex-instrumentation
50
51#
52# A list of all documented source roots under frameworks/data-binding.
53#
54FRAMEWORKS_DATA_BINDING_SUBDIRS := \
55 baseLibrary/src/main \
56 extensions/library/src/main \
57 extensions/library/src/doc
58
59#
60# A version of FRAMEWORKS_DATA_BINDING_SUBDIRS that is expanded to full paths from
61# the root of the tree.
62#
63FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS := \
64 $(addprefix frameworks/data-binding/,$(FRAMEWORKS_DATA_BINDING_SUBDIRS))