Compare commits
76 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79f9ec5801 | ||
|
|
b7d2086508 | ||
|
|
b12d1ae7cb | ||
|
|
28289ab881 | ||
|
|
0cf7dabfc3 | ||
|
|
dc8e6c3cfe | ||
|
|
cb1d98a59c | ||
|
|
9400584364 | ||
|
|
98c2762eaa | ||
|
|
243c8cf1b3 | ||
|
|
63bc6d1053 | ||
|
|
6926f5e4fd | ||
|
|
004eb47d4a | ||
|
|
d720d424d8 | ||
|
|
43660079c5 | ||
|
|
a5aba2948a | ||
|
|
7a17895111 | ||
|
|
fb2c9ef9e7 | ||
|
|
12d79686d1 | ||
|
|
923032e5ca | ||
|
|
4689cd07d4 | ||
|
|
d99c3da08f | ||
|
|
4082cb32f9 | ||
|
|
f3b4160d77 | ||
|
|
207ae8b73c | ||
|
|
cf15859214 | ||
|
|
6cdd4e867b | ||
|
|
560002047b | ||
|
|
3233aa1c4f | ||
|
|
a8a1da1a00 | ||
|
|
230abb30c2 | ||
|
|
cb0f4799a2 | ||
|
|
5fc38264c0 | ||
|
|
3feae6d41b | ||
|
|
8cf821471f | ||
|
|
bd51b342b4 | ||
|
|
fa85a128da | ||
|
|
cd099f7a2b | ||
|
|
20042addd4 | ||
|
|
4d39bb9d26 | ||
|
|
50d180abf2 | ||
|
|
634ba5d7c4 | ||
|
|
cadf95cfc4 | ||
|
|
13c8209071 | ||
|
|
c21f604f30 | ||
|
|
db0bf6f34b | ||
|
|
09388f5352 | ||
|
|
2f3092e6b4 | ||
|
|
0ee541fe26 | ||
|
|
58249715ac | ||
|
|
bbf9eeadf1 | ||
|
|
3b8bb5feb5 | ||
|
|
fa31aaaba8 | ||
|
|
5b6ae2fef3 | ||
|
|
bf1a4ae266 | ||
|
|
a29da81f1a | ||
|
|
145ba93bd3 | ||
|
|
57356a3a09 | ||
|
|
4b1f27bdee | ||
|
|
e45c499358 | ||
|
|
3f99f59394 | ||
|
|
c976698e40 | ||
|
|
3bf4712cef | ||
|
|
31ffb6d33d | ||
|
|
9acd03b5c3 | ||
|
|
cdc4b47ea2 | ||
|
|
f0fce4125e | ||
|
|
6630c6dbb4 | ||
|
|
82c7752cc4 | ||
|
|
d2dd3bf434 | ||
|
|
061dae3790 | ||
|
|
52eeb197b3 | ||
|
|
693570fef1 | ||
|
|
346145f4bd | ||
|
|
d6aff0e5d7 | ||
|
|
79d127b5f1 |
@@ -137,14 +137,12 @@ else
|
||||
ffmpeg_avcodec = meson.get_cross_property('ffmpeg_avcodec')
|
||||
ffmpeg_avformat = meson.get_cross_property('ffmpeg_avformat')
|
||||
ffmpeg_avutil = meson.get_cross_property('ffmpeg_avutil')
|
||||
ffmpeg_swresample = meson.get_cross_property('ffmpeg_swresample')
|
||||
|
||||
ffmpeg = declare_dependency(
|
||||
dependencies: [
|
||||
cc.find_library(ffmpeg_avcodec, dirs: ffmpeg_bin_dir),
|
||||
cc.find_library(ffmpeg_avformat, dirs: ffmpeg_bin_dir),
|
||||
cc.find_library(ffmpeg_avutil, dirs: ffmpeg_bin_dir),
|
||||
cc.find_library(ffmpeg_swresample, dirs: ffmpeg_bin_dir),
|
||||
],
|
||||
include_directories: include_directories(ffmpeg_include_dir)
|
||||
)
|
||||
|
||||
@@ -106,19 +106,11 @@ static bool
|
||||
sc_audio_player_frame_sink_open(struct sc_frame_sink *sink,
|
||||
const AVCodecContext *ctx) {
|
||||
struct sc_audio_player *ap = DOWNCAST(sink);
|
||||
#ifdef SCRCPY_LAVU_HAS_CHLAYOUT
|
||||
assert(ctx->ch_layout.nb_channels > 0);
|
||||
unsigned nb_channels = ctx->ch_layout.nb_channels;
|
||||
#else
|
||||
int tmp = av_get_channel_layout_nb_channels(ctx->channel_layout);
|
||||
assert(tmp > 0);
|
||||
unsigned nb_channels = tmp;
|
||||
#endif
|
||||
|
||||
SDL_AudioSpec desired = {
|
||||
.freq = ctx->sample_rate,
|
||||
.format = SC_SDL_SAMPLE_FMT,
|
||||
.channels = nb_channels,
|
||||
.channels = ctx->ch_layout.nb_channels,
|
||||
.samples = SC_AUDIO_OUTPUT_BUFFER_SAMPLES,
|
||||
.callback = sc_audio_player_sdl_callback,
|
||||
.userdata = ap,
|
||||
@@ -139,25 +131,17 @@ sc_audio_player_frame_sink_open(struct sc_frame_sink *sink,
|
||||
ap->swr_ctx = swr_ctx;
|
||||
|
||||
assert(ctx->sample_rate > 0);
|
||||
assert(ctx->ch_layout.nb_channels > 0);
|
||||
assert(!av_sample_fmt_is_planar(SC_AV_SAMPLE_FMT));
|
||||
|
||||
int out_bytes_per_sample = av_get_bytes_per_sample(SC_AV_SAMPLE_FMT);
|
||||
assert(out_bytes_per_sample > 0);
|
||||
|
||||
#ifdef SCRCPY_LAVU_HAS_CHLAYOUT
|
||||
av_opt_set_chlayout(swr_ctx, "in_chlayout", &ctx->ch_layout, 0);
|
||||
av_opt_set_chlayout(swr_ctx, "out_chlayout", &ctx->ch_layout, 0);
|
||||
#else
|
||||
av_opt_set_channel_layout(swr_ctx, "in_channel_layout",
|
||||
ctx->channel_layout, 0);
|
||||
av_opt_set_channel_layout(swr_ctx, "out_channel_layout",
|
||||
ctx->channel_layout, 0);
|
||||
#endif
|
||||
|
||||
av_opt_set_int(swr_ctx, "in_sample_rate", ctx->sample_rate, 0);
|
||||
av_opt_set_int(swr_ctx, "out_sample_rate", ctx->sample_rate, 0);
|
||||
|
||||
av_opt_set_sample_fmt(swr_ctx, "in_sample_fmt", ctx->sample_fmt, 0);
|
||||
|
||||
av_opt_set_chlayout(swr_ctx, "out_chlayout", &ctx->ch_layout, 0);
|
||||
av_opt_set_int(swr_ctx, "out_sample_rate", ctx->sample_rate, 0);
|
||||
av_opt_set_sample_fmt(swr_ctx, "out_sample_fmt", SC_AV_SAMPLE_FMT, 0);
|
||||
|
||||
int ret = swr_init(swr_ctx);
|
||||
@@ -167,7 +151,7 @@ sc_audio_player_frame_sink_open(struct sc_frame_sink *sink,
|
||||
}
|
||||
|
||||
ap->sample_rate = ctx->sample_rate;
|
||||
ap->nb_channels = nb_channels;
|
||||
ap->nb_channels = ctx->ch_layout.nb_channels;
|
||||
ap->out_bytes_per_sample = out_bytes_per_sample;
|
||||
|
||||
size_t bytebuf_size =
|
||||
|
||||
@@ -37,13 +37,6 @@
|
||||
# define SCRCPY_LAVF_HAS_AVFORMATCONTEXT_URL
|
||||
#endif
|
||||
|
||||
// Not documented in ffmpeg/doc/APIchanges, but the channel_layout API
|
||||
// has been replaced by chlayout in FFmpeg commit
|
||||
// f423497b455da06c1337846902c770028760e094.
|
||||
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(57, 23, 100)
|
||||
# define SCRCPY_LAVU_HAS_CHLAYOUT
|
||||
#endif
|
||||
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 6)
|
||||
// <https://github.com/libsdl-org/SDL/commit/d7a318de563125e5bb465b1000d6bc9576fbc6fc>
|
||||
# define SCRCPY_SDL_HAS_HINT_TOUCH_MOUSE_EVENTS
|
||||
|
||||
@@ -53,13 +53,8 @@ sc_decoder_open(struct sc_decoder *decoder, const AVCodec *codec) {
|
||||
decoder->codec_ctx->pix_fmt = AV_PIX_FMT_YUV420P;
|
||||
} else {
|
||||
// Hardcoded audio properties
|
||||
#ifdef SCRCPY_LAVU_HAS_CHLAYOUT
|
||||
decoder->codec_ctx->ch_layout =
|
||||
(AVChannelLayout) AV_CHANNEL_LAYOUT_STEREO;
|
||||
#else
|
||||
decoder->codec_ctx->channel_layout = AV_CH_LAYOUT_STEREO;
|
||||
decoder->codec_ctx->channels = 2;
|
||||
#endif
|
||||
decoder->codec_ctx->sample_rate = 48000;
|
||||
}
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ decode_image(const char *path) {
|
||||
}
|
||||
|
||||
if (avformat_open_input(&ctx, path, NULL, NULL) < 0) {
|
||||
LOGE("Could not open icon image: %s", path);
|
||||
LOGE("Could not open image codec: %s", path);
|
||||
goto free_ctx;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
#include <stdbool.h>
|
||||
#include <unistd.h>
|
||||
#include <libavformat/avformat.h>
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#include "util/str.h"
|
||||
#endif
|
||||
#ifdef HAVE_V4L2
|
||||
# include <libavdevice/avdevice.h>
|
||||
#endif
|
||||
@@ -15,14 +19,8 @@
|
||||
#include "scrcpy.h"
|
||||
#include "usb/scrcpy_otg.h"
|
||||
#include "util/log.h"
|
||||
#include "util/net.h"
|
||||
#include "version.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#include "util/str.h"
|
||||
#endif
|
||||
|
||||
int
|
||||
main_scrcpy(int argc, char *argv[]) {
|
||||
#ifdef _WIN32
|
||||
@@ -71,7 +69,7 @@ main_scrcpy(int argc, char *argv[]) {
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!net_init()) {
|
||||
if (avformat_network_init()) {
|
||||
return SCRCPY_EXIT_FAILURE;
|
||||
}
|
||||
|
||||
@@ -84,6 +82,8 @@ main_scrcpy(int argc, char *argv[]) {
|
||||
enum scrcpy_exit_code ret = scrcpy(&args.opts);
|
||||
#endif
|
||||
|
||||
avformat_network_deinit(); // ignore failure
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
@@ -216,12 +216,7 @@ sc_recorder_wait_audio_stream(struct sc_recorder *recorder) {
|
||||
|
||||
stream->codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
|
||||
stream->codecpar->codec_id = codec->id;
|
||||
#ifdef SCRCPY_LAVU_HAS_CHLAYOUT
|
||||
stream->codecpar->ch_layout.nb_channels = 2;
|
||||
#else
|
||||
stream->codecpar->channel_layout = AV_CH_LAYOUT_STEREO;
|
||||
stream->codecpar->channels = 2;
|
||||
#endif
|
||||
stream->codecpar->sample_rate = 48000;
|
||||
|
||||
recorder->audio_stream_index = stream->index;
|
||||
|
||||
@@ -333,7 +333,6 @@ static bool
|
||||
sc_screen_frame_sink_open(struct sc_frame_sink *sink,
|
||||
const AVCodecContext *ctx) {
|
||||
assert(ctx->pix_fmt == AV_PIX_FMT_YUV420P);
|
||||
(void) ctx;
|
||||
|
||||
struct sc_screen *screen = DOWNCAST(sink);
|
||||
(void) screen;
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
#include "average.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
void
|
||||
sc_average_init(struct sc_average *avg, unsigned range) {
|
||||
avg->range = range;
|
||||
avg->avg = 0;
|
||||
avg->count = 0;
|
||||
}
|
||||
|
||||
void
|
||||
sc_average_push(struct sc_average *avg, float value) {
|
||||
if (avg->count < avg->range) {
|
||||
++avg->count;
|
||||
}
|
||||
|
||||
assert(avg->count);
|
||||
avg->avg = ((avg->count - 1) * avg->avg + value) / avg->count;
|
||||
}
|
||||
|
||||
bool
|
||||
sc_average_get(struct sc_average *avg, float *value) {
|
||||
*value = avg->avg;
|
||||
return avg->count;
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
#ifndef SC_AVERAGE
|
||||
#define SC_AVERAGE
|
||||
|
||||
#include "common.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
struct sc_average {
|
||||
// Current average value
|
||||
float avg;
|
||||
|
||||
// Target range, to update the average as follow:
|
||||
// avg = ((range - 1) * avg + new_value) / range
|
||||
unsigned range;
|
||||
|
||||
// Number of values pushed when less than range (count <= range).
|
||||
// The purpose is to handle the first (range - 1) values properly.
|
||||
unsigned count;
|
||||
};
|
||||
|
||||
void
|
||||
sc_average_init(struct sc_average *avg, unsigned range);
|
||||
|
||||
/* Push a new value to update the "rolling" average */
|
||||
void
|
||||
sc_average_push(struct sc_average *avg, float value);
|
||||
|
||||
/* Get the current average value (if available)
|
||||
*
|
||||
* An average is available if sc_average_push() has been called at least once.
|
||||
*/
|
||||
bool
|
||||
sc_average_get(struct sc_average *avg, float *value);
|
||||
|
||||
#endif
|
||||
@@ -1,8 +1,6 @@
|
||||
#include "bytebuf.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "util/log.h"
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@ bool
|
||||
net_init(void) {
|
||||
#ifdef _WIN32
|
||||
WSADATA wsa;
|
||||
int res = WSAStartup(MAKEWORD(1, 1), &wsa);
|
||||
if (res) {
|
||||
int res = WSAStartup(MAKEWORD(2, 2), &wsa) < 0;
|
||||
if (res < 0) {
|
||||
LOGE("WSAStartup failed with error %d", res);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -158,7 +158,6 @@ sc_video_buffer_on_new_frame(struct sc_video_buffer *vb, bool previous_skipped,
|
||||
static bool
|
||||
sc_v4l2_sink_open(struct sc_v4l2_sink *vs, const AVCodecContext *ctx) {
|
||||
assert(ctx->pix_fmt == AV_PIX_FMT_YUV420P);
|
||||
(void) ctx;
|
||||
|
||||
static const struct sc_video_buffer_callbacks cbs = {
|
||||
.on_new_frame = sc_video_buffer_on_new_frame,
|
||||
|
||||
@@ -19,7 +19,6 @@ endian = 'little'
|
||||
ffmpeg_avcodec = 'avcodec-58'
|
||||
ffmpeg_avformat = 'avformat-58'
|
||||
ffmpeg_avutil = 'avutil-56'
|
||||
ffmpeg_swresample = 'swresample-3'
|
||||
prebuilt_ffmpeg = 'ffmpeg-win32-4.3.1'
|
||||
prebuilt_sdl2 = 'SDL2-2.26.1/i686-w64-mingw32'
|
||||
prebuilt_libusb_root = 'libusb-1.0.26'
|
||||
|
||||
@@ -19,7 +19,6 @@ endian = 'little'
|
||||
ffmpeg_avcodec = 'avcodec-59'
|
||||
ffmpeg_avformat = 'avformat-59'
|
||||
ffmpeg_avutil = 'avutil-57'
|
||||
ffmpeg_swresample = 'swresample-4'
|
||||
prebuilt_ffmpeg = 'ffmpeg-win64-5.1.2'
|
||||
prebuilt_sdl2 = 'SDL2-2.26.1/x86_64-w64-mingw32'
|
||||
prebuilt_libusb_root = 'libusb-1.0.26'
|
||||
|
||||
BIN
u/.ninja_deps
Normal file
BIN
u/.ninja_deps
Normal file
Binary file not shown.
62
u/.ninja_log
Normal file
62
u/.ninja_log
Normal file
@@ -0,0 +1,62 @@
|
||||
# ninja log v5
|
||||
0 243 1542027815 build.ninja ef03cd8523486e97
|
||||
0 58 1542027815 app/app@@scrcpy@exe/src_str_util.c.o 2aa692e7aa83914
|
||||
0 87 1542027815 app/app@@scrcpy@exe/src_sys_unix_net.c.o 7ea14bd07e90ff97
|
||||
0 91 1542027815 app/app@@scrcpy@exe/src_sys_unix_command.c.o dd44ba15cc3d6a7e
|
||||
1 113 1542027815 app/app@@scrcpy@exe/src_command.c.o 1eaa0f061a5c0447
|
||||
0 114 1542027815 app/app@@scrcpy@exe/src_server.c.o 8b376071b5e0aaf1
|
||||
1 117 1542027815 app/app@@scrcpy@exe/src_controller.c.o 907de440054c77e7
|
||||
1 146 1542027815 app/app@@scrcpy@exe/src_control_event.c.o fcfa5a6c322ebf8b
|
||||
91 202 1542027815 app/app@@scrcpy@exe/src_device.c.o 9ac9441f4f2e4d54
|
||||
58 215 1542027815 app/app@@scrcpy@exe/src_convert.c.o 9de268e9b915094e
|
||||
115 219 1542027815 app/app@@scrcpy@exe/src_fps_counter.c.o 22b968c51acd256b
|
||||
114 235 1542027815 app/app@@scrcpy@exe/src_file_handler.c.o 11e303a26f189d9a
|
||||
117 286 1542027815 app/app@@scrcpy@exe/src_frames.c.o 3c5c4dbee035e5ab
|
||||
88 319 1542027815 app/app@@scrcpy@exe/src_decoder.c.o 60c1438cf7786895
|
||||
202 338 1542027815 app/app@@scrcpy@exe/src_lock_util.c.o 9265bcc92f144427
|
||||
215 367 1542027815 app/app@@scrcpy@exe/src_net.c.o 718f65aa73583163
|
||||
220 408 1542027815 app/app@@scrcpy@exe/src_recorder.c.o 676a7500fb0d45cb
|
||||
1 470 1542027815 app/app@@scrcpy@exe/src_tiny_xpm.c.o 91851ad29940a4b1
|
||||
286 485 1542027815 app/app@@test_control_event_queue@exe/tests_test_control_event_queue.c.o 46bff52a98c0b5ca
|
||||
319 487 1542027815 app/app@@test_control_event_queue@exe/src_control_event.c.o 76492af89a914173
|
||||
1 488 1542027815 app/app@@scrcpy@exe/src_main.c.o e7dc8583797471c5
|
||||
367 488 1542027815 app/app@@test_control_event_serialize@exe/src_control_event.c.o fcff2e1105474edf
|
||||
0 497 1542027815 app/app@@scrcpy@exe/src_screen.c.o 329c18ec2111c8ff
|
||||
408 515 1542027815 app/app@@test_strutil@exe/tests_test_strutil.c.o 15440f4bca20c50d
|
||||
338 517 1542027815 app/app@@test_control_event_serialize@exe/tests_test_control_event_serialize.c.o baa0b48891372fcc
|
||||
470 525 1542027815 app/app@@test_strutil@exe/src_str_util.c.o fcb3a91d36e23e11
|
||||
525 561 1542027815 app/test_strutil 3448478dadf99adf
|
||||
487 582 1542027815 app/test_control_event_queue bfca00bc894d3c4f
|
||||
517 606 1542027815 app/test_control_event_serialize e06ab4ce04dd4fad
|
||||
147 638 1542027815 app/app@@scrcpy@exe/src_input_manager.c.o 1fe285b256bf5908
|
||||
236 713 1542027815 app/app@@scrcpy@exe/src_scrcpy.c.o 8b0bae90b272da98
|
||||
713 891 1542027816 app/scrcpy 8fba96817bb2802c
|
||||
485 5716 1542027820 server/scrcpy-server.jar 8511d30842df298f
|
||||
0 264 1542027826 build.ninja ef03cd8523486e97
|
||||
1 31 1542027826 app/app@@scrcpy@exe/src_fps_counter.c.o 22b968c51acd256b
|
||||
1 44 1542027826 app/app@@scrcpy@exe/src_file_handler.c.o 11e303a26f189d9a
|
||||
1 47 1542027826 app/app@@scrcpy@exe/src_controller.c.o 907de440054c77e7
|
||||
2 50 1542027826 app/app@@scrcpy@exe/src_frames.c.o 3c5c4dbee035e5ab
|
||||
2 50 1542027826 app/app@@scrcpy@exe/src_recorder.c.o 676a7500fb0d45cb
|
||||
1 65 1542027826 app/app@@scrcpy@exe/src_decoder.c.o 60c1438cf7786895
|
||||
31 82 1542027826 app/app@@scrcpy@exe/src_server.c.o 8b376071b5e0aaf1
|
||||
2 108 1542027826 app/app@@scrcpy@exe/src_input_manager.c.o 1fe285b256bf5908
|
||||
2 129 1542027826 app/app@@scrcpy@exe/src_screen.c.o 329c18ec2111c8ff
|
||||
2 162 1542027826 app/app@@scrcpy@exe/src_scrcpy.c.o 8b0bae90b272da98
|
||||
1 339 1542027826 app/app@@scrcpy@exe/src_main.c.o e7dc8583797471c5
|
||||
339 538 1542027827 app/scrcpy 8fba96817bb2802c
|
||||
44 753 1542027827 server/scrcpy-server.jar 8511d30842df298f
|
||||
0 276 1542027871 build.ninja ef03cd8523486e97
|
||||
1 37 1542027872 app/app@@scrcpy@exe/src_file_handler.c.o 11e303a26f189d9a
|
||||
1 42 1542027872 app/app@@scrcpy@exe/src_controller.c.o 907de440054c77e7
|
||||
1 45 1542027872 app/app@@scrcpy@exe/src_fps_counter.c.o 22b968c51acd256b
|
||||
2 49 1542027872 app/app@@scrcpy@exe/src_recorder.c.o 676a7500fb0d45cb
|
||||
1 52 1542027872 app/app@@scrcpy@exe/src_frames.c.o 3c5c4dbee035e5ab
|
||||
0 64 1542027872 app/app@@scrcpy@exe/src_decoder.c.o 60c1438cf7786895
|
||||
37 80 1542027872 app/app@@scrcpy@exe/src_server.c.o 8b376071b5e0aaf1
|
||||
1 128 1542027872 app/app@@scrcpy@exe/src_input_manager.c.o 1fe285b256bf5908
|
||||
2 138 1542027872 app/app@@scrcpy@exe/src_screen.c.o 329c18ec2111c8ff
|
||||
2 150 1542027872 app/app@@scrcpy@exe/src_scrcpy.c.o 8b0bae90b272da98
|
||||
1 370 1542027872 app/app@@scrcpy@exe/src_main.c.o e7dc8583797471c5
|
||||
370 578 1542027872 app/scrcpy 8fba96817bb2802c
|
||||
42 688 1542027872 server/scrcpy-server.jar 8511d30842df298f
|
||||
BIN
u/app/app@@scrcpy@exe/src_command.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_command.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_control_event.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_control_event.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_controller.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_controller.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_convert.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_convert.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_decoder.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_decoder.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_device.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_device.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_file_handler.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_file_handler.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_fps_counter.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_fps_counter.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_frames.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_frames.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_input_manager.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_input_manager.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_lock_util.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_lock_util.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_main.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_main.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_net.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_net.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_recorder.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_recorder.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_scrcpy.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_scrcpy.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_screen.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_screen.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_server.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_server.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_str_util.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_str_util.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_sys_unix_command.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_sys_unix_command.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_sys_unix_net.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_sys_unix_net.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@scrcpy@exe/src_tiny_xpm.c.o
Normal file
BIN
u/app/app@@scrcpy@exe/src_tiny_xpm.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@test_control_event_queue@exe/src_control_event.c.o
Normal file
BIN
u/app/app@@test_control_event_queue@exe/src_control_event.c.o
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
u/app/app@@test_strutil@exe/src_str_util.c.o
Normal file
BIN
u/app/app@@test_strutil@exe/src_str_util.c.o
Normal file
Binary file not shown.
BIN
u/app/app@@test_strutil@exe/tests_test_strutil.c.o
Normal file
BIN
u/app/app@@test_strutil@exe/tests_test_strutil.c.o
Normal file
Binary file not shown.
29
u/app/config.h
Normal file
29
u/app/config.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Autogenerated by the Meson build system.
|
||||
* Do not edit, your changes will be lost.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define BUILD_DEBUG
|
||||
|
||||
#define DEFAULT_BIT_RATE 8000000
|
||||
|
||||
#define DEFAULT_LOCAL_PORT 27183
|
||||
|
||||
#define DEFAULT_MAX_SIZE 0
|
||||
|
||||
#define HIDPI_SUPPORT
|
||||
|
||||
#undef OVERRIDE_SERVER_PATH
|
||||
|
||||
#define PREFIX "/usr/local"
|
||||
|
||||
#define PREFIXED_SERVER_PATH "/share/scrcpy/scrcpy-server.jar"
|
||||
|
||||
#define SCRCPY_VERSION "1.6"
|
||||
|
||||
#define SKIP_FRAMES
|
||||
|
||||
#undef WINDOWS_NOCONSOLE
|
||||
|
||||
BIN
u/app/scrcpy
Executable file
BIN
u/app/scrcpy
Executable file
Binary file not shown.
BIN
u/app/test_control_event_queue
Executable file
BIN
u/app/test_control_event_queue
Executable file
Binary file not shown.
BIN
u/app/test_control_event_serialize
Executable file
BIN
u/app/test_control_event_serialize
Executable file
Binary file not shown.
BIN
u/app/test_strutil
Executable file
BIN
u/app/test_strutil
Executable file
Binary file not shown.
263
u/build.ninja
Normal file
263
u/build.ninja
Normal file
@@ -0,0 +1,263 @@
|
||||
# This is the build file for project "scrcpy"
|
||||
# It is autogenerated by the Meson build system.
|
||||
# Do not edit by hand.
|
||||
|
||||
ninja_required_version = 1.5.1
|
||||
|
||||
# Rules for compiling.
|
||||
|
||||
rule c_COMPILER
|
||||
command = ccache cc $ARGS -MD -MQ $out -MF '$DEPFILE' -o $out -c $in
|
||||
deps = gcc
|
||||
depfile = $DEPFILE
|
||||
description = Compiling C object $out.
|
||||
|
||||
rule c_PCH
|
||||
command = ccache cc $ARGS -MD -MQ $out -MF '$DEPFILE' -o $out -c $in
|
||||
deps = gcc
|
||||
depfile = $DEPFILE
|
||||
description = Precompiling header $in.
|
||||
|
||||
|
||||
# Rules for linking.
|
||||
|
||||
rule STATIC_LINKER
|
||||
command = rm -f $out && gcc-ar $LINK_ARGS $out $in
|
||||
description = Linking static target $out.
|
||||
|
||||
rule c_LINKER
|
||||
command = ccache cc $ARGS -o $out $in $LINK_ARGS $aliasing
|
||||
description = Linking target $out.
|
||||
|
||||
|
||||
rule SHSYM
|
||||
command = /usr/bin/meson --internal symbolextractor $in $out $CROSS
|
||||
restat = 1
|
||||
description = Generating symbol file $out.
|
||||
|
||||
# Other rules
|
||||
|
||||
rule CUSTOM_COMMAND
|
||||
command = $COMMAND
|
||||
description = $DESC
|
||||
restat = 1
|
||||
|
||||
rule CUSTOM_COMMAND_DEP
|
||||
command = $COMMAND
|
||||
description = $DESC
|
||||
deps = gcc
|
||||
depfile = $DEPFILE
|
||||
restat = 1
|
||||
|
||||
rule REGENERATE_BUILD
|
||||
command = /usr/bin/meson --internal regenerate /home/rom/projects/scrcpy /home/rom/projects/scrcpy/u --backend ninja
|
||||
description = Regenerating build files.
|
||||
generator = 1
|
||||
|
||||
|
||||
# Phony build target, always out of date
|
||||
build PHONY: phony
|
||||
|
||||
# Build rules for targets
|
||||
|
||||
build app/app@@scrcpy@exe/src_main.c.o: c_COMPILER ../app/src/main.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_main.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_command.c.o: c_COMPILER ../app/src/command.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_command.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_control_event.c.o: c_COMPILER ../app/src/control_event.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_control_event.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_controller.c.o: c_COMPILER ../app/src/controller.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_controller.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_convert.c.o: c_COMPILER ../app/src/convert.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_convert.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_decoder.c.o: c_COMPILER ../app/src/decoder.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_decoder.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_device.c.o: c_COMPILER ../app/src/device.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_device.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_file_handler.c.o: c_COMPILER ../app/src/file_handler.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_file_handler.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_fps_counter.c.o: c_COMPILER ../app/src/fps_counter.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_fps_counter.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_frames.c.o: c_COMPILER ../app/src/frames.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_frames.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_input_manager.c.o: c_COMPILER ../app/src/input_manager.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_input_manager.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_lock_util.c.o: c_COMPILER ../app/src/lock_util.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_lock_util.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_net.c.o: c_COMPILER ../app/src/net.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_net.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_recorder.c.o: c_COMPILER ../app/src/recorder.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_recorder.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_scrcpy.c.o: c_COMPILER ../app/src/scrcpy.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_scrcpy.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_screen.c.o: c_COMPILER ../app/src/screen.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_screen.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_server.c.o: c_COMPILER ../app/src/server.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_server.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_str_util.c.o: c_COMPILER ../app/src/str_util.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_str_util.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_tiny_xpm.c.o: c_COMPILER ../app/src/tiny_xpm.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_tiny_xpm.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_sys_unix_command.c.o: c_COMPILER ../app/src/sys/unix/command.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_sys_unix_command.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@scrcpy@exe/src_sys_unix_net.c.o: c_COMPILER ../app/src/sys/unix/net.c
|
||||
DEPFILE = app/app@@scrcpy@exe/src_sys_unix_net.c.o.d
|
||||
ARGS = -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/scrcpy: c_LINKER app/app@@scrcpy@exe/src_main.c.o app/app@@scrcpy@exe/src_command.c.o app/app@@scrcpy@exe/src_control_event.c.o app/app@@scrcpy@exe/src_controller.c.o app/app@@scrcpy@exe/src_convert.c.o app/app@@scrcpy@exe/src_decoder.c.o app/app@@scrcpy@exe/src_device.c.o app/app@@scrcpy@exe/src_file_handler.c.o app/app@@scrcpy@exe/src_fps_counter.c.o app/app@@scrcpy@exe/src_frames.c.o app/app@@scrcpy@exe/src_input_manager.c.o app/app@@scrcpy@exe/src_lock_util.c.o app/app@@scrcpy@exe/src_net.c.o app/app@@scrcpy@exe/src_recorder.c.o app/app@@scrcpy@exe/src_scrcpy.c.o app/app@@scrcpy@exe/src_screen.c.o app/app@@scrcpy@exe/src_server.c.o app/app@@scrcpy@exe/src_str_util.c.o app/app@@scrcpy@exe/src_tiny_xpm.c.o app/app@@scrcpy@exe/src_sys_unix_command.c.o app/app@@scrcpy@exe/src_sys_unix_net.c.o | /usr/lib/x86_64-linux-gnu/libavformat.so /usr/lib/x86_64-linux-gnu/libavcodec.so /usr/lib/x86_64-linux-gnu/libavutil.so /usr/lib/x86_64-linux-gnu/libSDL2.so
|
||||
LINK_ARGS = -Wl,--no-undefined -Wl,--as-needed -Wl,--start-group /usr/lib/x86_64-linux-gnu/libavformat.so /usr/lib/x86_64-linux-gnu/libavcodec.so /usr/lib/x86_64-linux-gnu/libavutil.so /usr/lib/x86_64-linux-gnu/libSDL2.so -Wl,--end-group
|
||||
|
||||
build app/app@@test_control_event_queue@exe/tests_test_control_event_queue.c.o: c_COMPILER ../app/tests/test_control_event_queue.c
|
||||
DEPFILE = app/app@@test_control_event_queue@exe/tests_test_control_event_queue.c.o.d
|
||||
ARGS = -Iapp/app@@test_control_event_queue@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@test_control_event_queue@exe/src_control_event.c.o: c_COMPILER ../app/src/control_event.c
|
||||
DEPFILE = app/app@@test_control_event_queue@exe/src_control_event.c.o.d
|
||||
ARGS = -Iapp/app@@test_control_event_queue@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/test_control_event_queue: c_LINKER app/app@@test_control_event_queue@exe/tests_test_control_event_queue.c.o app/app@@test_control_event_queue@exe/src_control_event.c.o | /usr/lib/x86_64-linux-gnu/libavformat.so /usr/lib/x86_64-linux-gnu/libavcodec.so /usr/lib/x86_64-linux-gnu/libavutil.so /usr/lib/x86_64-linux-gnu/libSDL2.so
|
||||
LINK_ARGS = -Wl,--no-undefined -Wl,--as-needed -Wl,--start-group /usr/lib/x86_64-linux-gnu/libavformat.so /usr/lib/x86_64-linux-gnu/libavcodec.so /usr/lib/x86_64-linux-gnu/libavutil.so /usr/lib/x86_64-linux-gnu/libSDL2.so -Wl,--end-group
|
||||
|
||||
build app/app@@test_control_event_serialize@exe/tests_test_control_event_serialize.c.o: c_COMPILER ../app/tests/test_control_event_serialize.c
|
||||
DEPFILE = app/app@@test_control_event_serialize@exe/tests_test_control_event_serialize.c.o.d
|
||||
ARGS = -Iapp/app@@test_control_event_serialize@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@test_control_event_serialize@exe/src_control_event.c.o: c_COMPILER ../app/src/control_event.c
|
||||
DEPFILE = app/app@@test_control_event_serialize@exe/src_control_event.c.o.d
|
||||
ARGS = -Iapp/app@@test_control_event_serialize@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/test_control_event_serialize: c_LINKER app/app@@test_control_event_serialize@exe/tests_test_control_event_serialize.c.o app/app@@test_control_event_serialize@exe/src_control_event.c.o | /usr/lib/x86_64-linux-gnu/libavformat.so /usr/lib/x86_64-linux-gnu/libavcodec.so /usr/lib/x86_64-linux-gnu/libavutil.so /usr/lib/x86_64-linux-gnu/libSDL2.so
|
||||
LINK_ARGS = -Wl,--no-undefined -Wl,--as-needed -Wl,--start-group /usr/lib/x86_64-linux-gnu/libavformat.so /usr/lib/x86_64-linux-gnu/libavcodec.so /usr/lib/x86_64-linux-gnu/libavutil.so /usr/lib/x86_64-linux-gnu/libSDL2.so -Wl,--end-group
|
||||
|
||||
build app/app@@test_strutil@exe/tests_test_strutil.c.o: c_COMPILER ../app/tests/test_strutil.c
|
||||
DEPFILE = app/app@@test_strutil@exe/tests_test_strutil.c.o.d
|
||||
ARGS = -Iapp/app@@test_strutil@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/app@@test_strutil@exe/src_str_util.c.o: c_COMPILER ../app/src/str_util.c
|
||||
DEPFILE = app/app@@test_strutil@exe/src_str_util.c.o.d
|
||||
ARGS = -Iapp/app@@test_strutil@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT
|
||||
|
||||
build app/test_strutil: c_LINKER app/app@@test_strutil@exe/tests_test_strutil.c.o app/app@@test_strutil@exe/src_str_util.c.o | /usr/lib/x86_64-linux-gnu/libavformat.so /usr/lib/x86_64-linux-gnu/libavcodec.so /usr/lib/x86_64-linux-gnu/libavutil.so /usr/lib/x86_64-linux-gnu/libSDL2.so
|
||||
LINK_ARGS = -Wl,--no-undefined -Wl,--as-needed -Wl,--start-group /usr/lib/x86_64-linux-gnu/libavformat.so /usr/lib/x86_64-linux-gnu/libavcodec.so /usr/lib/x86_64-linux-gnu/libavutil.so /usr/lib/x86_64-linux-gnu/libSDL2.so -Wl,--end-group
|
||||
|
||||
build server/scrcpy-server.jar: CUSTOM_COMMAND ../server/. | /home/rom/projects/scrcpy/server/./scripts/build-wrapper.sh PHONY
|
||||
COMMAND = /home/rom/projects/scrcpy/server/./scripts/build-wrapper.sh ../server/. server/scrcpy-server.jar debug
|
||||
description = Generating$ scrcpy-server$ with$ a$ custom$ command.
|
||||
|
||||
build meson-run: CUSTOM_COMMAND
|
||||
COMMAND = /usr/bin/meson --internal commandrunner /home/rom/projects/scrcpy /home/rom/projects/scrcpy/u '' /usr/bin/meson scripts/run-scrcpy.sh
|
||||
description = Running$ external$ command$ run.
|
||||
pool = console
|
||||
|
||||
build run: phony meson-run
|
||||
|
||||
# Test rules
|
||||
|
||||
build meson-test: CUSTOM_COMMAND all PHONY
|
||||
COMMAND = /usr/bin/meson test --no-rebuild --print-errorlogs
|
||||
DESC = Running$ all$ tests.
|
||||
pool = console
|
||||
|
||||
build test: phony meson-test
|
||||
|
||||
build meson-benchmark: CUSTOM_COMMAND all PHONY
|
||||
COMMAND = /usr/bin/meson test --benchmark --logbase benchmarklog --num-processes=1 --no-rebuild
|
||||
DESC = Running$ benchmark$ suite.
|
||||
pool = console
|
||||
|
||||
build benchmark: phony meson-benchmark
|
||||
|
||||
# Install rules
|
||||
|
||||
build meson-install: CUSTOM_COMMAND PHONY | all
|
||||
DESC = Installing$ files.
|
||||
COMMAND = /usr/bin/meson install --no-rebuild
|
||||
pool = console
|
||||
|
||||
build install: phony meson-install
|
||||
|
||||
build meson-dist: CUSTOM_COMMAND PHONY
|
||||
DESC = Creating$ source$ packages
|
||||
COMMAND = /usr/bin/meson --internal dist /home/rom/projects/scrcpy /home/rom/projects/scrcpy/u /usr/bin/meson
|
||||
pool = console
|
||||
|
||||
build dist: phony meson-dist
|
||||
|
||||
# Suffix
|
||||
|
||||
build meson-scan-build: CUSTOM_COMMAND PHONY
|
||||
COMMAND = /usr/bin/meson --internal scanbuild /home/rom/projects/scrcpy /home/rom/projects/scrcpy/u /usr/bin/meson -Dbuild_app=true -Dbuild_server=true -Dcrossbuild_windows=false -Dhidpi_support=true -Doverride_server_path= -Dprebuilt_server= -Dskip_frames=true -Dwindows_noconsole=false
|
||||
pool = console
|
||||
|
||||
build scan-build: phony meson-scan-build
|
||||
|
||||
build meson-uninstall: CUSTOM_COMMAND PHONY
|
||||
COMMAND = /usr/bin/meson --internal uninstall
|
||||
pool = console
|
||||
|
||||
build uninstall: phony meson-uninstall
|
||||
|
||||
build all: phony app/scrcpy app/test_control_event_queue app/test_control_event_serialize app/test_strutil server/scrcpy-server.jar
|
||||
|
||||
default all
|
||||
|
||||
build clean: phony meson-clean
|
||||
|
||||
build meson-clean-ctlist: CUSTOM_COMMAND PHONY
|
||||
COMMAND = /usr/bin/meson --internal cleantrees /home/rom/projects/scrcpy/u/meson-private/cleantrees.dat
|
||||
description = Cleaning$ custom$ target$ directories.
|
||||
|
||||
build clean-ctlist: phony meson-clean-ctlist
|
||||
|
||||
build meson-clean: CUSTOM_COMMAND PHONY | clean-ctlist
|
||||
COMMAND = ninja -t clean
|
||||
description = Cleaning.
|
||||
|
||||
build build.ninja: REGENERATE_BUILD ../meson.build ../app/meson.build ../server/meson.build meson-private/coredata.dat ../meson_options.txt
|
||||
pool = console
|
||||
|
||||
build reconfigure: REGENERATE_BUILD PHONY
|
||||
pool = console
|
||||
|
||||
build ../meson.build ../app/meson.build ../server/meson.build meson-private/coredata.dat ../meson_options.txt: phony
|
||||
|
||||
137
u/compile_commands.json
Normal file
137
u/compile_commands.json
Normal file
@@ -0,0 +1,137 @@
|
||||
[
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_main.c.o' -MF 'app/app@@scrcpy@exe/src_main.c.o.d' -o 'app/app@@scrcpy@exe/src_main.c.o' -c ../app/src/main.c",
|
||||
"file": "../app/src/main.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_command.c.o' -MF 'app/app@@scrcpy@exe/src_command.c.o.d' -o 'app/app@@scrcpy@exe/src_command.c.o' -c ../app/src/command.c",
|
||||
"file": "../app/src/command.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_control_event.c.o' -MF 'app/app@@scrcpy@exe/src_control_event.c.o.d' -o 'app/app@@scrcpy@exe/src_control_event.c.o' -c ../app/src/control_event.c",
|
||||
"file": "../app/src/control_event.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_controller.c.o' -MF 'app/app@@scrcpy@exe/src_controller.c.o.d' -o 'app/app@@scrcpy@exe/src_controller.c.o' -c ../app/src/controller.c",
|
||||
"file": "../app/src/controller.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_convert.c.o' -MF 'app/app@@scrcpy@exe/src_convert.c.o.d' -o 'app/app@@scrcpy@exe/src_convert.c.o' -c ../app/src/convert.c",
|
||||
"file": "../app/src/convert.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_decoder.c.o' -MF 'app/app@@scrcpy@exe/src_decoder.c.o.d' -o 'app/app@@scrcpy@exe/src_decoder.c.o' -c ../app/src/decoder.c",
|
||||
"file": "../app/src/decoder.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_device.c.o' -MF 'app/app@@scrcpy@exe/src_device.c.o.d' -o 'app/app@@scrcpy@exe/src_device.c.o' -c ../app/src/device.c",
|
||||
"file": "../app/src/device.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_file_handler.c.o' -MF 'app/app@@scrcpy@exe/src_file_handler.c.o.d' -o 'app/app@@scrcpy@exe/src_file_handler.c.o' -c ../app/src/file_handler.c",
|
||||
"file": "../app/src/file_handler.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_fps_counter.c.o' -MF 'app/app@@scrcpy@exe/src_fps_counter.c.o.d' -o 'app/app@@scrcpy@exe/src_fps_counter.c.o' -c ../app/src/fps_counter.c",
|
||||
"file": "../app/src/fps_counter.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_frames.c.o' -MF 'app/app@@scrcpy@exe/src_frames.c.o.d' -o 'app/app@@scrcpy@exe/src_frames.c.o' -c ../app/src/frames.c",
|
||||
"file": "../app/src/frames.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_input_manager.c.o' -MF 'app/app@@scrcpy@exe/src_input_manager.c.o.d' -o 'app/app@@scrcpy@exe/src_input_manager.c.o' -c ../app/src/input_manager.c",
|
||||
"file": "../app/src/input_manager.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_lock_util.c.o' -MF 'app/app@@scrcpy@exe/src_lock_util.c.o.d' -o 'app/app@@scrcpy@exe/src_lock_util.c.o' -c ../app/src/lock_util.c",
|
||||
"file": "../app/src/lock_util.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_net.c.o' -MF 'app/app@@scrcpy@exe/src_net.c.o.d' -o 'app/app@@scrcpy@exe/src_net.c.o' -c ../app/src/net.c",
|
||||
"file": "../app/src/net.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_recorder.c.o' -MF 'app/app@@scrcpy@exe/src_recorder.c.o.d' -o 'app/app@@scrcpy@exe/src_recorder.c.o' -c ../app/src/recorder.c",
|
||||
"file": "../app/src/recorder.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_scrcpy.c.o' -MF 'app/app@@scrcpy@exe/src_scrcpy.c.o.d' -o 'app/app@@scrcpy@exe/src_scrcpy.c.o' -c ../app/src/scrcpy.c",
|
||||
"file": "../app/src/scrcpy.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_screen.c.o' -MF 'app/app@@scrcpy@exe/src_screen.c.o.d' -o 'app/app@@scrcpy@exe/src_screen.c.o' -c ../app/src/screen.c",
|
||||
"file": "../app/src/screen.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_server.c.o' -MF 'app/app@@scrcpy@exe/src_server.c.o.d' -o 'app/app@@scrcpy@exe/src_server.c.o' -c ../app/src/server.c",
|
||||
"file": "../app/src/server.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_str_util.c.o' -MF 'app/app@@scrcpy@exe/src_str_util.c.o.d' -o 'app/app@@scrcpy@exe/src_str_util.c.o' -c ../app/src/str_util.c",
|
||||
"file": "../app/src/str_util.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_tiny_xpm.c.o' -MF 'app/app@@scrcpy@exe/src_tiny_xpm.c.o.d' -o 'app/app@@scrcpy@exe/src_tiny_xpm.c.o' -c ../app/src/tiny_xpm.c",
|
||||
"file": "../app/src/tiny_xpm.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_sys_unix_command.c.o' -MF 'app/app@@scrcpy@exe/src_sys_unix_command.c.o.d' -o 'app/app@@scrcpy@exe/src_sys_unix_command.c.o' -c ../app/src/sys/unix/command.c",
|
||||
"file": "../app/src/sys/unix/command.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@scrcpy@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@scrcpy@exe/src_sys_unix_net.c.o' -MF 'app/app@@scrcpy@exe/src_sys_unix_net.c.o.d' -o 'app/app@@scrcpy@exe/src_sys_unix_net.c.o' -c ../app/src/sys/unix/net.c",
|
||||
"file": "../app/src/sys/unix/net.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@test_control_event_queue@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@test_control_event_queue@exe/tests_test_control_event_queue.c.o' -MF 'app/app@@test_control_event_queue@exe/tests_test_control_event_queue.c.o.d' -o 'app/app@@test_control_event_queue@exe/tests_test_control_event_queue.c.o' -c ../app/tests/test_control_event_queue.c",
|
||||
"file": "../app/tests/test_control_event_queue.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@test_control_event_queue@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@test_control_event_queue@exe/src_control_event.c.o' -MF 'app/app@@test_control_event_queue@exe/src_control_event.c.o.d' -o 'app/app@@test_control_event_queue@exe/src_control_event.c.o' -c ../app/src/control_event.c",
|
||||
"file": "../app/src/control_event.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@test_control_event_serialize@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@test_control_event_serialize@exe/tests_test_control_event_serialize.c.o' -MF 'app/app@@test_control_event_serialize@exe/tests_test_control_event_serialize.c.o.d' -o 'app/app@@test_control_event_serialize@exe/tests_test_control_event_serialize.c.o' -c ../app/tests/test_control_event_serialize.c",
|
||||
"file": "../app/tests/test_control_event_serialize.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@test_control_event_serialize@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@test_control_event_serialize@exe/src_control_event.c.o' -MF 'app/app@@test_control_event_serialize@exe/src_control_event.c.o.d' -o 'app/app@@test_control_event_serialize@exe/src_control_event.c.o' -c ../app/src/control_event.c",
|
||||
"file": "../app/src/control_event.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@test_strutil@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@test_strutil@exe/tests_test_strutil.c.o' -MF 'app/app@@test_strutil@exe/tests_test_strutil.c.o.d' -o 'app/app@@test_strutil@exe/tests_test_strutil.c.o' -c ../app/tests/test_strutil.c",
|
||||
"file": "../app/tests/test_strutil.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/rom/projects/scrcpy/u",
|
||||
"command": "ccache cc -Iapp/app@@test_strutil@exe -Iapp -I../app -I../app/src -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -D_REENTRANT -MD -MQ 'app/app@@test_strutil@exe/src_str_util.c.o' -MF 'app/app@@test_strutil@exe/src_str_util.c.o.d' -o 'app/app@@test_strutil@exe/src_str_util.c.o' -c ../app/src/str_util.c",
|
||||
"file": "../app/src/str_util.c"
|
||||
}
|
||||
]
|
||||
38
u/meson-logs/meson-log.txt
Normal file
38
u/meson-logs/meson-log.txt
Normal file
@@ -0,0 +1,38 @@
|
||||
Build started at 2018-11-12T14:04:31.900569
|
||||
Main binary: /usr/bin/python3
|
||||
Python system: Linux
|
||||
The Meson build system
|
||||
Version: 0.48.1
|
||||
Source dir: /home/rom/projects/scrcpy
|
||||
Build dir: /home/rom/projects/scrcpy/u
|
||||
Build type: native build
|
||||
Project name: scrcpy
|
||||
Project version: 1.6
|
||||
Native C compiler: ccache cc (gcc 8.2.0 "cc (Debian 8.2.0-9) 8.2.0")
|
||||
Build machine cpu family: x86_64
|
||||
Build machine cpu: x86_64
|
||||
Dependency libavformat found: YES (cached)
|
||||
Dependency libavcodec found: YES (cached)
|
||||
Dependency libavutil found: YES (cached)
|
||||
Dependency sdl2 found: YES (cached)
|
||||
Configuring config.h using configuration
|
||||
Adding test "test_control_event_queue"
|
||||
Adding test "test_control_event_serialize"
|
||||
Adding test "test_strutil"
|
||||
Program ./scripts/build-wrapper.sh found: YES (/home/rom/projects/scrcpy/server/./scripts/build-wrapper.sh)
|
||||
DEPRECATION: build_always is deprecated. Combine build_by_default and build_always_stale instead.
|
||||
Build targets in project: 6
|
||||
Found ninja-1.8.2 at /usr/bin/ninja
|
||||
Running compile:
|
||||
Working directory: /tmp/tmpk1bh9k5g
|
||||
Command line: ccache cc /tmp/tmpk1bh9k5g/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpk1bh9k5g/output.obj -O0 --print-search-dirs
|
||||
|
||||
Code:
|
||||
|
||||
Compiler stdout:
|
||||
install: /usr/lib/gcc/x86_64-linux-gnu/8/
|
||||
programs: =/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/bin/
|
||||
libraries: =/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/:/lib/x86_64-linux-gnu/8/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/8/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/:/usr/lib/
|
||||
|
||||
Compiler stderr:
|
||||
|
||||
BIN
u/meson-private/build.dat
Normal file
BIN
u/meson-private/build.dat
Normal file
Binary file not shown.
BIN
u/meson-private/cleantrees.dat
Normal file
BIN
u/meson-private/cleantrees.dat
Normal file
Binary file not shown.
BIN
u/meson-private/coredata.dat
Normal file
BIN
u/meson-private/coredata.dat
Normal file
Binary file not shown.
BIN
u/meson-private/coredata.dat.prev
Normal file
BIN
u/meson-private/coredata.dat.prev
Normal file
Binary file not shown.
BIN
u/meson-private/install.dat
Normal file
BIN
u/meson-private/install.dat
Normal file
Binary file not shown.
0
u/meson-private/meson.lock
Normal file
0
u/meson-private/meson.lock
Normal file
BIN
u/meson-private/meson_benchmark_setup.dat
Normal file
BIN
u/meson-private/meson_benchmark_setup.dat
Normal file
Binary file not shown.
BIN
u/meson-private/meson_test_setup.dat
Normal file
BIN
u/meson-private/meson_test_setup.dat
Normal file
Binary file not shown.
1
u/meson-private/sanitycheckc.c
Normal file
1
u/meson-private/sanitycheckc.c
Normal file
@@ -0,0 +1 @@
|
||||
int main(int argc, char **argv) { int class=0; return class; }
|
||||
BIN
u/meson-private/sanitycheckc.exe
Executable file
BIN
u/meson-private/sanitycheckc.exe
Executable file
Binary file not shown.
BIN
u/server/scrcpy-server.jar
Normal file
BIN
u/server/scrcpy-server.jar
Normal file
Binary file not shown.
Reference in New Issue
Block a user