diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-10-03 20:07:03 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-10-03 20:07:03 +0000 |
commit | 6695ff62d0b2794604c8316039add364ecdc6ec4 (patch) | |
tree | 21f46454c85ffd8302c388872eaa9c5e91559fdd | |
parent | 5e7e6f16d945e9ff90cee1630c81a1f5aa803633 (diff) | |
download | llvm-6695ff62d0b2794604c8316039add364ecdc6ec4.zip llvm-6695ff62d0b2794604c8316039add364ecdc6ec4.tar.gz llvm-6695ff62d0b2794604c8316039add364ecdc6ec4.tar.bz2 |
Reland "gn build: (manually) merge r373551"
373551 relanded in 373651.
llvm-svn: 373654
4 files changed, 23 insertions, 0 deletions
diff --git a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn index f03456d..3d607dd 100644 --- a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn @@ -34,6 +34,7 @@ group("unittests") { "Remarks:RemarksTests", "Support:SupportTests", "Support/DynamicLibrary:DynamicLibraryTests", + "TableGen:TableGenTests", "TextAPI:TextAPITests", "Transforms/IPO:IPOTests", "Transforms/Scalar:ScalarTests", diff --git a/llvm/utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn new file mode 100644 index 0000000..3f128f8 --- /dev/null +++ b/llvm/utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn @@ -0,0 +1,13 @@ +import("//llvm/utils/unittest/unittest.gni") + +unittest("TableGenTests") { + deps = [ + "//llvm/lib/Support", + "//llvm/lib/TableGen", + "//llvm/utils/TableGen/GlobalISel", + ] + include_dirs = [ "//llvm/utils/TableGen" ] + sources = [ + "CodeExpanderTest.cpp", + ] +} diff --git a/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn index 9f5043f..952b2f9 100644 --- a/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn @@ -4,6 +4,7 @@ executable("llvm-tblgen") { "//llvm/lib/MC", "//llvm/lib/Support", "//llvm/lib/TableGen", + "//llvm/utils/TableGen/GlobalISel", ] sources = [ "AsmMatcherEmitter.cpp", diff --git a/llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn new file mode 100644 index 0000000..fe703cf --- /dev/null +++ b/llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn @@ -0,0 +1,8 @@ +source_set("GlobalISel") { + deps = [ + "//llvm/lib/Support", + ] + sources = [ + "CodeExpander.cpp", + ] +} |