Skip to content
Snippets Groups Projects
Commit 39fe2cc1 authored by Devin Moore's avatar Devin Moore
Browse files

Change libidmap2_policies to static

The library only has headers so the shared library overhead is not worth
it.

Test: m
Bug: 280829178
Change-Id: Ie138d1be95aaad9b230407cf03a46d182dd2a307
parent de9ac4dc
No related branches found
No related tags found
No related merge requests found
......@@ -80,13 +80,13 @@ cc_library {
enabled: false,
},
static_libs: [
"libidmap2_policies",
"libidmap2_protos",
],
shared_libs: [
"libandroidfw",
"libbase",
"libcutils",
"libidmap2_policies",
"libprotobuf-cpp-lite",
"libutils",
"libz",
......@@ -125,7 +125,7 @@ cc_library {
},
}
cc_library {
cc_library_static {
name: "libidmap2_policies",
defaults: [
"idmap2_defaults",
......@@ -142,9 +142,6 @@ cc_library {
],
},
host: {
shared: {
enabled: false,
},
static_libs: [
"libandroidfw",
],
......@@ -191,7 +188,6 @@ cc_test {
"libandroidfw",
"libbase",
"libidmap2",
"libidmap2_policies",
"liblog",
"libprotobuf-cpp-lite",
"libutils",
......@@ -199,6 +195,9 @@ cc_test {
"libz",
"libziparchive",
],
static_libs: [
"libidmap2_policies",
],
},
host: {
static_libs: [
......@@ -255,12 +254,14 @@ cc_binary {
"libbase",
"libcutils",
"libidmap2",
"libidmap2_policies",
"libprotobuf-cpp-lite",
"libutils",
"libz",
"libziparchive",
],
static_libs: [
"libidmap2_policies",
],
},
host: {
static_libs: [
......@@ -298,13 +299,13 @@ cc_binary {
"libbinder",
"libcutils",
"libidmap2",
"libidmap2_policies",
"libprotobuf-cpp-lite",
"libutils",
"libziparchive",
],
static_libs: [
"libc++fs",
"libidmap2_policies",
"libidmap2_protos",
"libidmap2daidl",
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment