OSDN Git Service

android: build modetest as cc_binary module q-x86
authorMauro Rossi <issor.oruam@gmail.com>
Thu, 19 Nov 2020 09:16:10 +0000 (10:16 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 25 Nov 2020 16:11:18 +0000 (00:11 +0800)
[Why]
cc_test does not allow to correctly install the executable

[How]
cc_binary module is used instead of cc_test

tests/modetest/Android.bp

index ca811fe..02688da 100644 (file)
@@ -1,6 +1,6 @@
 build = ["Android.sources.bp"]
 
-cc_test {
+cc_binary {
     name: "modetest",
     defaults: [
         "libdrm_defaults",