| 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 'use_new_wrapper_types': 'false', | |
| 16 }, | |
| 17 'includes': [ | |
| 18 '../../mojo/mojom_bindings_generator_explicit.gypi', | |
| 19 ], | |
| 20 }, | |
| 21 { | |
| 22 # Technically, these should be in the mojo_services.gyp, but this causes | |
| 23 # a cycle since the ios generator can't have gyp files refer to each | |
| 24 # other, even if the targets don't form a cycle. | |
| 25 # | |
| 26 # GN version: //services/tracing:lib | |
| 27 'target_name': 'tracing_lib', | |
| 28 'type': 'static_library', | |
| 29 'dependencies': [ | |
| 30 'tracing_public', | |
| 31 '../../mojo/mojo_edk.gyp:mojo_system_impl', | |
| 32 '../shell/shell_public.gyp:shell_public', | |
| 33 ], | |
| 34 'sources': [ | |
| 35 'trace_data_sink.cc', | |
| 36 'trace_data_sink.h', | |
| 37 'trace_recorder_impl.cc', | |
| 38 'trace_recorder_impl.h', | |
| 39 'tracing_app.cc', | |
| 40 'tracing_app.h', | |
| 41 ], | |
| 42 }, | |
| 43 { | |
| 44 # GN version: //mojo/services/public/cpp | |
| 45 'target_name': 'tracing_public', | |
| 46 'type': 'static_library', | |
| 47 'dependencies': [ | |
| 48 'tracing_interfaces', | |
| 49 '../../mojo/mojo_edk.gyp:mojo_system_impl', | |
| 50 '../shell/shell_public.gyp:shell_public', | |
| 51 ], | |
| 52 'sources': [ | |
| 53 'public/cpp/switches.cc', | |
| 54 'public/cpp/switches.h', | |
| 55 'public/cpp/tracing_impl.cc', | |
| 56 'public/cpp/tracing_impl.h', | |
| 57 'public/cpp/trace_provider_impl.cc', | |
| 58 'public/cpp/trace_provider_impl.h', | |
| 59 ], | |
| 60 }, | |
| 61 ], | |
| 62 } | |
| OLD | NEW |