Index: tools/clang/traffic_annotation_extractor/CMakeLists.txt |
diff --git a/tools/clang/rewrite_scoped_refptr/CMakeLists.txt b/tools/clang/traffic_annotation_extractor/CMakeLists.txt |
similarity index 54% |
copy from tools/clang/rewrite_scoped_refptr/CMakeLists.txt |
copy to tools/clang/traffic_annotation_extractor/CMakeLists.txt |
index b61fd653dc9ed63ce58378ed636af6d6111708ff..f33d3ae7bb079b9c4d6c0c27be729127378f62b5 100644 |
--- a/tools/clang/rewrite_scoped_refptr/CMakeLists.txt |
+++ b/tools/clang/traffic_annotation_extractor/CMakeLists.txt |
@@ -2,15 +2,13 @@ set(LLVM_LINK_COMPONENTS |
BitReader |
MCParser |
Option |
- X86AsmParser |
- X86CodeGen |
) |
-add_llvm_executable(rewrite_scoped_refptr |
- RewriteScopedRefptr.cpp |
+add_llvm_executable(traffic_annotation_extractor |
+ traffic_annotation_extractor.cpp |
) |
-target_link_libraries(rewrite_scoped_refptr |
+target_link_libraries(traffic_annotation_extractor |
clangAST |
clangASTMatchers |
clangAnalysis |
@@ -25,4 +23,4 @@ target_link_libraries(rewrite_scoped_refptr |
clangTooling |
) |
-cr_install(TARGETS rewrite_scoped_refptr RUNTIME DESTINATION bin) |
+cr_install(TARGETS traffic_annotation_extractor RUNTIME DESTINATION bin) |