Move ADB code to adb/

This commit is contained in:
Romain Vimont 2022-02-03 22:46:24 +01:00
parent c460243ce2
commit 7810ca61b0
12 changed files with 8 additions and 10 deletions

View File

@ -1,8 +1,8 @@
src = [
'src/main.c',
'src/adb.c',
'src/adb_parser.c',
'src/adb_tunnel.c',
'src/adb/adb.c',
'src/adb/adb_parser.c',
'src/adb/adb_tunnel.c',
'src/cli.c',
'src/clock.c',
'src/compat.c',
@ -221,7 +221,7 @@ if get_option('buildtype') == 'debug'
tests = [
['test_adb_parser', [
'tests/test_adb_parser.c',
'src/adb_parser.c',
'src/adb/adb_parser.c',
'src/util/str.c',
'src/util/strbuf.c',
]],

View File

@ -3,7 +3,7 @@
#include <assert.h>
#include <string.h>
#include "adb.h"
#include "adb/adb.h"
#include "util/log.h"
#include "util/process_intr.h"

View File

@ -5,7 +5,6 @@
#include <stdbool.h>
#include "adb.h"
#include "util/cbuf.h"
#include "util/thread.h"
#include "util/intr.h"

View File

@ -7,7 +7,7 @@
#include <SDL2/SDL_timer.h>
#include <SDL2/SDL_platform.h>
#include "adb.h"
#include "adb/adb.h"
#include "util/file.h"
#include "util/log.h"
#include "util/net_intr.h"

View File

@ -7,8 +7,7 @@
#include <stdbool.h>
#include <stdint.h>
#include "adb.h"
#include "adb_tunnel.h"
#include "adb/adb_tunnel.h"
#include "coords.h"
#include "options.h"
#include "util/intr.h"

View File

@ -2,7 +2,7 @@
#include <assert.h>
#include "adb_parser.h"
#include "adb/adb_parser.h"
static void test_get_ip_single_line() {
char ip_route[] = "192.168.1.0/24 dev wlan0 proto kernel scope link src "