blob: a96a07a9b8a1a059e7429b492fe5f2a345f49cf1 [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",
Yiwei Zhangcb9d4e42019-02-06 20:22:59 -080030 "IGpuService.cpp"
Jiyong Parka3f88402017-05-08 13:00:02 +090031 ],
32
Chih-Hung Hsieh687a0d12017-10-05 15:20:11 -070033 cflags: ["-Wall", "-Werror"],
34
Jiyong Parka3f88402017-05-08 13:00:02 +090035 shared_libs: [
Yiwei Zhang64d89212018-11-27 19:58:29 -080036 "libbase",
Yiwei Zhangcb9d4e42019-02-06 20:22:59 -080037 "libbinder",
Cody Northrop629ce4e2018-10-15 07:22:09 -060038 "libcutils",
dimitry6d235292019-03-19 12:29:27 +010039 "libdl_android",
Yiwei Zhang64d89212018-11-27 19:58:29 -080040 "liblog",
Yiwei Zhangcb9d4e42019-02-06 20:22:59 -080041 "libutils",
Jiyong Parka3f88402017-05-08 13:00:02 +090042 ],
43
Yiwei Zhang49b9ac72019-08-05 16:57:17 -070044 header_libs: [
Paul Duffin08026182019-09-12 15:01:28 +010045 "libnativeloader-headers",
Yiwei Zhang49b9ac72019-08-05 16:57:17 -070046 ],
47
Jiyong Parka3f88402017-05-08 13:00:02 +090048 export_include_dirs: ["include"],
49}