blob: e19801ab33645c90dfb3c18ea619481e52534f7b [file] [log] [blame]
Hector Dearman3e712a02017-12-19 16:39:59 +00001# 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
15source_set("service") {
16 public_deps = [
Primiano Tucci2c5488f2019-06-01 03:27:28 +010017 "../../../include/perfetto/ext/traced",
Hector Dearman3e712a02017-12-19 16:39:59 +000018 ]
19 deps = [
20 "../../../gn:default_deps",
21 "../../base",
22 "../../tracing",
23 "../../tracing:ipc",
24 ]
25 sources = [
Florian Mayer3077d182019-03-15 14:30:04 -070026 "lazy_producer.cc",
27 "lazy_producer.h",
Hector Dearman3e712a02017-12-19 16:39:59 +000028 "service.cc",
29 ]
30}
Florian Mayer3077d182019-03-15 14:30:04 -070031
32source_set("unittests") {
33 testonly = true
34 deps = [
35 ":service",
36 "../../../gn:default_deps",
37 "../../../gn:gtest_deps",
38 "../../base",
39 "../../base:test_support",
40 "../../tracing",
41 ]
42 sources = [
43 "lazy_producer_unittest.cc",
44 ]
45}