diff options
| author | 2019-02-28 18:11:00 +0000 | |
|---|---|---|
| committer | 2019-02-28 18:11:00 +0000 | |
| commit | b637c6ae6ddb3c255e631088342111957af28f71 (patch) | |
| tree | ab7634d3f9aaa8ce935fe51573f94147256d604b /tools/bit/make.cpp | |
| parent | f6833c92be6b87e837762328fc608eec240c4541 (diff) | |
| parent | 6c97f4908c99f26c7d59ac92bf74e7913a5333c8 (diff) | |
Merge "Make bit able to run gtest native tests."
Diffstat (limited to 'tools/bit/make.cpp')
| -rw-r--r-- | tools/bit/make.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/bit/make.cpp b/tools/bit/make.cpp index 627091321b2e..df64a801e213 100644 --- a/tools/bit/make.cpp +++ b/tools/bit/make.cpp @@ -51,6 +51,18 @@ make_cache_filename(const string& outDir) return filename + "/.bit_cache"; } +bool +Module::HasClass(const string& cl) +{ + for (vector<string>::const_iterator c = classes.begin(); c != classes.end(); c++) { + if (*c == cl) { + return true; + } + } + return false; +} + + BuildVars::BuildVars(const string& outDir, const string& buildProduct, const string& buildVariant, const string& buildType) :m_filename(), |