blob: 41e672d48b435363a1ce3d52f7e36d224ee7b235 [file] [log] [blame]
baocheng sun264b69b2023-09-21 18:53:35 +08001
2// Copyright (C) 2008 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE
17// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
18// DEPENDING ON IT IN YOUR PROJECT. ***
19package {
20 // See: http://go/android-license-faq
21 // A large-scale-change added 'default_applicable_licenses' to import
22 // all of the 'license_kinds' from "hardware_amlogic_hwcomposer_license"
23 // to get the below license kinds:
24 // legacy_by_exception_only (by exception only)
25 // legacy_proprietary (by exception only)
26 default_applicable_licenses: ["hardware_amlogic_hwcomposer_license"],
27}
28
29soong_config_module_type {
30 name: "meson_display_cc_defaults",
31 module_type: "cc_defaults",
32 config_namespace: "meson_display",
33
34 bool_variables: [
35 "hwc_release",
36 ],
37
38 properties: [
39 "cflags",
40 "srcs",
41 "shared_libs",
42 ],
43}
44
45soong_config_bool_variable {
46 name: "hwc_release",
47}
48
49meson_display_cc_defaults {
50 name: "mesondisplay_cc_defaults",
51 vendor: true,
52
53 soong_config_variables: {
54 hwc_release: {
55 cflags: ["-DHWC_RELEASE=1"],
56 },
57 },
58
59 shared_libs: [
60 "libdrm",
61 "libbase",
62 "liblog",
63 "libutils",
64 "libcutils",
baocheng sun264b69b2023-09-21 18:53:35 +080065 ],
66}