OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'tracing_interfaces', |
| 9 'type': 'none', |
| 10 'variables': { |
| 11 'mojom_files': [ |
| 12 'public/interfaces/tracing.mojom', |
| 13 ], |
| 14 'mojom_include_path': '<(DEPTH)/mojo/services', |
| 15 }, |
| 16 'includes': [ |
| 17 '../../mojo/mojom_bindings_generator_explicit.gypi', |
| 18 ], |
| 19 }, |
| 20 { |
| 21 # Technically, these should be in the mojo_services.gyp, but this causes |
| 22 # a cycle since the ios generator can't have gyp files refer to each |
| 23 # other, even if the targets don't form a cycle. |
| 24 # |
| 25 # GN version: //services/tracing:lib |
| 26 'target_name': 'tracing_lib', |
| 27 'type': 'static_library', |
| 28 'dependencies': [ |
| 29 'tracing_public', |
| 30 '../../mojo/mojo_edk.gyp:mojo_system_impl', |
| 31 '../shell/shell.gyp:shell_public', |
| 32 ], |
| 33 'sources': [ |
| 34 'trace_data_sink.cc', |
| 35 'trace_data_sink.h', |
| 36 'trace_recorder_impl.cc', |
| 37 'trace_recorder_impl.h', |
| 38 'tracing_app.cc', |
| 39 'tracing_app.h', |
| 40 ], |
| 41 }, |
| 42 { |
| 43 # GN version: //mojo/services/public/cpp |
| 44 'target_name': 'tracing_public', |
| 45 'type': 'static_library', |
| 46 'dependencies': [ |
| 47 'tracing_interfaces', |
| 48 '../../mojo/mojo_edk.gyp:mojo_system_impl', |
| 49 '../shell/shell.gyp:shell_public', |
| 50 ], |
| 51 'sources': [ |
| 52 'public/cpp/switches.cc', |
| 53 'public/cpp/switches.h', |
| 54 'public/cpp/tracing_impl.cc', |
| 55 'public/cpp/tracing_impl.h', |
| 56 'public/cpp/trace_provider_impl.cc', |
| 57 'public/cpp/trace_provider_impl.h', |
| 58 ], |
| 59 }, |
| 60 ], |
| 61 } |
OLD | NEW |