| |
| // Copyright (C) 2008 The Android Open Source Project |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| // *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE |
| // CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE |
| // DEPENDING ON IT IN YOUR PROJECT. *** |
| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "hardware_amlogic_hwcomposer_license" |
| // to get the below license kinds: |
| // legacy_by_exception_only (by exception only) |
| // legacy_proprietary (by exception only) |
| default_applicable_licenses: ["hardware_amlogic_hwcomposer_license"], |
| } |
| |
| soong_config_module_type { |
| name: "meson_display_cc_defaults", |
| module_type: "cc_defaults", |
| config_namespace: "meson_display", |
| |
| bool_variables: [ |
| "hwc_release", |
| ], |
| |
| properties: [ |
| "cflags", |
| "srcs", |
| "shared_libs", |
| ], |
| } |
| |
| soong_config_bool_variable { |
| name: "hwc_release", |
| } |
| |
| meson_display_cc_defaults { |
| name: "mesondisplay_cc_defaults", |
| vendor: true, |
| |
| soong_config_variables: { |
| hwc_release: { |
| cflags: ["-DHWC_RELEASE=1"], |
| }, |
| }, |
| |
| shared_libs: [ |
| "libdrm", |
| "libbase", |
| "liblog", |
| "libutils", |
| "libcutils", |
| ], |
| } |