blob: b1cbcd4aaf5c87deb40c73d4449c210d146fd08b [file] [log] [blame]
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "system_bt_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["system_bt_license"],
}
rust_defaults {
name: "pdl_defaults",
srcs: ["src/main.rs"],
rustlibs: [
"libpest",
"libserde",
"libserde_json",
"libstructopt",
"libcodespan_reporting",
],
proc_macros: [
"libpest_derive",
],
}
rust_binary_host {
name: "pdl",
defaults: ["pdl_defaults"],
}
rust_test_host {
name: "pdl_inline_tests",
defaults: ["pdl_defaults"],
test_suites: ["general-tests"],
}