Hector Dearman | 3e712a0 | 2017-12-19 16:39:59 +0000 | [diff] [blame] | 1 | # 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 | |
| 15 | source_set("service") { |
| 16 | public_deps = [ |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame^] | 17 | "../../../include/perfetto/ext/traced", |
Hector Dearman | 3e712a0 | 2017-12-19 16:39:59 +0000 | [diff] [blame] | 18 | ] |
| 19 | deps = [ |
| 20 | "../../../gn:default_deps", |
| 21 | "../../base", |
| 22 | "../../tracing", |
| 23 | "../../tracing:ipc", |
| 24 | ] |
| 25 | sources = [ |
Florian Mayer | 3077d18 | 2019-03-15 14:30:04 -0700 | [diff] [blame] | 26 | "lazy_producer.cc", |
| 27 | "lazy_producer.h", |
Hector Dearman | 3e712a0 | 2017-12-19 16:39:59 +0000 | [diff] [blame] | 28 | "service.cc", |
| 29 | ] |
| 30 | } |
Florian Mayer | 3077d18 | 2019-03-15 14:30:04 -0700 | [diff] [blame] | 31 | |
| 32 | source_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 | } |