1import("//llvm/utils/unittest/unittest.gni")
2
3unittest("ClangRenameTests") {
4  configs += [ "//llvm/utils/gn/build:clang_code" ]
5
6  # We'd like clang/unittests/Tooling/RewriterTestContext.h in the test.
7  include_dirs = [ "../.." ]
8
9  deps = [
10    "//clang/lib/AST",
11    "//clang/lib/ASTMatchers",
12    "//clang/lib/Basic",
13    "//clang/lib/Format",
14    "//clang/lib/Frontend",
15    "//clang/lib/Rewrite",
16    "//clang/lib/Tooling",
17    "//clang/lib/Tooling/Core",
18    "//clang/lib/Tooling/Refactoring",
19    "//llvm/lib/Support",
20  ]
21  sources = [
22    "RenameAliasTest.cpp",
23    "RenameClassTest.cpp",
24    "RenameEnumTest.cpp",
25    "RenameFunctionTest.cpp",
26    "RenameMemberTest.cpp",
27  ]
28}
29