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

Unified Diff: content/content_components_tracing.gyp

Issue 11411118: Add tracing support to NaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use components Created 8 years 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
Index: content/content_components_tracing.gyp
diff --git a/content/content_components_tracing.gyp b/content/content_components_tracing.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..2de31c1579046e47c3414838319fc3d56a9b6027
--- /dev/null
+++ b/content/content_components_tracing.gyp
@@ -0,0 +1,57 @@
+# Copyright (c) 2012 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.
+
bbudge 2012/12/05 02:22:28 The usual pattern when supporting a NaCl (untruste
+{
+ 'includes': [
+ '../build/common_untrusted.gypi',
bbudge 2012/12/05 02:22:28 Specifically it worries me to include this in the
+ ],
+ 'conditions': [
+ ['disable_nacl==0 and disable_nacl_untrusted==0', {
+ 'targets': [
+ {
+ 'target_name': 'tracing_untrusted',
+ 'type': 'none',
+ 'defines!': ['CONTENT_IMPLEMENTATION'],
+ 'dependencies': [
+ '../base/base_untrusted.gyp:base_untrusted',
+ '../native_client/tools.gyp:prep_toolchain',
+ '../ipc/ipc.gyp:ipc',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'variables': {
+ 'nacl_untrusted_build': 1,
+ 'nlib_target': 'libtracing_untrusted.a',
+ 'build_glibc': 0,
+ 'build_newlib': 1,
+ },
+ 'sources': [
+ 'components/tracing/tracing_messages.cc',
+ 'components/tracing/tracing_messages.h',
+ ],
+ },
+ ],
+ }],
+ ],
+ 'targets' : [
+ {
+ 'target_name': 'tracing',
+ 'type': 'static_library',
+ 'defines!': ['CONTENT_IMPLEMENTATION'],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../ipc/ipc.gyp:ipc',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'components/tracing/tracing_messages.cc',
+ 'components/tracing/tracing_messages.h',
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698