1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
core.workflow(
name = "default",
origin = git.origin(
url = "https://github.com/llvm/llvm-project.git",
ref = "main",
),
origin_files = glob(
[
"libc/**",
"libc/LICENSE.TXT",
],
# Exclude copying these files from upstream. Keep sorted.
exclude = [
"**/*.h.def",
"**/*.inc",
"**/*.md",
"**/*.txt",
"**/.clang-tidy",
"**/CMakeLists.txt",
"**/README.txt",
"libc/.gitignore",
"libc/AOR_v20.02/**",
"libc/benchmarks/**",
"libc/cmake/**",
"libc/config/**",
"libc/docs/**",
"libc/examples/**",
"libc/fuzzing/**",
"libc/spec/**",
"libc/startup/**",
"libc/utils/**",
],
),
destination = git.gerrit_destination(
url = "sso://googleplex-android/platform/external/llvm-libc",
#url = "https://googleplex-android.googlesource.com/platform/external/llvm-libc",
#url = "https://android.googlesource.com/platform/external/llvm-libc",
fetch = "master",
),
destination_files = glob(
[
"**.cpp",
"**.h",
"LICENSE",
],
),
authoring = authoring.pass_thru(
"LLVM libc <llvm-libc@google.com>"
),
# mode = 'ITERATIVE',
transformations = [
core.move("libc/LICENSE.TXT", "LICENSE"),
core.move("libc/include", "include"),
core.move("libc/src", "src"),
core.move("libc/test", "test"),
],
)
|