From 0520afdade272019961d4705302e6c37b20806b8 Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Thu, 12 Oct 2017 00:16:10 -0700 Subject: Make bit able to build native tests. It still can't run them. That's a lot of work. Test: bit statsd_test Change-Id: I8eb7e341956e698b4e5d110924f78f0485e02f67 --- tools/bit/make.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/bit/make.cpp') diff --git a/tools/bit/make.cpp b/tools/bit/make.cpp index a8002417b916..b2ee99c2c74c 100644 --- a/tools/bit/make.cpp +++ b/tools/bit/make.cpp @@ -182,7 +182,7 @@ read_modules(const string& buildOut, const string& device, map* r for (ssize_t i = module.classes.size() - 1; i >= 0; i--) { string cl = module.classes[i]; if (!(cl == "JAVA_LIBRARIES" || cl == "EXECUTABLES" || cl == "SHARED_LIBRARIES" - || cl == "APPS")) { + || cl == "APPS" || cl == "NATIVE_TESTS")) { module.classes.erase(module.classes.begin() + i); } } -- cgit v1.2.3-59-g8ed1b