Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1590)

Unified Diff: services/tracing/tracing.gyp

Issue 1878893002: Move //mojo/services tracing & catalog to //services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@63move
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/tracing/trace_recorder_impl.cc ('k') | services/tracing/tracing_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/tracing/tracing.gyp
diff --git a/services/tracing/tracing.gyp b/services/tracing/tracing.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..04aad5c98d73dfe1c1a321512e7e4b320a3a06e9
--- /dev/null
+++ b/services/tracing/tracing.gyp
@@ -0,0 +1,61 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'tracing_interfaces',
+ 'type': 'none',
+ 'variables': {
+ 'mojom_files': [
+ 'public/interfaces/tracing.mojom',
+ ],
+ 'mojom_include_path': '<(DEPTH)/mojo/services',
+ },
+ 'includes': [
+ '../../mojo/mojom_bindings_generator_explicit.gypi',
+ ],
+ },
+ {
+ # Technically, these should be in the mojo_services.gyp, but this causes
+ # a cycle since the ios generator can't have gyp files refer to each
+ # other, even if the targets don't form a cycle.
+ #
+ # GN version: //services/tracing:lib
+ 'target_name': 'tracing_lib',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'tracing_public',
+ '../../mojo/mojo_edk.gyp:mojo_system_impl',
+ '../shell/shell.gyp:shell_public',
+ ],
+ 'sources': [
+ 'trace_data_sink.cc',
+ 'trace_data_sink.h',
+ 'trace_recorder_impl.cc',
+ 'trace_recorder_impl.h',
+ 'tracing_app.cc',
+ 'tracing_app.h',
+ ],
+ },
+ {
+ # GN version: //mojo/services/public/cpp
+ 'target_name': 'tracing_public',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'tracing_interfaces',
+ '../../mojo/mojo_edk.gyp:mojo_system_impl',
+ '../shell/shell.gyp:shell_public',
+ ],
+ 'sources': [
+ 'public/cpp/switches.cc',
+ 'public/cpp/switches.h',
+ 'public/cpp/tracing_impl.cc',
+ 'public/cpp/tracing_impl.h',
+ 'public/cpp/trace_provider_impl.cc',
+ 'public/cpp/trace_provider_impl.h',
+ ],
+ },
+ ],
+}
« no previous file with comments | « services/tracing/trace_recorder_impl.cc ('k') | services/tracing/tracing_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698