File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed
llvm/utils/gn/secondary/bolt Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change
1
+ import (" //llvm/lib/Target/write_target_def_file.gni" )
2
+
3
+ write_target_def_file (" TargetConfig.def" ) {
4
+ key = " BOLT_ENUM_TARGETS"
5
+ value = " BOLT_TARGET"
6
+ }
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ group("symlinks") {
23
23
executable (" llvm-bolt" ) {
24
24
configs += [ " //llvm/utils/gn/build:bolt_code" ]
25
25
deps = [
26
+ " //bolt/include/bolt/Core:TargetConfig.def" ,
26
27
" //bolt/lib/Profile" ,
27
28
" //bolt/lib/Rewrite" ,
28
29
" //bolt/lib/Utils" ,
Original file line number Diff line number Diff line change 1
1
executable (" llvm-bolt-heatmap" ) {
2
2
configs += [ " //llvm/utils/gn/build:bolt_code" ]
3
3
deps = [
4
+ " //bolt/include/bolt/Core:TargetConfig.def" ,
4
5
" //bolt/lib/Profile" ,
5
6
" //bolt/lib/Rewrite" ,
6
7
" //bolt/lib/Utils" ,
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import("//third-party/unittest/unittest.gni")
4
4
unittest (" CoreTests" ) {
5
5
configs += [ " //llvm/utils/gn/build:bolt_code" ]
6
6
deps = [
7
+ " //bolt/include/bolt/Core:TargetConfig.def" ,
7
8
" //bolt/lib/Core" ,
8
9
" //bolt/lib/Rewrite" ,
9
10
" //bolt/lib/Profile" ,
You can’t perform that action at this time.
0 commit comments