From c4378784ae2caec57634f9f04bcb3dcddc673f36 Mon Sep 17 00:00:00 2001 From: Rick Lei Date: Wed, 14 Jan 2015 22:11:43 +0800 Subject: Add Android 4.1+ support. See doc/README-Android.md for build HOWTO. * Update CMake files to work with android-cmake * Use unix domain socket for communicating with Android GUI * May also run standalone but requires rooted Android device --- src/options.def.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/options.def.h') diff --git a/src/options.def.h b/src/options.def.h index 9ea0476..6d0efca 100644 --- a/src/options.def.h +++ b/src/options.def.h @@ -38,6 +38,11 @@ OPTION(option_forward, "--forward", "Enables forwarding of packets between peers SEPARATOR; #endif +#ifdef __ANDROID__ +OPTION(option_android_integration, "--android-integration", "Enable integration with Android GUI"); +SEPARATOR; +#endif + #ifdef WITH_CMDLINE_COMMANDS OPTION_ARG(option_on_pre_up, "--on-pre-up", "", "Sets a shell command to execute before interface creation"); OPTION_ARG(option_on_up, "--on-up", "", "Sets a shell command to execute after interface creation"); -- cgit v1.2.3