This is an archive of the discontinued LLVM Phabricator instance.

[gn build] Start adding build files for LLVM unittests
ClosedPublic

Authored by thakis on Jan 2 2019, 11:50 AM.

Details

Summary

Adds build files for //llvm/unittest/[A-D].

Also teach sync_source_lists_from_cmake.py to not complain about missing BUILD.gn files for CMakeLists.txt files that just call add_subdirectory() without calling add_.+_unittest, like e.g. llvm/unittests/Target/CMakeLists.txt.

(Omits CodeGen/GlobalISel and DebugInfo/PDB because their build files are somewhat interesting, and this patch is already on the larger side.)

Diff Detail

Repository
rL LLVM

Event Timeline

thakis created this revision.Jan 2 2019, 11:50 AM
thakis edited the summary of this revision. (Show Details)Jan 2 2019, 12:03 PM
phosek accepted this revision.Jan 2 2019, 12:42 PM

LGTM

This revision is now accepted and ready to land.Jan 2 2019, 12:42 PM
This revision was automatically updated to reflect the committed changes.