1// Copyright 2013 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
15cc_binary {
16    name: "screenrecord",
17
18    srcs: [
19        "screenrecord.cpp",
20        "EglWindow.cpp",
21        "FrameOutput.cpp",
22        "TextRenderer.cpp",
23        "Overlay.cpp",
24        "Program.cpp",
25    ],
26
27    header_libs: [
28        "libmediadrm_headers",
29        "libmediametrics_headers",
30    ],
31
32    shared_libs: [
33        "libstagefright",
34        "libmedia",
35        "libmediandk",
36        "libmedia_omx",
37        "libutils",
38        "libbinder",
39        "libstagefright_foundation",
40        "libjpeg",
41        "libui",
42        "libgui",
43        "libcutils",
44        "liblog",
45        "libEGL",
46        "libGLESv2",
47    ],
48
49    include_dirs: [
50        "frameworks/av/media/libstagefright",
51        "frameworks/av/media/libstagefright/include",
52        "frameworks/native/include/media/openmax",
53    ],
54
55    cflags: [
56        "-Werror",
57        "-Wall",
58        "-Wno-multichar",
59        //"-UNDEBUG",
60    ]
61}
62