1#
2# Copyright (C) 2014 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# Libraries used by dlfcn tests to verify local group ref_counting
19# libtest_two_parents*.so
20# -----------------------------------------------------------------------------
21
22# -----------------------------------------------------------------------------
23# ..._child.so - correct answer
24# -----------------------------------------------------------------------------
25libtest_two_parents_child_src_files := \
26    dlopen_2_parents_reloc_answer.cpp
27
28module := libtest_two_parents_child
29include $(LOCAL_PATH)/Android.build.testlib.mk
30
31# -----------------------------------------------------------------------------
32# ..._parent1.so - correct answer
33# -----------------------------------------------------------------------------
34libtest_two_parents_parent1_src_files := \
35    dlopen_check_order_reloc_answer_impl.cpp
36
37libtest_two_parents_parent1_shared_libraries := libtest_two_parents_child
38libtest_two_parents_parent1_cflags := -D__ANSWER=42
39module := libtest_two_parents_parent1
40include $(LOCAL_PATH)/Android.build.testlib.mk
41
42# -----------------------------------------------------------------------------
43# ..._parent2.so - incorrect answer
44# -----------------------------------------------------------------------------
45libtest_two_parents_parent2_src_files := \
46    dlopen_check_order_reloc_answer_impl.cpp
47
48libtest_two_parents_parent2_shared_libraries := libtest_two_parents_child
49libtest_two_parents_parent2_cflags := -D__ANSWER=1
50module := libtest_two_parents_parent2
51include $(LOCAL_PATH)/Android.build.testlib.mk
52
53