Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 # | |
| 3 # Use of this source code is governed by a BSD-style license that can be | |
| 4 # found in the LICENSE file. | |
| 5 | |
|
bbudge
2012/12/05 02:22:28
The usual pattern when supporting a NaCl (untruste
| |
| 6 { | |
| 7 'includes': [ | |
| 8 '../build/common_untrusted.gypi', | |
|
bbudge
2012/12/05 02:22:28
Specifically it worries me to include this in the
| |
| 9 ], | |
| 10 'conditions': [ | |
| 11 ['disable_nacl==0 and disable_nacl_untrusted==0', { | |
| 12 'targets': [ | |
| 13 { | |
| 14 'target_name': 'tracing_untrusted', | |
| 15 'type': 'none', | |
| 16 'defines!': ['CONTENT_IMPLEMENTATION'], | |
| 17 'dependencies': [ | |
| 18 '../base/base_untrusted.gyp:base_untrusted', | |
| 19 '../native_client/tools.gyp:prep_toolchain', | |
| 20 '../ipc/ipc.gyp:ipc', | |
| 21 ], | |
| 22 'include_dirs': [ | |
| 23 '..', | |
| 24 ], | |
| 25 'variables': { | |
| 26 'nacl_untrusted_build': 1, | |
| 27 'nlib_target': 'libtracing_untrusted.a', | |
| 28 'build_glibc': 0, | |
| 29 'build_newlib': 1, | |
| 30 }, | |
| 31 'sources': [ | |
| 32 'components/tracing/tracing_messages.cc', | |
| 33 'components/tracing/tracing_messages.h', | |
| 34 ], | |
| 35 }, | |
| 36 ], | |
| 37 }], | |
| 38 ], | |
| 39 'targets' : [ | |
| 40 { | |
| 41 'target_name': 'tracing', | |
| 42 'type': 'static_library', | |
| 43 'defines!': ['CONTENT_IMPLEMENTATION'], | |
| 44 'dependencies': [ | |
| 45 '../base/base.gyp:base', | |
| 46 '../ipc/ipc.gyp:ipc', | |
| 47 ], | |
| 48 'include_dirs': [ | |
| 49 '..', | |
| 50 ], | |
| 51 'sources': [ | |
| 52 'components/tracing/tracing_messages.cc', | |
| 53 'components/tracing/tracing_messages.h', | |
| 54 ], | |
| 55 }, | |
| 56 ], | |
| 57 } | |
| OLD | NEW |