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 header_libs: ["libnativebridge-dummy-headers"], 27 cppflags: ["-fvisibility=protected"], 28 } 29 30 cc_library_shared { 31 name: "libnativebridge-dummy", 32 srcs: ["DummyNativeBridge.cpp"], 33 defaults: ["libnativebridge-dummy-defaults"], 34 } 35 36 cc_library_shared { 37 name: "libnativebridge2-dummy", 38 srcs: ["DummyNativeBridge2.cpp"], 39 defaults: ["libnativebridge-dummy-defaults"], 40 } 41 42 cc_library_shared { 43 name: "libnativebridge3-dummy", 44 srcs: ["DummyNativeBridge3.cpp"], 45 defaults: ["libnativebridge-dummy-defaults"], 46 } 47