Home | History | Annotate | Download | only in service
      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 = [
     17     "../../../include/perfetto/traced",
     18   ]
     19   deps = [
     20     "../../../gn:default_deps",
     21     "../../base",
     22     "../../tracing",
     23     "../../tracing:ipc",
     24   ]
     25   sources = [
     26     "lazy_producer.cc",
     27     "lazy_producer.h",
     28     "service.cc",
     29   ]
     30 }
     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 }
     46