diff options
author | Mohannad Farrag <aymanm@google.com> | 2023-02-09 15:04:36 +0000 |
---|---|---|
committer | Mohannad Farrag <aymanm@google.com> | 2023-02-09 15:04:36 +0000 |
commit | 49b464fbb8a9b8a0737f2205c3b43673679bf443 (patch) | |
tree | ada3f5d762b8fe30efaa4e0f0fb54b83b7eb0789 /base | |
parent | fa222a901a55a31b12a939a1329699121d143d8f (diff) | |
download | cronet-49b464fbb8a9b8a0737f2205c3b43673679bf443.tar.gz |
cronet: Trim out third-parties
Check chromium-review.googlesource.com/4218341
Test: None
Change-Id: I6a3fc12fc5201cd65844d76c4a1e6e6abd51b931
Diffstat (limited to 'base')
-rw-r--r-- | base/BUILD.gn | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/base/BUILD.gn b/base/BUILD.gn index bbb43cae4..5e4791181 100644 --- a/base/BUILD.gn +++ b/base/BUILD.gn @@ -2192,24 +2192,25 @@ mixed_component("base") { configs += linux_configs all_dependent_configs += linux_configs - sources += [ - "nix/mime_util_xdg.cc", - "nix/mime_util_xdg.h", - "nix/xdg_util.cc", - "nix/xdg_util.h", "system/sys_info_linux.cc", ] - - defines += [ "USE_SYMBOLIZE" ] - - # These dependencies are not required on Android, and in the case - # of xdg_mime must be excluded due to licensing restrictions. - deps += [ - "//base/third_party/symbolize", - "//base/third_party/xdg_mime", - "//base/third_party/xdg_user_dirs", - ] + if (!is_cronet_build) { + # These dependencies are not required on Android, and in the case + # of xdg_mime must be excluded due to licensing restrictions. + sources += [ + "nix/mime_util_xdg.cc", + "nix/mime_util_xdg.h", + "nix/xdg_util.cc", + "nix/xdg_util.h", + ] + defines += [ "USE_SYMBOLIZE" ] + deps += [ + "//base/third_party/symbolize", + "//base/third_party/xdg_mime", + "//base/third_party/xdg_user_dirs", + ] + } } else { if (!is_android) { sources -= [ |