diff options
author | Etienne Cordonnier <ecordonnier@snap.com> | 2023-03-15 17:40:37 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-03-15 15:25:12 -0700 |
commit | 0c7dbd7eefd775303e1a29b5466fb9aa3ed4d838 (patch) | |
tree | 22a291b1e4ee7fa4ebd1186f8fd31e0fe1227f37 /dynamic-layers/selinux/android-tools/android-tools/core/0003-socket.h-removing-dependency-of-gtest.patch | |
parent | 204dadaf378e44d6c53d3bee1c2a54aaf38d666c (diff) | |
download | meta-clang-0c7dbd7eefd775303e1a29b5466fb9aa3ed4d838.tar.gz |
android-tools: remove recipe and dynamic-layer
The recipe has been patched to remove the clang dependency and moved to meta-openembedded at
https://github.com/openembedded/meta-openembedded/tree/master/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Diffstat (limited to 'dynamic-layers/selinux/android-tools/android-tools/core/0003-socket.h-removing-dependency-of-gtest.patch')
-rw-r--r-- | dynamic-layers/selinux/android-tools/android-tools/core/0003-socket.h-removing-dependency-of-gtest.patch | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/dynamic-layers/selinux/android-tools/android-tools/core/0003-socket.h-removing-dependency-of-gtest.patch b/dynamic-layers/selinux/android-tools/android-tools/core/0003-socket.h-removing-dependency-of-gtest.patch deleted file mode 100644 index 56c25ea..0000000 --- a/dynamic-layers/selinux/android-tools/android-tools/core/0003-socket.h-removing-dependency-of-gtest.patch +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | From 4fdd086c2e9c85bc5a367a861696191e190cebc9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nisha Parrakat <Nisha.Parrakat@kpit.com> | ||
3 | Date: Thu, 2 Mar 2023 17:20:48 +0100 | ||
4 | Subject: [PATCH 03/15] socket.h: removing dependency of gtest | ||
5 | |||
6 | Removed the dependency of gtest on the build of fastboot binary. | ||
7 | Fixes below error | ||
8 | |||
9 | In file included from fastboot/fastboot.cpp:70: | ||
10 | | In file included from fastboot/tcp.h:36: | ||
11 | | fastboot/socket.h:43:10: fatal error: 'gtest/gtest_prod.h' file not found | ||
12 | | #include <gtest/gtest_prod.h> | ||
13 | | ^~~~~~~~~~~~~~~~~~~~ | ||
14 | | 1 error generated. | ||
15 | | In file included from fastboot/socket.cpp:29: | ||
16 | | fastboot/socket.h:43:10: fatal error: 'gtest/gtest_prod.h' file not found | ||
17 | | #include <gtest/gtest_prod.h> | ||
18 | | ^~~~~~~~~~~~~~~~~~~~ | ||
19 | | 1 error generated. | ||
20 | | In file included from fastboot/tcp.cpp:29: | ||
21 | | In file included from fastboot/tcp.h:36: | ||
22 | | fastboot/socket.h:43:10: fatal error: 'gtest/gtest_prod.h' file not found | ||
23 | | #include <gtest/gtest_prod.h> | ||
24 | | ^~~~~~~~~~~~~~~~~~~~ | ||
25 | | 1 error generated. | ||
26 | | In file included from fastboot/udp.cpp:31: | ||
27 | | In file included from fastboot/udp.h:34: | ||
28 | | fastboot/socket.h:43:10: fatal error: 'gtest/gtest_prod.h' file not found | ||
29 | | #include <gtest/gtest_prod.h> | ||
30 | | ^~~~~~~~~~~~~~~~~~~~ | ||
31 | | 1 error generated. | ||
32 | |||
33 | Signed-off-by: Nisha Parrakat <Nisha.Parrakat@kpit.com> | ||
34 | --- | ||
35 | fastboot/socket.h | 3 --- | ||
36 | 1 file changed, 3 deletions(-) | ||
37 | |||
38 | diff --git a/fastboot/socket.h b/fastboot/socket.h | ||
39 | index e791f2c8..671fc115 100644 | ||
40 | --- a/fastboot/socket.h | ||
41 | +++ b/fastboot/socket.h | ||
42 | @@ -40,7 +40,6 @@ | ||
43 | |||
44 | #include <android-base/macros.h> | ||
45 | #include <cutils/sockets.h> | ||
46 | -#include <gtest/gtest_prod.h> | ||
47 | |||
48 | // Socket interface to be implemented for each platform. | ||
49 | class Socket { | ||
50 | @@ -119,8 +118,6 @@ class Socket { | ||
51 | socket_send_buffers_function_ = &socket_send_buffers; | ||
52 | |||
53 | private: | ||
54 | - FRIEND_TEST(SocketTest, TestTcpSendBuffers); | ||
55 | - FRIEND_TEST(SocketTest, TestUdpSendBuffers); | ||
56 | |||
57 | DISALLOW_COPY_AND_ASSIGN(Socket); | ||
58 | }; | ||
59 | -- | ||
60 | 2.36.1.vfs.0.0 | ||
61 | |||