blob: 0ef8cc4762da7316013ab0f5f30ba2b6d3558c68 [file] [log] [blame]
Dan Willemsend9608942018-11-16 16:08:45 -08001// Copyright (C) 2016 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_defaults {
16 name: "performanced_defaults",
17 static_libs: [
18 "libperformance",
19 "libvr_manager",
20 ],
21 shared_libs: [
22 "libbinder",
23 "libbase",
24 "libcutils",
25 "liblog",
26 "libutils",
27 "libpdx_default_transport",
28 ],
29}
30
31cc_binary {
32 name: "performanced",
Roman Kiryanov70ea73c2020-11-17 22:33:18 -080033 system_ext_specific: true,
Dan Willemsend9608942018-11-16 16:08:45 -080034 defaults: ["performanced_defaults"],
35 srcs: [
36 "cpu_set.cpp",
37 "main.cpp",
38 "performance_service.cpp",
39 "task.cpp",
40 ],
41 cflags: [
42 "-DLOG_TAG=\"performanced\"",
43 "-DTRACE=0",
44 "-Wall",
45 "-Werror",
46 ],
47 init_rc: ["performanced.rc"],
48}
49
50cc_test {
51 name: "performance_service_tests",
52 defaults: ["performanced_defaults"],
53 srcs: ["performance_service_tests.cpp"],
54}