File tree Expand file tree Collapse file tree 4 files changed +504
-0
lines changed Expand file tree Collapse file tree 4 files changed +504
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,13 @@ pkg_files(
30
30
prefix = "tools" ,
31
31
)
32
32
33
+ pkg_files (
34
+ name = "autobuild" ,
35
+ srcs = ["tools/autobuild.sh" ],
36
+ attributes = pkg_attributes (mode = "0755" ),
37
+ prefix = "tools" ,
38
+ )
39
+
33
40
pkg_files (
34
41
name = "tracing-config" ,
35
42
srcs = ["tools/tracing-config.lua" ],
@@ -48,6 +55,7 @@ pkg_filegroup(
48
55
":manifest" ,
49
56
":qltest" ,
50
57
":tracing-config" ,
58
+ ":autobuild" ,
51
59
],
52
60
visibility = ["//visibility:public" ],
53
61
)
@@ -58,6 +66,12 @@ pkg_runfiles(
58
66
prefix = "tools/" + codeql_platform ,
59
67
)
60
68
69
+ pkg_runfiles (
70
+ name = "xcode-autobuilder" ,
71
+ srcs = ["//swift/xcode-autobuilder" ],
72
+ prefix = "tools/" + codeql_platform ,
73
+ )
74
+
61
75
pkg_files (
62
76
name = "swift-test-sdk-arch" ,
63
77
srcs = ["//swift/tools/prebuilt:swift-test-sdk" ],
@@ -70,6 +84,7 @@ pkg_filegroup(
70
84
srcs = [
71
85
":extractor" ,
72
86
":swift-test-sdk-arch" ,
87
+ ":xcode-autobuilder" ,
73
88
],
74
89
visibility = ["//visibility:public" ],
75
90
)
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ exec " ${CODEQL_EXTRACTOR_SWIFT_ROOT} /tools/${CODEQL_PLATFORM} /xcode-autobuilder"
Original file line number Diff line number Diff line change
1
+ load ("//swift:rules.bzl" , "swift_cc_binary" )
2
+
3
+ swift_cc_binary (
4
+ name = "xcode-autobuilder" ,
5
+ srcs = glob ([
6
+ "*.cpp" ,
7
+ ]),
8
+ visibility = ["//swift:__pkg__" ],
9
+ linkopts = [
10
+ "-lxml2" ,
11
+ "-framework CoreFoundation" ,
12
+ ],
13
+ )
You can’t perform that action at this time.
0 commit comments