blob: 557d6b99309446c8d310524dfce95a079ad8f6b3 [file] [log] [blame]
Lev Rumyantsev0ea3b6f2020-06-25 13:13:53 -07001//
2// Copyright (C) 2018 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
Bob Badour5ce15292021-02-12 16:38:11 -080017package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
Lev Rumyantsev0ea3b6f2020-06-25 13:13:53 -070021cc_defaults {
22 name: "native_bridge_stub_library_defaults",
23 cflags: [
24 "-Wall",
25 "-Werror",
26 "-Wextra",
27 "-Wover-aligned",
28 "-Wunused",
29 ],
30
31 shared_libs: [
32 "libnative_bridge_vdso",
33 ],
34
35 // TODO(b/24465209): keep stub libraries old loader-compatible.
36 ldflags: [
37 "-Wl,--hash-style=both",
38 ],
39 pack_relocations: false,
40
41 enabled: false,
42 target: {
43 native_bridge: {
44 enabled: true,
45 }
46 },
47
48 native_bridge_supported: true,
49 compile_multilib: "both",
50}