gn2bp: Add an helper to drop unneeded third_party dependencies am: f5954480f5
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2469602 Change-Id: I4b93f877fd543563ddeb6e71eb520eff90a14cd1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
775d55a2af
1 changed files with 9 additions and 6 deletions
|
|
@ -190,6 +190,9 @@ additional_args = {
|
|||
],
|
||||
}
|
||||
|
||||
def always_disable(module, arch):
|
||||
return None
|
||||
|
||||
def enable_brotli(module, arch):
|
||||
# Requires crrev/c/4111690
|
||||
if arch is None:
|
||||
|
|
@ -227,17 +230,17 @@ def enable_boringssl(module, arch):
|
|||
# depends on.
|
||||
builtin_deps = {
|
||||
'//buildtools/third_party/libunwind:libunwind':
|
||||
lambda m, a: None, # disable libunwind
|
||||
always_disable,
|
||||
'//buildtools/third_party/libunwind:libunwind__testing':
|
||||
lambda m, a: None, # disable libunwind
|
||||
always_disable,
|
||||
'//net/data/ssl/chrome_root_store:gen_root_store_inc':
|
||||
lambda m, a: None,
|
||||
always_disable,
|
||||
'//net/data/ssl/chrome_root_store:gen_root_store_inc__testing':
|
||||
lambda m, a: None,
|
||||
always_disable,
|
||||
'//net/tools/root_store_tool:root_store_tool':
|
||||
lambda m, a: None,
|
||||
always_disable,
|
||||
'//net/tools/root_store_tool:root_store_tool__testing':
|
||||
lambda m, a: None,
|
||||
always_disable,
|
||||
'//third_party/zlib:zlib':
|
||||
enable_zlib,
|
||||
'//third_party/zlib:zlib__testing':
|
||||
|
|
|
|||
Loading…
Reference in a new issue