blob: e31dae0861af1883e3c637b8b5b9deef053dda86 [file] [log] [blame]
Tomasz Wasilczyke38d3a62017-05-08 15:29:10 -07001//
2// Copyright (C) 2017 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
17cc_defaults {
18 name: "libnativebridge-dummy-defaults",
19
20 host_supported: true,
21 cflags: [
22 "-Wall",
23 "-Wextra",
24 "-Werror",
25 ],
Steven Morelandb2b88e32017-06-30 12:46:57 -070026 header_libs: ["libnativebridge-dummy-headers"],
Tomasz Wasilczyke38d3a62017-05-08 15:29:10 -070027 cppflags: ["-fvisibility=protected"],
28 target: {
29 android: {
30 shared_libs: ["libdl"],
31 },
32 host: {
33 host_ldlibs: ["-ldl"],
34 },
35 },
36}
37
38cc_library_shared {
39 name: "libnativebridge-dummy",
40 srcs: ["DummyNativeBridge.cpp"],
41 defaults: ["libnativebridge-dummy-defaults"],
42}
43
44cc_library_shared {
45 name: "libnativebridge2-dummy",
46 srcs: ["DummyNativeBridge2.cpp"],
47 defaults: ["libnativebridge-dummy-defaults"],
48}
49
50cc_library_shared {
51 name: "libnativebridge3-dummy",
52 srcs: ["DummyNativeBridge3.cpp"],
53 defaults: ["libnativebridge-dummy-defaults"],
54}