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

Side by Side Diff: ipc/ipc.gypi

Issue 10534115: Add an untrusted NaCl build for IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ipc/ipc.gyp ('k') | ipc/ipc_untrusted.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'ipc_target': 0, 8 'ipc_target': 0,
9 }, 9 },
10 'target_conditions': [ 10 'target_conditions': [
11 # This part is shared between the targets defined below. 11 # This part is shared between the targets defined below.
12 ['ipc_target==1', { 12 ['ipc_target==1', {
13 'sources': [ 13 'sources': [
14 'file_descriptor_set_posix.cc', 14 'file_descriptor_set_posix.cc',
15 'file_descriptor_set_posix.h', 15 'file_descriptor_set_posix.h',
16 'ipc_channel.h', 16 'ipc_channel.h',
17 'ipc_channel.cc', 17 'ipc_channel.cc',
18 'ipc_channel_handle.h', 18 'ipc_channel_handle.h',
19 'ipc_channel_nacl.cc',
20 'ipc_channel_nacl.h',
19 'ipc_channel_posix.cc', 21 'ipc_channel_posix.cc',
20 'ipc_channel_posix.h', 22 'ipc_channel_posix.h',
21 'ipc_channel_proxy.cc', 23 'ipc_channel_proxy.cc',
22 'ipc_channel_proxy.h', 24 'ipc_channel_proxy.h',
23 'ipc_channel_reader.cc', 25 'ipc_channel_reader.cc',
24 'ipc_channel_reader.h', 26 'ipc_channel_reader.h',
25 'ipc_channel_win.cc', 27 'ipc_channel_win.cc',
26 'ipc_channel_win.h', 28 'ipc_channel_win.h',
27 'ipc_descriptors.h', 29 'ipc_descriptors.h',
28 'ipc_export.h', 30 'ipc_export.h',
(...skipping 23 matching lines...) Expand all
52 'param_traits_write_macros.h', 54 'param_traits_write_macros.h',
53 'struct_constructor_macros.h', 55 'struct_constructor_macros.h',
54 'struct_destructor_macros.h', 56 'struct_destructor_macros.h',
55 ], 57 ],
56 'defines': [ 58 'defines': [
57 'IPC_IMPLEMENTATION', 59 'IPC_IMPLEMENTATION',
58 ], 60 ],
59 'include_dirs': [ 61 'include_dirs': [
60 '..', 62 '..',
61 ], 63 ],
64 'target_conditions': [
65 ['>(nacl_untrusted_build)==1', {
66 'sources!': [
67 'ipc_channel_posix.cc',
68 ],
69 }],
70 ],
62 }], 71 }],
63 ], 72 ],
64 }, 73 },
65 'targets': [
66 {
67 'target_name': 'ipc',
68 'type': '<(component)',
69 'variables': {
70 'ipc_target': 1,
71 },
72 'dependencies': [
73 '../base/base.gyp:base',
74 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
75 ],
76 # TODO(gregoryd): direct_dependent_settings should be shared with the
77 # 64-bit target, but it doesn't work due to a bug in gyp
78 'direct_dependent_settings': {
79 'include_dirs': [
80 '..',
81 ],
82 },
83 },
84 ],
85 'conditions': [
86 ['OS=="win"', {
87 'targets': [
88 {
89 'target_name': 'ipc_win64',
90 'type': '<(component)',
91 'variables': {
92 'ipc_target': 1,
93 },
94 'dependencies': [
95 '../base/base.gyp:base_nacl_win64',
96 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations_win64',
97 ],
98 # TODO(gregoryd): direct_dependent_settings should be shared with the
99 # 32-bit target, but it doesn't work due to a bug in gyp
100 'direct_dependent_settings': {
101 'include_dirs': [
102 '..',
103 ],
104 },
105 'configurations': {
106 'Common_Base': {
107 'msvs_target_platform': 'x64',
108 },
109 },
110 },
111 ],
112 }],
113 ],
114 } 74 }
OLDNEW
« no previous file with comments | « ipc/ipc.gyp ('k') | ipc/ipc_untrusted.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698