1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "development_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-BSD
7    //   SPDX-license-identifier-CPL-1.0
8    //   SPDX-license-identifier-MIT
9    //   SPDX-license-identifier-Unicode-DFS
10    //   SPDX-license-identifier-W3C
11    default_applicable_licenses: ["development_license"],
12}
13
14genrule {
15    name: "platform_tools_version",
16    cmd: "sed 's/$${PLATFORM_SDK_VERSION}/0/ ; s/^Pkg.Revision=\\(.*\\)/#define PLATFORM_TOOLS_VERSION \"\\1\"/p ; d' $(in) > $(out)",
17    srcs: ["plat_tools_source.prop_template"],
18    out: ["platform_tools_version.h"],
19}
20