Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 1 | // Copyright (C) 2018 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 | |
Bob Badour | 8a6a2bc | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 15 | package { |
| 16 | // See: http://go/android-license-faq |
| 17 | // A large-scale-change added 'default_applicable_licenses' to import |
| 18 | // all of the 'license_kinds' from "frameworks_base_license" |
| 19 | // to get the below license kinds: |
| 20 | // SPDX-license-identifier-Apache-2.0 |
| 21 | default_applicable_licenses: ["frameworks_base_license"], |
| 22 | } |
| 23 | |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 24 | cc_defaults { |
| 25 | name: "idmap2_defaults", |
Yurii Zubrytskyi | ba6f8a3 | 2022-02-16 17:00:42 -0800 | [diff] [blame] | 26 | cpp_std: "gnu++2b", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 27 | tidy: true, |
Stephen Hines | 328a29c | 2020-06-09 00:14:52 -0700 | [diff] [blame] | 28 | tidy_checks: [ |
| 29 | "modernize-*", |
| 30 | "-modernize-avoid-c-arrays", |
| 31 | "-modernize-use-trailing-return-type", |
| 32 | "android-*", |
| 33 | "misc-*", |
| 34 | "readability-*", |
Yurii Zubrytskyi | ba6f8a3 | 2022-02-16 17:00:42 -0800 | [diff] [blame] | 35 | "-readability-identifier-length", |
Stephen Hines | 328a29c | 2020-06-09 00:14:52 -0700 | [diff] [blame] | 36 | ], |
Stephen Hines | ab17065 | 2020-06-09 00:13:57 -0700 | [diff] [blame] | 37 | tidy_checks_as_errors: [ |
Ryan Mitchell | 1982345 | 2019-01-29 12:01:24 -0800 | [diff] [blame] | 38 | "modernize-*", |
| 39 | "-modernize-avoid-c-arrays", |
Yabin Cui | 5fa57f6 | 2021-07-14 17:25:16 -0700 | [diff] [blame] | 40 | "-modernize-concat-nested-namespaces", |
Chih-Hung Hsieh | 14d955f | 2021-02-11 11:52:15 -0800 | [diff] [blame] | 41 | "-modernize-pass-by-value", |
| 42 | "-modernize-replace-disallow-copy-and-assign-macro", |
Yabin Cui | 5fa57f6 | 2021-07-14 17:25:16 -0700 | [diff] [blame] | 43 | "-modernize-return-braced-init-list", |
Yi Kong | b0981d9 | 2022-02-18 01:52:21 +0800 | [diff] [blame] | 44 | "-modernize-use-default-member-init", |
Chih-Hung Hsieh | 14d955f | 2021-02-11 11:52:15 -0800 | [diff] [blame] | 45 | "-modernize-use-equals-default", |
Chih-Hung Hsieh | a602a8b | 2022-09-19 15:13:36 -0700 | [diff] [blame] | 46 | "-modernize-use-emplace", |
Chih-Hung Hsieh | 14d955f | 2021-02-11 11:52:15 -0800 | [diff] [blame] | 47 | "-modernize-use-nodiscard", |
| 48 | "-modernize-use-override", |
Yi Kong | fbafa51 | 2019-07-27 14:43:50 -0700 | [diff] [blame] | 49 | "-modernize-use-trailing-return-type", |
Chih-Hung Hsieh | 14d955f | 2021-02-11 11:52:15 -0800 | [diff] [blame] | 50 | "-modernize-use-using", |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 51 | "android-*", |
| 52 | "misc-*", |
Chih-Hung Hsieh | 14d955f | 2021-02-11 11:52:15 -0800 | [diff] [blame] | 53 | "-misc-non-private-member-variables-in-classes", |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 54 | "readability-*", |
Chih-Hung Hsieh | 14d955f | 2021-02-11 11:52:15 -0800 | [diff] [blame] | 55 | "-readability-braces-around-statements", |
| 56 | "-readability-const-return-type", |
| 57 | "-readability-convert-member-functions-to-static", |
Pirama Arumuga Nainar | 8186f29 | 2022-03-10 04:56:33 +0000 | [diff] [blame] | 58 | "-readability-duplicate-include", |
Chih-Hung Hsieh | 14d955f | 2021-02-11 11:52:15 -0800 | [diff] [blame] | 59 | "-readability-else-after-return", |
| 60 | "-readability-named-parameter", |
| 61 | "-readability-redundant-access-specifiers", |
| 62 | "-readability-uppercase-literal-suffix", |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 63 | ], |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 64 | } |
| 65 | |
| 66 | cc_library { |
| 67 | name: "libidmap2", |
| 68 | defaults: [ |
| 69 | "idmap2_defaults", |
| 70 | ], |
| 71 | host_supported: true, |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 72 | srcs: [ |
Winson | 62ac8b5 | 2019-12-04 08:36:48 -0800 | [diff] [blame] | 73 | "libidmap2/**/*.cpp", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 74 | ], |
| 75 | export_include_dirs: ["include"], |
| 76 | target: { |
| 77 | android: { |
| 78 | static: { |
| 79 | enabled: false, |
| 80 | }, |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 81 | static_libs: [ |
| 82 | "libidmap2_protos", |
| 83 | ], |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 84 | shared_libs: [ |
| 85 | "libandroidfw", |
| 86 | "libbase", |
Mårten Kongstad | 4cbb007 | 2018-11-30 16:22:05 +0100 | [diff] [blame] | 87 | "libcutils", |
Winson | 62ac8b5 | 2019-12-04 08:36:48 -0800 | [diff] [blame] | 88 | "libidmap2_policies", |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 89 | "libprotobuf-cpp-lite", |
| 90 | "libutils", |
| 91 | "libz", |
| 92 | "libziparchive", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 93 | ], |
| 94 | }, |
| 95 | host: { |
| 96 | shared: { |
| 97 | enabled: false, |
| 98 | }, |
| 99 | static_libs: [ |
| 100 | "libandroidfw", |
| 101 | "libbase", |
Steven Moreland | 598bda8 | 2019-09-18 12:58:11 -0700 | [diff] [blame] | 102 | "libcutils", |
Winson | 62ac8b5 | 2019-12-04 08:36:48 -0800 | [diff] [blame] | 103 | "libidmap2_policies", |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 104 | "libidmap2_protos", |
| 105 | "libprotobuf-cpp-lite", |
| 106 | "libutils", |
| 107 | "libz", |
| 108 | "libziparchive", |
Winson | 62ac8b5 | 2019-12-04 08:36:48 -0800 | [diff] [blame] | 109 | ], |
| 110 | }, |
| 111 | }, |
| 112 | } |
| 113 | |
| 114 | cc_library { |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 115 | name: "libidmap2_protos", |
| 116 | srcs: [ |
| 117 | "libidmap2/proto/*.proto", |
| 118 | ], |
| 119 | host_supported: true, |
Yurii Zubrytskyi | ba6f8a3 | 2022-02-16 17:00:42 -0800 | [diff] [blame] | 120 | tidy: false, |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 121 | proto: { |
| 122 | type: "lite", |
| 123 | export_proto_headers: true, |
| 124 | }, |
| 125 | } |
| 126 | |
| 127 | cc_library { |
Winson | 62ac8b5 | 2019-12-04 08:36:48 -0800 | [diff] [blame] | 128 | name: "libidmap2_policies", |
| 129 | defaults: [ |
| 130 | "idmap2_defaults", |
| 131 | ], |
| 132 | host_supported: true, |
| 133 | export_include_dirs: ["libidmap2_policies/include"], |
| 134 | target: { |
| 135 | windows: { |
| 136 | enabled: true, |
| 137 | }, |
| 138 | android: { |
Winson | 62ac8b5 | 2019-12-04 08:36:48 -0800 | [diff] [blame] | 139 | shared_libs: [ |
| 140 | "libandroidfw", |
| 141 | ], |
| 142 | }, |
| 143 | host: { |
| 144 | shared: { |
| 145 | enabled: false, |
| 146 | }, |
| 147 | static_libs: [ |
| 148 | "libandroidfw", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 149 | ], |
| 150 | }, |
| 151 | }, |
| 152 | } |
| 153 | |
| 154 | cc_test { |
| 155 | name: "idmap2_tests", |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 156 | defaults: [ |
| 157 | "idmap2_defaults", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 158 | ], |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 159 | tidy_checks: [ |
| 160 | "-readability-magic-numbers", |
| 161 | ], |
| 162 | host_supported: true, |
Ryan Mitchell | bcc179a | 2019-03-29 14:55:51 -0700 | [diff] [blame] | 163 | test_suites: ["general-tests"], |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 164 | srcs: [ |
| 165 | "tests/BinaryStreamVisitorTests.cpp", |
| 166 | "tests/CommandLineOptionsTests.cpp", |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 167 | "tests/FabricatedOverlayTests.cpp", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 168 | "tests/FileUtilsTests.cpp", |
| 169 | "tests/Idmap2BinaryTests.cpp", |
| 170 | "tests/IdmapTests.cpp", |
| 171 | "tests/Main.cpp", |
Mårten Kongstad | d10d06d | 2019-01-07 17:26:25 -0800 | [diff] [blame] | 172 | "tests/PoliciesTests.cpp", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 173 | "tests/PrettyPrintVisitorTests.cpp", |
| 174 | "tests/RawPrintVisitorTests.cpp", |
Ryan Mitchell | 9e4f52b | 2019-09-19 12:15:52 -0700 | [diff] [blame] | 175 | "tests/ResourceMappingTests.cpp", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 176 | "tests/ResourceUtilsTests.cpp", |
Mårten Kongstad | 1e99b17 | 2019-01-28 08:49:12 +0100 | [diff] [blame] | 177 | "tests/ResultTests.cpp", |
Ryan Mitchell | cd965a3 | 2019-09-18 14:52:45 -0700 | [diff] [blame] | 178 | "tests/XmlParserTests.cpp", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 179 | ], |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 180 | required: [ |
| 181 | "idmap2", |
| 182 | ], |
| 183 | static_libs: [ |
| 184 | "libgmock", |
| 185 | "libidmap2_protos", |
| 186 | ], |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 187 | target: { |
| 188 | android: { |
| 189 | shared_libs: [ |
| 190 | "libandroidfw", |
| 191 | "libbase", |
| 192 | "libidmap2", |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 193 | "libidmap2_policies", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 194 | "liblog", |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 195 | "libprotobuf-cpp-lite", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 196 | "libutils", |
| 197 | "libz", |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 198 | "libz", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 199 | "libziparchive", |
| 200 | ], |
| 201 | }, |
| 202 | host: { |
| 203 | static_libs: [ |
| 204 | "libandroidfw", |
| 205 | "libbase", |
Steven Moreland | 598bda8 | 2019-09-18 12:58:11 -0700 | [diff] [blame] | 206 | "libcutils", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 207 | "libidmap2", |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 208 | "libidmap2_policies", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 209 | "liblog", |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 210 | "libprotobuf-cpp-lite", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 211 | "libutils", |
| 212 | "libziparchive", |
| 213 | ], |
| 214 | shared_libs: [ |
| 215 | "libz", |
| 216 | ], |
Julien Desprez | 91e0330 | 2021-02-08 16:46:08 -0800 | [diff] [blame] | 217 | data: [ |
| 218 | ":libz", |
| 219 | ":idmap2", |
| 220 | ], |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 221 | }, |
| 222 | }, |
Julien Desprez | 91e0330 | 2021-02-08 16:46:08 -0800 | [diff] [blame] | 223 | data: [ |
| 224 | "tests/data/**/*.apk", |
Jeremy Meyer | a761f33 | 2022-10-21 17:42:14 +0000 | [diff] [blame^] | 225 | "tests/data/**/*.png", |
Julien Desprez | 91e0330 | 2021-02-08 16:46:08 -0800 | [diff] [blame] | 226 | ], |
| 227 | compile_multilib: "first", |
| 228 | test_options: { |
| 229 | unit_test: true, |
| 230 | }, |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 231 | } |
| 232 | |
| 233 | cc_binary { |
| 234 | name: "idmap2", |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 235 | defaults: [ |
| 236 | "idmap2_defaults", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 237 | ], |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 238 | host_supported: true, |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 239 | srcs: [ |
Ryan Mitchell | a707013 | 2020-05-13 14:17:52 -0700 | [diff] [blame] | 240 | "idmap2/CommandUtils.cpp", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 241 | "idmap2/Create.cpp", |
Ryan Mitchell | 9b93942 | 2020-02-04 10:18:53 -0800 | [diff] [blame] | 242 | "idmap2/CreateMultiple.cpp", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 243 | "idmap2/Dump.cpp", |
| 244 | "idmap2/Lookup.cpp", |
| 245 | "idmap2/Main.cpp", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 246 | ], |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 247 | static_libs: [ |
| 248 | "libidmap2_protos", |
| 249 | ], |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 250 | target: { |
| 251 | android: { |
| 252 | shared_libs: [ |
| 253 | "libandroidfw", |
| 254 | "libbase", |
Mårten Kongstad | 4cbb007 | 2018-11-30 16:22:05 +0100 | [diff] [blame] | 255 | "libcutils", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 256 | "libidmap2", |
Winson | 62ac8b5 | 2019-12-04 08:36:48 -0800 | [diff] [blame] | 257 | "libidmap2_policies", |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 258 | "libprotobuf-cpp-lite", |
| 259 | "libutils", |
| 260 | "libz", |
| 261 | "libziparchive", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 262 | ], |
| 263 | }, |
| 264 | host: { |
| 265 | static_libs: [ |
| 266 | "libandroidfw", |
| 267 | "libbase", |
Steven Moreland | 598bda8 | 2019-09-18 12:58:11 -0700 | [diff] [blame] | 268 | "libcutils", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 269 | "libidmap2", |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 270 | "libidmap2_policies", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 271 | "liblog", |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 272 | "libprotobuf-cpp-lite", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 273 | "libutils", |
| 274 | "libziparchive", |
| 275 | ], |
| 276 | shared_libs: [ |
| 277 | "libz", |
| 278 | ], |
| 279 | }, |
| 280 | }, |
Winson | 62ac8b5 | 2019-12-04 08:36:48 -0800 | [diff] [blame] | 281 | |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 282 | } |
| 283 | |
| 284 | cc_binary { |
| 285 | name: "idmap2d", |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 286 | defaults: [ |
| 287 | "idmap2_defaults", |
| 288 | ], |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 289 | host_supported: false, |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 290 | srcs: [ |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 291 | "idmap2d/Idmap2Service.cpp", |
| 292 | "idmap2d/Main.cpp", |
| 293 | ], |
| 294 | shared_libs: [ |
| 295 | "libandroidfw", |
| 296 | "libbase", |
| 297 | "libbinder", |
| 298 | "libcutils", |
| 299 | "libidmap2", |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 300 | "libidmap2_policies", |
| 301 | "libprotobuf-cpp-lite", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 302 | "libutils", |
| 303 | "libziparchive", |
| 304 | ], |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 305 | static_libs: [ |
Ryan Mitchell | 6a2ca78 | 2021-01-19 13:51:15 -0800 | [diff] [blame] | 306 | "libc++fs", |
Ryan Mitchell | 2ed8bfa | 2021-01-08 13:34:28 -0800 | [diff] [blame] | 307 | "libidmap2_protos", |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 308 | "libidmap2daidl", |
| 309 | ], |
Mårten Kongstad | b87b5072 | 2018-09-21 09:58:10 +0200 | [diff] [blame] | 310 | init_rc: ["idmap2d/idmap2d.rc"], |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 311 | } |
| 312 | |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 313 | cc_library_static { |
| 314 | name: "libidmap2daidl", |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 315 | srcs: [ |
| 316 | ":idmap2_aidl", |
Ryan Mitchell | 6a2ca78 | 2021-01-19 13:51:15 -0800 | [diff] [blame] | 317 | ":idmap2_core_aidl", |
| 318 | ], |
| 319 | header_libs: [ |
| 320 | "libbinder_headers", |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 321 | ], |
| 322 | shared_libs: [ |
| 323 | "libbase", |
| 324 | ], |
| 325 | aidl: { |
| 326 | export_aidl_headers: true, |
Ryan Mitchell | 6a2ca78 | 2021-01-19 13:51:15 -0800 | [diff] [blame] | 327 | local_include_dirs: [ |
| 328 | "idmap2d/aidl/core", |
| 329 | "idmap2d/aidl/services/", |
| 330 | ], |
Mårten Kongstad | 3c9bc61 | 2018-11-19 08:26:16 +0100 | [diff] [blame] | 331 | }, |
| 332 | } |
| 333 | |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 334 | filegroup { |
Ryan Mitchell | 6a2ca78 | 2021-01-19 13:51:15 -0800 | [diff] [blame] | 335 | name: "idmap2_core_aidl", |
| 336 | srcs: [ |
| 337 | "idmap2d/aidl/core/android/os/FabricatedOverlayInternal.aidl", |
| 338 | "idmap2d/aidl/core/android/os/FabricatedOverlayInternalEntry.aidl", |
| 339 | "idmap2d/aidl/core/android/os/FabricatedOverlayInfo.aidl", |
| 340 | ], |
| 341 | path: "idmap2d/aidl/core/", |
| 342 | } |
| 343 | |
| 344 | filegroup { |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 345 | name: "idmap2_aidl", |
| 346 | srcs: [ |
Ryan Mitchell | 6a2ca78 | 2021-01-19 13:51:15 -0800 | [diff] [blame] | 347 | "idmap2d/aidl/services/android/os/IIdmap2.aidl", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 348 | ], |
Ryan Mitchell | 6a2ca78 | 2021-01-19 13:51:15 -0800 | [diff] [blame] | 349 | path: "idmap2d/aidl/services/", |
Mårten Kongstad | 0275123 | 2018-04-27 13:16:32 +0200 | [diff] [blame] | 350 | } |
Winson | 62ac8b5 | 2019-12-04 08:36:48 -0800 | [diff] [blame] | 351 | |
| 352 | aidl_interface { |
| 353 | name: "overlayable_policy_aidl", |
Jiyong Park | db589dd | 2020-04-13 12:55:24 +0900 | [diff] [blame] | 354 | unstable: true, |
Winson | 62ac8b5 | 2019-12-04 08:36:48 -0800 | [diff] [blame] | 355 | srcs: [":overlayable_policy_aidl_files"], |
| 356 | } |
| 357 | |
| 358 | filegroup { |
| 359 | name: "overlayable_policy_aidl_files", |
| 360 | srcs: [ |
Ryan Mitchell | 6a2ca78 | 2021-01-19 13:51:15 -0800 | [diff] [blame] | 361 | "idmap2d/aidl/services/android/os/OverlayablePolicy.aidl", |
Winson | 62ac8b5 | 2019-12-04 08:36:48 -0800 | [diff] [blame] | 362 | ], |
Ryan Mitchell | 6a2ca78 | 2021-01-19 13:51:15 -0800 | [diff] [blame] | 363 | path: "idmap2d/aidl/services/", |
Winson | 62ac8b5 | 2019-12-04 08:36:48 -0800 | [diff] [blame] | 364 | } |