blob: af50a2980c244a25c3acfe006004a515dbb287ba [file] [log] [blame]
Jiyong Parka3f88402017-05-08 13:00:02 +09001// 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 Badour3306e492021-02-25 15:35:37 -080015package {
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 Parka3f88402017-05-08 13:00:02 +090024cc_library_shared {
25 name: "libgraphicsenv",
26
27 srcs: [
Yiwei Zhangf40fb102019-02-27 21:05:06 -080028 "GpuStatsInfo.cpp",
Jiyong Parka3f88402017-05-08 13:00:02 +090029 "GraphicsEnv.cpp",
Cody Northrop5d32e622022-11-01 13:54:57 -060030 "IGpuService.cpp",
Jiyong Parka3f88402017-05-08 13:00:02 +090031 ],
32
Cody Northrop5d32e622022-11-01 13:54:57 -060033 cflags: [
34 "-Wall",
35 "-Werror",
36 ],
Chih-Hung Hsieh687a0d12017-10-05 15:20:11 -070037
Jiyong Parka3f88402017-05-08 13:00:02 +090038 shared_libs: [
Yiwei Zhang64d89212018-11-27 19:58:29 -080039 "libbase",
Yiwei Zhangcb9d4e42019-02-06 20:22:59 -080040 "libbinder",
Cody Northrop629ce4e2018-10-15 07:22:09 -060041 "libcutils",
dimitry6d235292019-03-19 12:29:27 +010042 "libdl_android",
Yiwei Zhang64d89212018-11-27 19:58:29 -080043 "liblog",
Yiwei Zhangcb9d4e42019-02-06 20:22:59 -080044 "libutils",
Jiyong Parka3f88402017-05-08 13:00:02 +090045 ],
46
Yiwei Zhang49b9ac72019-08-05 16:57:17 -070047 header_libs: [
Paul Duffin08026182019-09-12 15:01:28 +010048 "libnativeloader-headers",
Yiwei Zhang49b9ac72019-08-05 16:57:17 -070049 ],
50
Jiyong Parka3f88402017-05-08 13:00:02 +090051 export_include_dirs: ["include"],
Cody Northrop5d32e622022-11-01 13:54:57 -060052
53 product_variables: {
54 // `debuggable` is set for eng and userdebug builds
55 debuggable: {
56 cflags: [
57 "-DANDROID_DEBUGGABLE",
58 ],
59 },
60 },
Jiyong Parka3f88402017-05-08 13:00:02 +090061}