summaryrefslogtreecommitdiff
path: root/tools/bit
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2017-10-12 00:16:10 -0700
committerJoe Onorato <joeo@google.com>2017-10-15 20:25:18 -0700
commit0520afdade272019961d4705302e6c37b20806b8 (patch)
tree4f19ea960d38dec9fb2e682cb0af63c63cc3db04 /tools/bit
parent397b51186a52d7cd01b90d92e014a554ec271c6c (diff)
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
Diffstat (limited to 'tools/bit')
-rw-r--r--tools/bit/make.cpp2
1 files changed, 1 insertions, 1 deletions
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<string,Module>* 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);
}
}