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

Side by Side Diff: ppapi/ppapi_tests.gyp

Issue 8635015: Refactor use of ppapi_cpp and ppapi_tests to avoid include of untrusted.gypi (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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_internal.gyp ('k') | ppapi/ppapi_tests.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_example', 8 'target_name': 'ppapi_example',
9 'dependencies': [ 9 'dependencies': [
10 'ppapi.gyp:ppapi_cpp' 10 'ppapi_cpp.gyp:ppapi_cpp'
11 ], 11 ],
12 'xcode_settings': { 12 'xcode_settings': {
13 'INFOPLIST_FILE': 'example/Info.plist', 13 'INFOPLIST_FILE': 'example/Info.plist',
14 }, 14 },
15 'sources': [ 15 'sources': [
16 'example/example.cc', 16 'example/example.cc',
17 ], 17 ],
18 'conditions': [ 18 'conditions': [
19 ['OS=="win"', { 19 ['OS=="win"', {
20 'type': 'shared_library', 20 'type': 'shared_library',
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 'tests/test_video_decoder.cc', 136 'tests/test_video_decoder.cc',
137 'tests/test_video_decoder.h', 137 'tests/test_video_decoder.h',
138 138
139 # Deprecated test cases. 139 # Deprecated test cases.
140 'tests/test_instance_deprecated.cc', 140 'tests/test_instance_deprecated.cc',
141 'tests/test_instance_deprecated.h', 141 'tests/test_instance_deprecated.h',
142 'tests/test_var_deprecated.cc', 142 'tests/test_var_deprecated.cc',
143 'tests/test_var_deprecated.h', 143 'tests/test_var_deprecated.h',
144 ], 144 ],
145 'dependencies': [ 145 'dependencies': [
146 'ppapi.gyp:ppapi_cpp', 146 'ppapi_cpp.gyp:ppapi_cpp',
147 'ppapi_internal.gyp:ppapi_shared', 147 'ppapi_internal.gyp:ppapi_shared',
148 ], 148 ],
149 'run_as': { 149 'run_as': {
150 'action': [ 150 'action': [
151 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)', 151 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)chrome<(EXECUTABLE_SUFFIX)',
152 '--enable-pepper-testing', 152 '--enable-pepper-testing',
153 '--enable-accelerated-plugins', 153 '--enable-accelerated-plugins',
154 '--register-pepper-plugins=$(TargetPath);application/x-ppapi-tests', 154 '--register-pepper-plugins=$(TargetPath);application/x-ppapi-tests',
155 'file://$(ProjectDir)/tests/test_case.html?testcase=', 155 'file://$(ProjectDir)/tests/test_case.html?testcase=',
156 ], 156 ],
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 # }, 192 # },
193 # ], 193 # ],
194 }, 194 },
195 { 195 {
196 'target_name': 'ppapi_unittests', 196 'target_name': 'ppapi_unittests',
197 'type': 'executable', 197 'type': 'executable',
198 'variables': { 198 'variables': {
199 'chromium_code': 1, 199 'chromium_code': 1,
200 }, 200 },
201 'dependencies': [ 201 'dependencies': [
202 'ppapi_proxy', 202 'ppapi_internal.gyp:ppapi_proxy',
203 'ppapi_shared', 203 'ppapi_internal.gyp:ppapi_shared',
204 '../base/base.gyp:test_support_base', 204 '../base/base.gyp:test_support_base',
205 '../gpu/gpu.gyp:gpu_ipc', 205 '../gpu/gpu.gyp:gpu_ipc',
206 '../ipc/ipc.gyp:ipc', 206 '../ipc/ipc.gyp:ipc',
207 '../ipc/ipc.gyp:test_support_ipc', 207 '../ipc/ipc.gyp:test_support_ipc',
208 '../testing/gmock.gyp:gmock', 208 '../testing/gmock.gyp:gmock',
209 '../testing/gtest.gyp:gtest', 209 '../testing/gtest.gyp:gtest',
210 '../ui/gfx/surface/surface.gyp:surface', 210 '../ui/gfx/surface/surface.gyp:surface',
211 ], 211 ],
212 'sources': [ 212 'sources': [
213 'proxy/run_all_unittests.cc', 213 'proxy/run_all_unittests.cc',
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 '-Wl,-exported_symbol,_PPP_ShutdownModule' 258 '-Wl,-exported_symbol,_PPP_ShutdownModule'
259 ]}, 259 ]},
260 }], 260 }],
261 ], 261 ],
262 }, 262 },
263 }, 263 },
264 { 264 {
265 'target_name': 'ppapi_example_mouse_lock', 265 'target_name': 'ppapi_example_mouse_lock',
266 'dependencies': [ 266 'dependencies': [
267 'ppapi_example_skeleton', 267 'ppapi_example_skeleton',
268 'ppapi.gyp:ppapi_cpp', 268 'ppapi_cpp.gyp:ppapi_cpp',
269 ], 269 ],
270 'sources': [ 270 'sources': [
271 'examples/mouse_lock/mouse_lock.cc', 271 'examples/mouse_lock/mouse_lock.cc',
272 ], 272 ],
273 }, 273 },
274 274
275 { 275 {
276 'target_name': 'ppapi_example_c_stub', 276 'target_name': 'ppapi_example_c_stub',
277 'dependencies': [ 277 'dependencies': [
278 'ppapi_example_skeleton', 278 'ppapi_example_skeleton',
279 'ppapi.gyp:ppapi_c', 279 'ppapi.gyp:ppapi_c',
280 ], 280 ],
281 'sources': [ 281 'sources': [
282 'examples/stub/stub.c', 282 'examples/stub/stub.c',
283 ], 283 ],
284 }, 284 },
285 { 285 {
286 'target_name': 'ppapi_example_cc_stub', 286 'target_name': 'ppapi_example_cc_stub',
287 'dependencies': [ 287 'dependencies': [
288 'ppapi_example_skeleton', 288 'ppapi_example_skeleton',
289 'ppapi.gyp:ppapi_cpp', 289 'ppapi_cpp.gyp:ppapi_cpp',
290 ], 290 ],
291 'sources': [ 291 'sources': [
292 'examples/stub/stub.cc', 292 'examples/stub/stub.cc',
293 ], 293 ],
294 }, 294 },
295 { 295 {
296 'target_name': 'ppapi_example_audio', 296 'target_name': 'ppapi_example_audio',
297 'dependencies': [ 297 'dependencies': [
298 'ppapi_example_skeleton', 298 'ppapi_example_skeleton',
299 'ppapi.gyp:ppapi_cpp', 299 'ppapi_cpp.gyp:ppapi_cpp',
300 ], 300 ],
301 'sources': [ 301 'sources': [
302 'examples/audio/audio.cc', 302 'examples/audio/audio.cc',
303 ], 303 ],
304 }, 304 },
305 { 305 {
306 'target_name': 'ppapi_example_file_chooser', 306 'target_name': 'ppapi_example_file_chooser',
307 'dependencies': [ 307 'dependencies': [
308 'ppapi_example_skeleton', 308 'ppapi_example_skeleton',
309 'ppapi.gyp:ppapi_cpp', 309 'ppapi_cpp.gyp:ppapi_cpp',
310 ], 310 ],
311 'sources': [ 311 'sources': [
312 'examples/file_chooser/file_chooser.cc', 312 'examples/file_chooser/file_chooser.cc',
313 ], 313 ],
314 }, 314 },
315 { 315 {
316 'target_name': 'ppapi_example_graphics_2d', 316 'target_name': 'ppapi_example_graphics_2d',
317 'dependencies': [ 317 'dependencies': [
318 'ppapi_example_skeleton', 318 'ppapi_example_skeleton',
319 'ppapi.gyp:ppapi_c', 319 'ppapi.gyp:ppapi_c',
320 ], 320 ],
321 'sources': [ 321 'sources': [
322 'examples/2d/graphics_2d_example.c', 322 'examples/2d/graphics_2d_example.c',
323 ], 323 ],
324 }, 324 },
325 { 325 {
326 'target_name': 'ppapi_example_ime', 326 'target_name': 'ppapi_example_ime',
327 'dependencies': [ 327 'dependencies': [
328 'ppapi_example_skeleton', 328 'ppapi_example_skeleton',
329 'ppapi.gyp:ppapi_cpp', 329 'ppapi_cpp.gyp:ppapi_cpp',
330 ], 330 ],
331 'sources': [ 331 'sources': [
332 'examples/ime/ime.cc', 332 'examples/ime/ime.cc',
333 ], 333 ],
334 }, 334 },
335 { 335 {
336 'target_name': 'ppapi_example_paint_manager', 336 'target_name': 'ppapi_example_paint_manager',
337 'dependencies': [ 337 'dependencies': [
338 'ppapi_example_skeleton', 338 'ppapi_example_skeleton',
339 'ppapi.gyp:ppapi_cpp', 339 'ppapi_cpp.gyp:ppapi_cpp',
340 ], 340 ],
341 'sources': [ 341 'sources': [
342 'examples/2d/paint_manager_example.cc', 342 'examples/2d/paint_manager_example.cc',
343 ], 343 ],
344 }, 344 },
345 { 345 {
346 'target_name': 'ppapi_example_post_message', 346 'target_name': 'ppapi_example_post_message',
347 'dependencies': [ 347 'dependencies': [
348 'ppapi_example_skeleton', 348 'ppapi_example_skeleton',
349 'ppapi.gyp:ppapi_cpp', 349 'ppapi_cpp.gyp:ppapi_cpp',
350 ], 350 ],
351 'sources': [ 351 'sources': [
352 'examples/scripting/post_message.cc', 352 'examples/scripting/post_message.cc',
353 ], 353 ],
354 }, 354 },
355 { 355 {
356 'target_name': 'ppapi_example_scroll', 356 'target_name': 'ppapi_example_scroll',
357 'dependencies': [ 357 'dependencies': [
358 'ppapi_example_skeleton', 358 'ppapi_example_skeleton',
359 'ppapi.gyp:ppapi_cpp', 359 'ppapi_cpp.gyp:ppapi_cpp',
360 ], 360 ],
361 'sources': [ 361 'sources': [
362 'examples/2d/scroll.cc', 362 'examples/2d/scroll.cc',
363 ], 363 ],
364 }, 364 },
365 { 365 {
366 'target_name': 'ppapi_example_simple_font', 366 'target_name': 'ppapi_example_simple_font',
367 'dependencies': [ 367 'dependencies': [
368 'ppapi_example_skeleton', 368 'ppapi_example_skeleton',
369 'ppapi.gyp:ppapi_cpp', 369 'ppapi_cpp.gyp:ppapi_cpp',
370 ], 370 ],
371 'sources': [ 371 'sources': [
372 'examples/font/simple_font.cc', 372 'examples/font/simple_font.cc',
373 ], 373 ],
374 }, 374 },
375 { 375 {
376 'target_name': 'ppapi_example_url_loader', 376 'target_name': 'ppapi_example_url_loader',
377 'dependencies': [ 377 'dependencies': [
378 'ppapi_example_skeleton', 378 'ppapi_example_skeleton',
379 'ppapi.gyp:ppapi_cpp', 379 'ppapi_cpp.gyp:ppapi_cpp',
380 ], 380 ],
381 'sources': [ 381 'sources': [
382 'examples/url_loader/streaming.cc', 382 'examples/url_loader/streaming.cc',
383 ], 383 ],
384 }, 384 },
385 { 385 {
386 'target_name': 'ppapi_example_gles2', 386 'target_name': 'ppapi_example_gles2',
387 'dependencies': [ 387 'dependencies': [
388 'ppapi_example_skeleton', 388 'ppapi_example_skeleton',
389 'ppapi.gyp:ppapi_cpp', 389 'ppapi_cpp.gyp:ppapi_cpp',
390 'ppapi.gyp:ppapi_gles2', 390 'ppapi.gyp:ppapi_gles2',
391 'ppapi.gyp:ppapi_egl', 391 'ppapi.gyp:ppapi_egl',
392 ], 392 ],
393 'include_dirs': [ 393 'include_dirs': [
394 'lib/gl/include', 394 'lib/gl/include',
395 ], 395 ],
396 'sources': [ 396 'sources': [
397 'examples/gles2/gles2.cc', 397 'examples/gles2/gles2.cc',
398 'examples/gles2/testdata.h', 398 'examples/gles2/testdata.h',
399 ], 399 ],
400 }, 400 },
401 { 401 {
402 'target_name': 'ppapi_example_vc', 402 'target_name': 'ppapi_example_vc',
403 'dependencies': [ 403 'dependencies': [
404 'ppapi_example_skeleton', 404 'ppapi_example_skeleton',
405 'ppapi.gyp:ppapi_cpp', 405 'ppapi_cpp.gyp:ppapi_cpp',
406 'ppapi.gyp:ppapi_gles2', 406 'ppapi.gyp:ppapi_gles2',
407 'ppapi.gyp:ppapi_egl', 407 'ppapi.gyp:ppapi_egl',
408 ], 408 ],
409 'include_dirs': [ 409 'include_dirs': [
410 'lib/gl/include', 410 'lib/gl/include',
411 ], 411 ],
412 'sources': [ 412 'sources': [
413 'examples/video_capture/video_capture.cc', 413 'examples/video_capture/video_capture.cc',
414 ], 414 ],
415 }, 415 },
416 ], 416 ],
417 } 417 }
OLDNEW
« no previous file with comments | « ppapi/ppapi_internal.gyp ('k') | ppapi/ppapi_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698