]> granicus.if.org Git - llvm/commitdiff
Revert "gn build: Merge r368021"
authorDmitri Gribenko <gribozavr@gmail.com>
Tue, 6 Aug 2019 13:39:27 +0000 (13:39 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Tue, 6 Aug 2019 13:39:27 +0000 (13:39 +0000)
This reverts commit r368025, which depends on r368021, which needs to be
reverted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368034 91177308-0d34-0410-b5e6-96231b3b80d8

utils/gn/secondary/llvm/lib/ObjectYAML/BUILD.gn
utils/gn/secondary/llvm/tools/yaml2obj/BUILD.gn
utils/gn/secondary/llvm/unittests/ObjectYAML/BUILD.gn

index fbb4187ab4a41695c2f81273dd40e74ccb7002a8..84575f2be231d640f21136583bdb327d93bec071 100644 (file)
@@ -2,12 +2,9 @@ static_library("ObjectYAML") {
   output_name = "LLVMObjectYAML"
   deps = [
     "//llvm/lib/DebugInfo/CodeView",
-    "//llvm/lib/MC",
-    "//llvm/lib/Object",
     "//llvm/lib/Support",
   ]
   sources = [
-    "COFFEmitter.cpp",
     "COFFYAML.cpp",
     "CodeViewYAMLDebugSections.cpp",
     "CodeViewYAMLSymbols.cpp",
@@ -16,17 +13,12 @@ static_library("ObjectYAML") {
     "DWARFEmitter.cpp",
     "DWARFVisitor.cpp",
     "DWARFYAML.cpp",
-    "ELFEmitter.cpp",
     "ELFYAML.cpp",
-    "MachOEmitter.cpp",
     "MachOYAML.cpp",
-    "MinidumpEmitter.cpp",
     "MinidumpYAML.cpp",
     "ObjectYAML.cpp",
-    "WasmEmitter.cpp",
     "WasmYAML.cpp",
     "XCOFFYAML.cpp",
     "YAML.cpp",
-    "yaml2obj.cpp",
   ]
 }
index b0e2fe03c0f0f7275bf04d12c9538f37abe7fb67..a36004d3384bc2dc54f249f288827ed5e9ebb615 100644 (file)
@@ -1,9 +1,17 @@
 executable("yaml2obj") {
   deps = [
+    "//llvm/lib/DebugInfo/CodeView",
+    "//llvm/lib/MC",
+    "//llvm/lib/Object",
     "//llvm/lib/ObjectYAML",
     "//llvm/lib/Support",
   ]
   sources = [
+    "yaml2coff.cpp",
+    "yaml2elf.cpp",
+    "yaml2macho.cpp",
+    "yaml2minidump.cpp",
     "yaml2obj.cpp",
+    "yaml2wasm.cpp",
   ]
 }
index 2fbcaa94334d99018435fe6a7fba8763b3634bf5..4e7d61056261fa0871e4fdc1e4394ded04ce450e 100644 (file)
@@ -8,7 +8,6 @@ unittest("ObjectYAMLTests") {
   ]
   sources = [
     "MinidumpYAMLTest.cpp",
-    "YAML2ObjTest.cpp",
     "YAMLTest.cpp",
   ]
 }