Author: Nico Weber
Date: 2022-05-09T18:28:58-04:00
New Revision: 42915e2be231983a6476eabc059d114d60742ded

URL: 
https://github.com/llvm/llvm-project/commit/42915e2be231983a6476eabc059d114d60742ded
DIFF: 
https://github.com/llvm/llvm-project/commit/42915e2be231983a6476eabc059d114d60742ded.diff

LOG: [gn build] (manually) port a2f2dfde48ac (clang-fuzzer-dictionary)

Added: 
    llvm/utils/gn/secondary/clang/tools/clang-fuzzer/dictionary/BUILD.gn

Modified: 
    clang/tools/clang-fuzzer/dictionary/CMakeLists.txt
    llvm/utils/gn/secondary/clang/test/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/clang/tools/clang-fuzzer/dictionary/CMakeLists.txt 
b/clang/tools/clang-fuzzer/dictionary/CMakeLists.txt
index 0e9a9a7bd0a37..ee4aa587ea54d 100644
--- a/clang/tools/clang-fuzzer/dictionary/CMakeLists.txt
+++ b/clang/tools/clang-fuzzer/dictionary/CMakeLists.txt
@@ -1,2 +1,4 @@
-add_clang_executable(clang-fuzzer-dictionary dictionary.c)
+add_clang_executable(clang-fuzzer-dictionary
+  dictionary.c
+  )
 

diff  --git a/llvm/utils/gn/secondary/clang/test/BUILD.gn 
b/llvm/utils/gn/secondary/clang/test/BUILD.gn
index 6651193745a1b..658e7d49f771c 100644
--- a/llvm/utils/gn/secondary/clang/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/test/BUILD.gn
@@ -145,6 +145,7 @@ group("test") {
     "//clang/tools/c-index-test",
     "//clang/tools/clang-
diff ",
     "//clang/tools/clang-format",
+    "//clang/tools/clang-fuzzer/dictionary:clang-fuzzer-dictionary",
     "//clang/tools/clang-import-test",
     "//clang/tools/clang-offload-bundler",
     "//clang/tools/clang-refactor",

diff  --git 
a/llvm/utils/gn/secondary/clang/tools/clang-fuzzer/dictionary/BUILD.gn 
b/llvm/utils/gn/secondary/clang/tools/clang-fuzzer/dictionary/BUILD.gn
new file mode 100644
index 0000000000000..6bb9e42707fb9
--- /dev/null
+++ b/llvm/utils/gn/secondary/clang/tools/clang-fuzzer/dictionary/BUILD.gn
@@ -0,0 +1,4 @@
+executable("clang-fuzzer-dictionary") {
+  configs += [ "//llvm/utils/gn/build:clang_code" ]
+  sources = [ "dictionary.c" ]
+}


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to