Tomasz Wasilczyk | e38d3a6 | 2017-05-08 15:29:10 -0700 | [diff] [blame] | 1 | // |
| 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 | |
| 17 | cc_defaults { |
| 18 | name: "libnativebridge-dummy-defaults", |
| 19 | |
| 20 | host_supported: true, |
| 21 | cflags: [ |
| 22 | "-Wall", |
| 23 | "-Wextra", |
| 24 | "-Werror", |
| 25 | ], |
| 26 | cppflags: ["-fvisibility=protected"], |
| 27 | target: { |
| 28 | android: { |
| 29 | shared_libs: ["libdl"], |
| 30 | }, |
| 31 | host: { |
| 32 | host_ldlibs: ["-ldl"], |
| 33 | }, |
| 34 | }, |
| 35 | } |
| 36 | |
| 37 | cc_library_shared { |
| 38 | name: "libnativebridge-dummy", |
| 39 | srcs: ["DummyNativeBridge.cpp"], |
| 40 | defaults: ["libnativebridge-dummy-defaults"], |
| 41 | } |
| 42 | |
| 43 | cc_library_shared { |
| 44 | name: "libnativebridge2-dummy", |
| 45 | srcs: ["DummyNativeBridge2.cpp"], |
| 46 | defaults: ["libnativebridge-dummy-defaults"], |
| 47 | } |
| 48 | |
| 49 | cc_library_shared { |
| 50 | name: "libnativebridge3-dummy", |
| 51 | srcs: ["DummyNativeBridge3.cpp"], |
| 52 | defaults: ["libnativebridge-dummy-defaults"], |
| 53 | } |