Jiyong Park | a3f8840 | 2017-05-08 13:00:02 +0900 | [diff] [blame] | 1 | // Copyright (C) 2017 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
Bob Badour | 3306e49 | 2021-02-25 15:35:37 -0800 | [diff] [blame] | 15 | package { |
| 16 | // See: http://go/android-license-faq |
| 17 | // A large-scale-change added 'default_applicable_licenses' to import |
| 18 | // all of the 'license_kinds' from "frameworks_native_license" |
| 19 | // to get the below license kinds: |
| 20 | // SPDX-license-identifier-Apache-2.0 |
| 21 | default_applicable_licenses: ["frameworks_native_license"], |
| 22 | } |
| 23 | |
Jiyong Park | a3f8840 | 2017-05-08 13:00:02 +0900 | [diff] [blame] | 24 | cc_library_shared { |
| 25 | name: "libgraphicsenv", |
| 26 | |
| 27 | srcs: [ |
Yiwei Zhang | f40fb10 | 2019-02-27 21:05:06 -0800 | [diff] [blame] | 28 | "GpuStatsInfo.cpp", |
Jiyong Park | a3f8840 | 2017-05-08 13:00:02 +0900 | [diff] [blame] | 29 | "GraphicsEnv.cpp", |
Cody Northrop | 5d32e62 | 2022-11-01 13:54:57 -0600 | [diff] [blame] | 30 | "IGpuService.cpp", |
Jiyong Park | a3f8840 | 2017-05-08 13:00:02 +0900 | [diff] [blame] | 31 | ], |
| 32 | |
Cody Northrop | 5d32e62 | 2022-11-01 13:54:57 -0600 | [diff] [blame] | 33 | cflags: [ |
| 34 | "-Wall", |
| 35 | "-Werror", |
| 36 | ], |
Chih-Hung Hsieh | 687a0d1 | 2017-10-05 15:20:11 -0700 | [diff] [blame] | 37 | |
Jiyong Park | a3f8840 | 2017-05-08 13:00:02 +0900 | [diff] [blame] | 38 | shared_libs: [ |
Yiwei Zhang | 64d8921 | 2018-11-27 19:58:29 -0800 | [diff] [blame] | 39 | "libbase", |
Yiwei Zhang | cb9d4e4 | 2019-02-06 20:22:59 -0800 | [diff] [blame] | 40 | "libbinder", |
Cody Northrop | 629ce4e | 2018-10-15 07:22:09 -0600 | [diff] [blame] | 41 | "libcutils", |
dimitry | 6d23529 | 2019-03-19 12:29:27 +0100 | [diff] [blame] | 42 | "libdl_android", |
Yiwei Zhang | 64d8921 | 2018-11-27 19:58:29 -0800 | [diff] [blame] | 43 | "liblog", |
Yiwei Zhang | cb9d4e4 | 2019-02-06 20:22:59 -0800 | [diff] [blame] | 44 | "libutils", |
Jiyong Park | a3f8840 | 2017-05-08 13:00:02 +0900 | [diff] [blame] | 45 | ], |
| 46 | |
Yiwei Zhang | 49b9ac7 | 2019-08-05 16:57:17 -0700 | [diff] [blame] | 47 | header_libs: [ |
Paul Duffin | 0802618 | 2019-09-12 15:01:28 +0100 | [diff] [blame] | 48 | "libnativeloader-headers", |
Yiwei Zhang | 49b9ac7 | 2019-08-05 16:57:17 -0700 | [diff] [blame] | 49 | ], |
| 50 | |
Jiyong Park | a3f8840 | 2017-05-08 13:00:02 +0900 | [diff] [blame] | 51 | export_include_dirs: ["include"], |
Cody Northrop | 5d32e62 | 2022-11-01 13:54:57 -0600 | [diff] [blame] | 52 | |
| 53 | product_variables: { |
| 54 | // `debuggable` is set for eng and userdebug builds |
| 55 | debuggable: { |
| 56 | cflags: [ |
| 57 | "-DANDROID_DEBUGGABLE", |
| 58 | ], |
| 59 | }, |
| 60 | }, |
Jiyong Park | a3f8840 | 2017-05-08 13:00:02 +0900 | [diff] [blame] | 61 | } |