blob: 50df1641107d9940cc652db9de6ff47e25af4bb6 [file] [log] [blame]
Primiano Tucciae2879e2017-09-27 11:02:09 +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
Oystein Eftevaagdd727e42017-12-05 08:49:55 -080015import("gn/perfetto.gni")
16
Primiano Tucciae2879e2017-09-27 11:02:09 +090017group("all") {
18 testonly = true # allow to build also test targets
19 deps = [
20 ":tests",
Oystein Eftevaagdd727e42017-12-05 08:49:55 -080021 "ftrace_reader:ftrace_reader_demo",
22 "ipc/src/protoc_plugin:ipc_plugin($host_toolchain)",
23 "protozero/src/protoc_plugin($host_toolchain)",
24 "tools/ftrace_proto_gen:ftrace_proto_gen",
Primiano Tucciae2879e2017-09-27 11:02:09 +090025 ]
Primiano Tucciae2879e2017-09-27 11:02:09 +090026}
27
28group("tests") {
29 testonly = true
30 deps = [
Oystein Eftevaagdd727e42017-12-05 08:49:55 -080031 "ftrace_reader:ftrace_reader_integrationtests",
32 "ftrace_reader:ftrace_reader_unittests",
33 "ipc:ipc_unittests",
34 "perfetto_base:perfetto_base_unittests",
35 "protozero:protozero_unittests",
36 "tools/sanitizers_unittests",
37 "tracing:tracing_unittests",
Primiano Tucciae2879e2017-09-27 11:02:09 +090038 ]
Oystein Eftevaagdd727e42017-12-05 08:49:55 -080039
40 if (!build_with_chromium) {
41 deps += [ "tracing:tracing_benchmarks" ]
42 }
Primiano Tucciae2879e2017-09-27 11:02:09 +090043}