1package {
2    default_applicable_licenses: ["frameworks_compile_mclinker_license"],
3}
4
5// Added automatically by a large-scale-change that took the approach of
6// 'apply every license found to every target'. While this makes sure we respect
7// every license restriction, it may not be entirely correct.
8//
9// e.g. GPL in an MIT project might only apply to the contrib/ directory.
10//
11// Please consider splitting the single license below into multiple licenses,
12// taking care not to lose any license_kind information, and overriding the
13// default license using the 'licenses: [...]' property on targets as needed.
14//
15// For unused files, consider creating a 'fileGroup' with "//visibility:private"
16// to attach the license to, and including a comment whether the files may be
17// used in the current project.
18// See: http://go/android-license-faq
19license {
20    name: "frameworks_compile_mclinker_license",
21    visibility: [":__subpackages__"],
22    license_kinds: [
23        "SPDX-license-identifier-BSD",
24        "SPDX-license-identifier-MIT",
25        "SPDX-license-identifier-NCSA",
26    ],
27    license_text: [
28        "LICENSE.TXT",
29    ],
30}
31
32cc_defaults {
33    name: "mcld-defaults",
34    defaults: ["llvm-defaults"],
35
36    target: {
37        arm_on_x86: {
38            cflags: [
39                "-DPROVIDE_ARM_CODEGEN",
40                "-DFORCE_BUILD_ARM",
41            ],
42        },
43        arm_on_x86_64: {
44            cflags: [
45                "-DPROVIDE_ARM_CODEGEN",
46                "-DFORCE_BUILD_ARM",
47            ],
48        },
49    },
50
51    include_dirs: [
52        "frameworks/compile/mclinker/include",
53    ],
54}
55
56subdirs = [
57    "lib",
58    "tools/mcld",
59]
60