summaryrefslogtreecommitdiff
path: root/patches/0019-cronet-import-remove-perfetto-from-unit-tests.patch
blob: 1ac9616e3dea4f11b3426a42a8c143f2ef582cd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From 53f307b6e210d28e802c34290dd4bf32d5b5c24b Mon Sep 17 00:00:00 2001
From: Patrick Rohr <prohr@google.com>
Date: Thu, 27 Apr 2023 13:14:09 -0700
Subject: [PATCH 1/1] cronet import: remove perfetto from unit tests

DO NOT SUBMIT.

Test: none
Change-Id: Iaafc68df47a54759c347201ff863b23fab4fd534
---
 net/BUILD.gn | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net/BUILD.gn b/net/BUILD.gn
index f314372cd790f..bc58713d7e75e 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -2961,14 +2961,13 @@ test("net_unittests") {
     deps += [ "//net/server:tests" ]
   }
 
-  if (is_cronet_build) {
-    deps += [ "//third_party/perfetto/include/perfetto/test:test_support" ]
-  } else {
+  if (!is_cronet_build) {
     deps += [
       ":extras",
       "//components/sqlite_proto",
       "//sql",
       "//sql:test_support",
+      "//third_party/perfetto/include/perfetto/test:test_support",
     ]
   }
 
-- 
2.41.0.694.ge786442a9b-goog