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    shared_libs: [
28        "libstagefright",
29        "libmedia",
30        "libmedia_omx",
31        "libutils",
32        "libbinder",
33        "libstagefright_foundation",
34        "libjpeg",
35        "libui",
36        "libgui",
37        "libcutils",
38        "liblog",
39        "libEGL",
40        "libGLESv2",
41    ],
42
43    include_dirs: [
44        "frameworks/av/media/libstagefright",
45        "frameworks/av/media/libstagefright/include",
46        "frameworks/native/include/media/openmax",
47    ],
48
49    cflags: [
50        "-Werror",
51        "-Wall",
52        "-Wno-multichar",
53        //"-UNDEBUG",
54    ]
55}
56