OSDN Git Service

Use KNOWN_PACKAGES when shared lib consumers
[android-x86/frameworks-base.git] / pathmap.mk
1 #
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 #
24 # A list of all source roots under frameworks/multidex.
25 #
26 FRAMEWORKS_MULTIDEX_SUBDIRS := \
27     multidex/library/src \
28     multidex/instrumentation/src
29
30 #
31 # A version of FRAMEWORKS_SUPPORT_SUBDIRS that is expanded to full paths from
32 # the root of the tree.
33 #
34 FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS += \
35     $(addprefix frameworks/,$(FRAMEWORKS_MULTIDEX_SUBDIRS)) \
36     frameworks/rs/support
37
38 #
39 # A list of support library modules.
40 #
41 FRAMEWORKS_SUPPORT_JAVA_LIBRARIES += \
42     android-support-v8-renderscript \
43     android-support-multidex \
44     android-support-multidex-instrumentation
45
46 #
47 # A list of all documented source roots under frameworks/data-binding.
48 #
49 FRAMEWORKS_DATA_BINDING_SUBDIRS := \
50     baseLibrary/src/main \
51     extensions/library/src/main \
52     extensions/library/src/doc
53
54 #
55 # A version of FRAMEWORKS_DATA_BINDING_SUBDIRS that is expanded to full paths from
56 # the root of the tree.
57 #
58 FRAMEWORKS_DATA_BINDING_JAVA_SRC_DIRS := \
59     $(addprefix frameworks/data-binding/,$(FRAMEWORKS_DATA_BINDING_SUBDIRS))