blob: cdb3d2054fa5dcab5637cbe9970e3ba025d19144 [file] [log] [blame]
Craig Donnera5a719e2017-02-24 16:02:08 -08001//
2// Copyright (C) 2017 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
17cc_test {
Alec Mouri9fa2cb62019-07-15 17:36:26 -070018 name: "libnativewindow_test",
19 test_suites: [
20 "device-tests",
21 ],
Mathias Agopian2c38b562017-04-20 16:35:39 -070022 shared_libs: [
Alec Mouri9fa2cb62019-07-15 17:36:26 -070023 "libgui",
24 "liblog",
Mathias Agopian2c38b562017-04-20 16:35:39 -070025 "libnativewindow",
Alec Mouri9fa2cb62019-07-15 17:36:26 -070026 "libsync",
27 "libutils",
Mathias Agopian2c38b562017-04-20 16:35:39 -070028 "android.hardware.graphics.common@1.0",
29 ],
Mathias Agopian0e95cad2017-03-29 16:06:48 -070030 srcs: [
31 "AHardwareBufferTest.cpp",
Alec Mouri9fa2cb62019-07-15 17:36:26 -070032 "ANativeWindowTest.cpp",
33 "c_compatibility.c",
34 ],
Chih-Hung Hsieh6e367252017-10-05 14:23:38 -070035 cflags: ["-Wall", "-Werror"],
Craig Donnera5a719e2017-02-24 16:02:08 -080036}