[llvm] 7df66b3 - [gn build] Port a443b3d18ef4 (HTMLLogger.inc)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 11:04:15 PDT 2023
Author: Nico Weber
Date: 2023-04-19T14:04:08-04:00
New Revision: 7df66b36d926f72846bd0c1d96003f0bc10d21ed
URL: https://github.com/llvm/llvm-project/commit/7df66b36d926f72846bd0c1d96003f0bc10d21ed
DIFF: https://github.com/llvm/llvm-project/commit/7df66b36d926f72846bd0c1d96003f0bc10d21ed.diff
LOG: [gn build] Port a443b3d18ef4 (HTMLLogger.inc)
Similar to 374db8fc2e49f.
Added:
Modified:
llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/BUILD.gn
index 34261f91d79c..14325a8268db 100644
--- a/llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/BUILD.gn
@@ -1,16 +1,34 @@
+action("HTMLLogger") {
+ script = "//clang/utils/bundle_resources.py"
+ outputs = [ "$target_gen_dir/HTMLLogger.inc" ]
+ inputs = [
+ "HTMLLogger.html",
+ "HTMLLogger.css",
+ "HTMLLogger.js",
+ ]
+ args =
+ rebase_path(outputs, root_build_dir) + rebase_path(inputs, root_build_dir)
+}
+
static_library("FlowSensitive") {
output_name = "clangAnalysisFlowSensitive"
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
+ ":HTMLLogger",
"//clang/lib/AST",
"//clang/lib/Analysis",
]
+ include_dirs = [
+ # To pick up HTMLLogger.inc:
+ target_gen_dir,
+ ]
sources = [
"Arena.cpp",
"ControlFlowContext.cpp",
"DataflowAnalysisContext.cpp",
"DataflowEnvironment.cpp",
"DebugSupport.cpp",
+ "HTMLLogger.cpp",
"Logger.cpp",
"Transfer.cpp",
"TypeErasedDataflowAnalysis.cpp",
More information about the llvm-commits
mailing list