Merge "Replace llndk_library with llndk clause in cc_library"

This commit is contained in:
Colin Cross 2021-04-27 00:32:44 +00:00 committed by Gerrit Code Review
commit e52de760db
3 changed files with 9 additions and 25 deletions

View file

@ -28,7 +28,9 @@ cc_library {
// defined below. The static library is built for tests. // defined below. The static library is built for tests.
vendor_available: false, vendor_available: false,
native_bridge_supported: true, native_bridge_supported: true,
llndk_stubs: "libcgrouprc.llndk", llndk: {
symbol_file: "libcgrouprc.map.txt",
},
srcs: [ srcs: [
"cgroup_controller.cpp", "cgroup_controller.cpp",
"cgroup_file.cpp", "cgroup_file.cpp",
@ -59,12 +61,3 @@ cc_library {
}, },
}, },
} }
llndk_library {
name: "libcgrouprc.llndk",
symbol_file: "libcgrouprc.map.txt",
native_bridge_supported: true,
export_include_dirs: [
"include",
],
}

View file

@ -42,7 +42,9 @@ cc_library {
recovery_available: true, recovery_available: true,
native_bridge_supported: true, native_bridge_supported: true,
defaults: ["libsync_defaults"], defaults: ["libsync_defaults"],
llndk_stubs: "libsync.llndk", llndk: {
symbol_file: "libsync.map.txt",
},
stubs: { stubs: {
symbol_file: "libsync.map.txt", symbol_file: "libsync.map.txt",
versions: [ versions: [
@ -51,12 +53,6 @@ cc_library {
}, },
} }
llndk_library {
name: "libsync.llndk",
symbol_file: "libsync.map.txt",
export_include_dirs: ["include"],
}
cc_test { cc_test {
name: "sync-unit-tests", name: "sync-unit-tests",
shared_libs: ["libsync"], shared_libs: ["libsync"],

View file

@ -5,7 +5,9 @@ package {
cc_library { cc_library {
name: "libvndksupport", name: "libvndksupport",
native_bridge_supported: true, native_bridge_supported: true,
llndk_stubs: "libvndksupport.llndk", llndk: {
symbol_file: "libvndksupport.map.txt",
},
srcs: ["linker.cpp"], srcs: ["linker.cpp"],
cflags: [ cflags: [
"-Wall", "-Wall",
@ -23,10 +25,3 @@ cc_library {
versions: ["29"], versions: ["29"],
}, },
} }
llndk_library {
name: "libvndksupport.llndk",
native_bridge_supported: true,
symbol_file: "libvndksupport.map.txt",
export_include_dirs: ["include"],
}