[gn] port 4c6043de0b83 (InstallAPITests)
diff --git a/llvm/utils/gn/secondary/clang/lib/ExtractAPI/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/ExtractAPI/BUILD.gn
index 62b4af0..ee60eee 100644
--- a/llvm/utils/gn/secondary/clang/lib/ExtractAPI/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/ExtractAPI/BUILD.gn
@@ -6,6 +6,7 @@
     "//clang/lib/Basic",
     "//clang/lib/Frontend",
     "//clang/lib/Index",
+    "//clang/lib/InstallAPI",
     "//llvm/lib/Support",
     "//llvm/lib/TargetParser",
   ]
diff --git a/llvm/utils/gn/secondary/clang/lib/InstallAPI/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/InstallAPI/BUILD.gn
index 4d79ac8..6eae7e2 100644
--- a/llvm/utils/gn/secondary/clang/lib/InstallAPI/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/InstallAPI/BUILD.gn
@@ -6,5 +6,9 @@
     "//llvm/lib/Support",
     "//llvm/lib/TextAPI",
   ]
-  sources = [ "Context.cpp" ]
+  sources = [
+    "Context.cpp",
+    "FileList.cpp",
+    "HeaderFile.cpp",
+  ]
 }
diff --git a/llvm/utils/gn/secondary/clang/unittests/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/BUILD.gn
index b60c526..354934f 100644
--- a/llvm/utils/gn/secondary/clang/unittests/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/unittests/BUILD.gn
@@ -13,6 +13,7 @@
     "Format:FormatTests",
     "Frontend:FrontendTests",
     "Index:IndexTests",
+    "InstallAPI:InstallAPITests",
     "Interpreter:ClangReplInterpreterTests",
     "Introspection:IntrospectionTests",
     "Lex:LexTests",
diff --git a/llvm/utils/gn/secondary/clang/unittests/InstallAPI/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/InstallAPI/BUILD.gn
new file mode 100644
index 0000000..e2765945
--- /dev/null
+++ b/llvm/utils/gn/secondary/clang/unittests/InstallAPI/BUILD.gn
@@ -0,0 +1,13 @@
+import("//third-party/unittest/unittest.gni")
+
+unittest("InstallAPITests") {
+  configs += [ "//llvm/utils/gn/build:clang_code" ]
+  deps = [
+    "//clang/lib/InstallAPI",
+    "//llvm/lib/Testing/Support",
+  ]
+  sources = [
+    "HeaderFileTest.cpp",
+    "FileListTest.cpp",
+  ]
+}