• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2019 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    // See: http://go/android-license-faq
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20python_binary_host {
21    name: "generate-self-extracting-archive",
22    srcs: ["generate-self-extracting-archive.py"],
23}
24
25python_binary_host {
26    name: "post_process_props",
27    srcs: ["post_process_props.py"],
28    libs: [
29        "uffd_gc_utils",
30    ],
31}
32
33python_test_host {
34    name: "post_process_props_unittest",
35    main: "test_post_process_props.py",
36    srcs: [
37        "post_process_props.py",
38        "test_post_process_props.py",
39    ],
40    libs: [
41        "uffd_gc_utils",
42    ],
43    test_config: "post_process_props_unittest.xml",
44    test_suites: ["general-tests"],
45}
46
47python_binary_host {
48    name: "extract_kernel",
49    srcs: ["extract_kernel.py"],
50}
51
52genrule_defaults {
53    name: "extract_kernel_release_defaults",
54    tools: [
55        "extract_kernel",
56        "lz4",
57    ],
58    out: ["kernel_release.txt"],
59    cmd: "$(location) --tools lz4:$(location lz4) --input $(in) --output-release > $(out)",
60}
61
62cc_binary_host {
63    name: "build-runfiles",
64    srcs: ["build-runfiles.cc"],
65}
66
67python_binary_host {
68    name: "check_radio_versions",
69    srcs: ["check_radio_versions.py"],
70}
71
72python_binary_host {
73    name: "check_elf_file",
74    srcs: ["check_elf_file.py"],
75}
76
77python_binary_host {
78    name: "generate_gts_shared_report",
79    srcs: ["generate_gts_shared_report.py"],
80}
81
82python_binary_host {
83    name: "list_files",
84    main: "list_files.py",
85    srcs: [
86        "list_files.py",
87    ],
88}
89
90python_test_host {
91    name: "auto_gen_test_config_test",
92    main: "auto_gen_test_config_test.py",
93    srcs: [
94        "auto_gen_test_config.py",
95        "auto_gen_test_config_test.py",
96    ],
97    auto_gen_config: true,
98    test_suites: ["general-tests"],
99    test_options: {
100        unit_test: true,
101    },
102}
103
104python_binary_host {
105    name: "characteristics_rro_generator",
106    srcs: ["characteristics_rro_generator.py"],
107}
108
109python_binary_host {
110    name: "merge-event-log-tags",
111    srcs: [
112        "event_log_tags.py",
113        "merge-event-log-tags.py",
114    ],
115}
116
117python_binary_host {
118    name: "java-event-log-tags",
119    srcs: [
120        "event_log_tags.py",
121        "java-event-log-tags.py",
122    ],
123}
124