From 358071f0baec397e751f94ae6efa91c7f84d041c Mon Sep 17 00:00:00 2001
From: klzgrad <kizdiv@gmail.com>
Date: Sun, 10 Dec 2023 19:05:40 +0800
Subject: [PATCH] url: Remove Android

---
 src/url/BUILD.gn | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/src/url/BUILD.gn b/src/url/BUILD.gn
index eef9797d6b..cd8405f98e 100644
--- a/src/url/BUILD.gn
+++ b/src/url/BUILD.gn
@@ -69,24 +69,6 @@ component("url") {
 
   configs += [ "//build/config/compiler:wexit_time_destructors" ]
 
-  if (is_android || is_robolectric) {
-    deps += [ ":url_jni_headers" ]
-    if (!is_cronet_build) {
-      sources += [
-        "android/gurl_android.cc",
-        "android/gurl_android.h",
-        "android/origin_android.cc",
-        "android/parsed_android.cc",
-        "android/parsed_android.h",
-      ]
-    }
-  }
-
-  if (is_robolectric) {
-    # Make jni.h available.
-    public_configs = [ "//third_party/jdk" ]
-  }
-
   if (is_win) {
     # Don't conflict with Windows' "url.dll".
     output_name = "url_lib"