scrcpy/server
Romain Vimont 4c49b27e9f Always invoke gradle except as root
The custom target used to invoke Gradle from Meson should always
be built, otherwise, the server would not be rebuilt on source changes.

However, when enabling "build_always", gradle is invoked as root on
"sudo ninja install" after "ninja", so it downloads the whole Gradle
world into /root/.gradle.

To avoid the problem, just do not call gradle if the effective user id
is 0.
2018-02-14 14:03:56 +01:00
..
scripts Always invoke gradle except as root 2018-02-14 14:03:56 +01:00
src Enable debug logs only for debug builds on server 2018-02-12 17:19:52 +01:00
.gitignore Convert server to an Android project 2018-01-30 12:01:36 +01:00
build.gradle Apply Genymobile rules for Android projects 2018-02-07 20:58:18 +01:00
meson.build Always invoke gradle except as root 2018-02-14 14:03:56 +01:00
proguard-rules.pro Convert server to an Android project 2018-01-30 12:01:36 +01:00