summaryrefslogtreecommitdiff
path: root/copy.bara.sky
blob: c270d385b59c377b5e5239bec43f3983d5adfa3c (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
core.workflow(
    name = "default",
    origin = git.origin(
        url = "https://chromium.googlesource.com/chromium/src.git",
        ref = "main",
    ),
    origin_files = glob(
        [
            ".clang-format",
            "ui/events/event_constants.h",
            "ui/events/ozone/features.cc",
            "ui/events/ozone/features.h",
            "ui/events/ozone/evdev/touch_evdev_types.cc",
            "ui/events/ozone/evdev/touch_evdev_types.h",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter.cc",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_model.h",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_model.cc",
            "ui/events/ozone/evdev/touch_filter/palm_detection_filter.h",
            "ui/events/ozone/evdev/touch_filter/palm_detection_filter.cc",
            "ui/events/ozone/evdev/touch_filter/palm_model/**",
            "ui/events/ozone/evdev/touch_filter/shared_palm_detection_filter_state.h",
            "ui/events/ozone/evdev/touch_filter/shared_palm_detection_filter_state.cc",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter.h",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_model.cc",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_model.h",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_unittest.cc",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_util.cc",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_util.h",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_util_unittest.cc",
            "ui/events/ozone/evdev/touch_filter/palm_detection_filter.cc",
            "ui/events/ozone/evdev/touch_filter/palm_detection_filter.h",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference.cc",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference.h",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference_beta.cc",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference_beta.h",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference_v2.cc",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference_v2.h",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_model.cc",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_model.h",
            "ui/events/ozone/evdev/touch_filter/shared_palm_detection_filter_state.h",
        ],
        exclude = [
            "**/BUILD.gn",
        ],
    ),
    destination = git.gerrit_destination(
        url = "https://android.googlesource.com/platform/external/libpalmrejection",
        fetch = "master",
    ),
    destination_files = glob(
        [
            ".clang-format",
            "ui/events/event_constants.h",
            "ui/events/ozone/features.cc",
            "ui/events/ozone/features.h",
            "ui/events/ozone/evdev/touch_evdev_types.cc",
            "ui/events/ozone/evdev/touch_evdev_types.h",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter.cc",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_model.h",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_model.cc",
            "ui/events/ozone/evdev/touch_filter/palm_detection_filter.h",
            "ui/events/ozone/evdev/touch_filter/palm_detection_filter.cc",
            "ui/events/ozone/evdev/touch_filter/palm_model/**",
            "ui/events/ozone/evdev/touch_filter/shared_palm_detection_filter_state.h",
            "ui/events/ozone/evdev/touch_filter/shared_palm_detection_filter_state.cc",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter.h",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_model.cc",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_model.h",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_unittest.cc",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_util.cc",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_util.h",
            "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_util_unittest.cc",
            "ui/events/ozone/evdev/touch_filter/palm_detection_filter.cc",
            "ui/events/ozone/evdev/touch_filter/palm_detection_filter.h",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference.cc",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference.h",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference_beta.cc",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference_beta.h",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference_v2.cc",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_inference_v2.h",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_model.cc",
            "ui/events/ozone/evdev/touch_filter/palm_model/onedevice_train_palm_detection_filter_model.h",
            "ui/events/ozone/evdev/touch_filter/shared_palm_detection_filter_state.h",
        ],
        exclude = [
            "**/Android.bp",
            "LICENSE",
            "METADATA",
            "MODULE_LICENSE_BSD",
            "OWNERS",
            "PREUPLOAD.cfg",
            "TEST_MAPPING",
            "chrome_to_android_compatibility.h",
            "chrome_to_android_compatibility_test_support.cc",
            "chrome_to_android_compatibility_test_support.h",
            "copy.bara.sky",
        ],
    ),
    authoring = authoring.pass_thru(
        "Android Framework Input <android-framework-input@google.com>"
    ),
    mode = 'SQUASH',
    transformations = [
    ],
)