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

Side by Side Diff: ppapi/ppapi_cpp.gypi

Issue 7320002: Allow C/C++ targets to be suffixed for use in Native Client checkout. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | « ppapi/ppapi.gyp ('k') | ppapi/ppapi_gl.gypi » ('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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'ppapi_c', 8 'target_name': 'ppapi_c<(nacl_ppapi_library_suffix)',
9 'type': 'none', 9 'type': 'none',
10 'all_dependent_settings': { 10 'all_dependent_settings': {
11 'include_dirs': [ 11 'include_dirs': [
12 '..', 12 '..',
13 ], 13 ],
14 }, 14 },
15 'sources': [ 15 'sources': [
16 'c/pp_bool.h', 16 'c/pp_bool.h',
17 'c/pp_completion_callback.h', 17 'c/pp_completion_callback.h',
18 'c/pp_errors.h', 18 'c/pp_errors.h',
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 ], 115 ],
116 'conditions': [ 116 'conditions': [
117 ['p2p_apis==1', { 117 ['p2p_apis==1', {
118 'sources': [ 118 'sources': [
119 'c/dev/ppb_transport_dev.h', 119 'c/dev/ppb_transport_dev.h',
120 ], 120 ],
121 }], 121 }],
122 ], 122 ],
123 }, 123 },
124 { 124 {
125 'target_name': 'ppapi_cpp_objects', 125 'target_name': 'ppapi_cpp_objects<(nacl_ppapi_library_suffix)',
126 'type': 'static_library', 126 'type': 'static_library',
127 'dependencies': [ 127 'dependencies': [
128 'ppapi_c' 128 'ppapi_c<(nacl_ppapi_library_suffix)'
129 ], 129 ],
130 'include_dirs': [ 130 'include_dirs': [
131 '..', 131 '..',
132 ], 132 ],
133 'sources': [ 133 'sources': [
134 'cpp/audio.cc', 134 'cpp/audio.cc',
135 'cpp/audio.h', 135 'cpp/audio.h',
136 'cpp/audio_config.cc', 136 'cpp/audio_config.cc',
137 'cpp/audio_config.h', 137 'cpp/audio_config.h',
138 'cpp/common.h', 138 'cpp/common.h',
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 }], 253 }],
254 ['p2p_apis==1', { 254 ['p2p_apis==1', {
255 'sources': [ 255 'sources': [
256 'cpp/dev/transport_dev.cc', 256 'cpp/dev/transport_dev.cc',
257 'cpp/dev/transport_dev.h', 257 'cpp/dev/transport_dev.h',
258 ], 258 ],
259 }], 259 }],
260 ], 260 ],
261 }, 261 },
262 { 262 {
263 'target_name': 'ppapi_cpp', 263 'target_name': 'ppapi_cpp<(nacl_ppapi_library_suffix)',
264 'type': 'static_library', 264 'type': 'static_library',
265 'dependencies': [ 265 'dependencies': [
266 'ppapi_c', 266 'ppapi_c<(nacl_ppapi_library_suffix)',
267 'ppapi_cpp_objects', 267 'ppapi_cpp_objects<(nacl_ppapi_library_suffix)',
268 ], 268 ],
269 'include_dirs': [ 269 'include_dirs': [
270 '..', 270 '..',
271 ], 271 ],
272 'sources': [ 272 'sources': [
273 'cpp/module_embedder.h', 273 'cpp/module_embedder.h',
274 'cpp/ppp_entrypoints.cc', 274 'cpp/ppp_entrypoints.cc',
275 ], 275 ],
276 'conditions': [ 276 'conditions': [
277 ['OS=="linux"', { 277 ['OS=="linux"', {
278 'cflags': ['-Wextra', '-pedantic'], 278 'cflags': ['-Wextra', '-pedantic'],
279 }], 279 }],
280 ['OS=="mac"', { 280 ['OS=="mac"', {
281 'xcode_settings': { 281 'xcode_settings': {
282 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], 282 'WARNING_CFLAGS': ['-Wextra', '-pedantic'],
283 }, 283 },
284 }] 284 }]
285 ], 285 ],
286 }, 286 },
287 ], 287 ],
288 } 288 }
OLDNEW
« no previous file with comments | « ppapi/ppapi.gyp ('k') | ppapi/ppapi_gl.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698