blob: b1cbcd4aaf5c87deb40c73d4449c210d146fd08b [file] [log] [blame]
Henri Chataingbbd976e2022-03-16 16:51:50 +01001
Bob Badourb57c42e2022-03-31 10:30:46 -07002package {
3 // See: http://go/android-license-faq
4 // A large-scale-change added 'default_applicable_licenses' to import
5 // all of the 'license_kinds' from "system_bt_license"
6 // to get the below license kinds:
7 // SPDX-license-identifier-Apache-2.0
8 default_applicable_licenses: ["system_bt_license"],
9}
10
Martin Geisler58836882022-04-04 10:53:59 +020011rust_defaults {
12 name: "pdl_defaults",
13 srcs: ["src/main.rs"],
Henri Chataingbbd976e2022-03-16 16:51:50 +010014 rustlibs: [
15 "libpest",
16 "libserde",
17 "libserde_json",
18 "libstructopt",
19 "libcodespan_reporting",
20 ],
21 proc_macros: [
22 "libpest_derive",
23 ],
24}
Martin Geisler58836882022-04-04 10:53:59 +020025
26rust_binary_host {
27 name: "pdl",
28 defaults: ["pdl_defaults"],
29}
30
31rust_test_host {
32 name: "pdl_inline_tests",
33 defaults: ["pdl_defaults"],
34 test_suites: ["general-tests"],
35}