diff options
author | Matthias Maennich <maennich@google.com> | 2021-11-18 12:26:31 +0000 |
---|---|---|
committer | Matthias Maennich <maennich@google.com> | 2021-11-20 14:19:56 +0000 |
commit | aaa2b3367d653916967586e438d979117db577c3 (patch) | |
tree | 4e66545658c0465ed30a3d4433518c46a51fbd4e | |
parent | 157d9690564843cd8e924a46e0d5b54cdf91bec7 (diff) | |
download | build-tools-aaa2b3367d653916967586e438d979117db577c3.tar.gz |
interceptor: introduce default compilation options
Bug: 205577427
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: I0f70c54538b670f15ece913f7874f8ae15b84f71
-rw-r--r-- | interceptor/Android.bp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/interceptor/Android.bp b/interceptor/Android.bp index 49d249b..ae4fd6d 100644 --- a/interceptor/Android.bp +++ b/interceptor/Android.bp @@ -1,16 +1,21 @@ +cc_defaults { + name: "interceptor_defaults", + static_libs: [ + "libc++fs", + ], +} + cc_library_host_shared { name: "libinterceptor", srcs: ["interceptor.cc"], + defaults: ["interceptor_defaults"], static_libs: [ - "libc++fs", "libbase", ], } cc_binary_host { name: "interceptor", - srcs: ["main.cc",], - static_libs: [ - "libc++fs", - ], + srcs: ["main.cc"], + defaults: ["interceptor_defaults"], } |