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

Side by Side Diff: ppapi/ppapi_tests.gypi

Issue 915403003: Enable size_t to int truncation warnings in PPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ppapi_unittests win x64 Created 5 years, 10 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
« no previous file with comments | « ppapi/ppapi_internal.gyp ('k') | ppapi/proxy/audio_input_resource.cc » ('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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'ppapi_tests', 8 'target_name': 'ppapi_tests',
9 'type': 'loadable_module', 9 'type': 'loadable_module',
10 'include_dirs': [ 10 'include_dirs': [
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 ], 48 ],
49 }, 49 },
50 'conditions': [ 50 'conditions': [
51 ['OS=="win"', { 51 ['OS=="win"', {
52 'defines': [ 52 'defines': [
53 '_CRT_SECURE_NO_DEPRECATE', 53 '_CRT_SECURE_NO_DEPRECATE',
54 '_CRT_NONSTDC_NO_WARNINGS', 54 '_CRT_NONSTDC_NO_WARNINGS',
55 '_CRT_NONSTDC_NO_DEPRECATE', 55 '_CRT_NONSTDC_NO_DEPRECATE',
56 '_SCL_SECURE_NO_DEPRECATE', 56 '_SCL_SECURE_NO_DEPRECATE',
57 ], 57 ],
58 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
59 'msvs_disabled_warnings': [ 4267, ],
60 }], 58 }],
61 ['OS=="mac"', { 59 ['OS=="mac"', {
62 'mac_bundle': 1, 60 'mac_bundle': 1,
63 'product_name': 'ppapi_tests', 61 'product_name': 'ppapi_tests',
64 'product_extension': 'plugin', 62 'product_extension': 'plugin',
65 }], 63 }],
66 ], 64 ],
67 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
68 'msvs_disabled_warnings': [ 4267, ],
69 # TODO(dmichael): Figure out what is wrong with the script on Windows and add 65 # TODO(dmichael): Figure out what is wrong with the script on Windows and add
70 # it as an automated action. 66 # it as an automated action.
71 # 'actions': [ 67 # 'actions': [
72 # { 68 # {
73 # 'action_name': 'generate_ppapi_include_tests', 69 # 'action_name': 'generate_ppapi_include_tests',
74 # 'inputs': [], 70 # 'inputs': [],
75 # 'outputs': [ 71 # 'outputs': [
76 # 'tests/test_c_includes.c', 72 # 'tests/test_c_includes.c',
77 # 'tests/test_cc_includes.cc', 73 # 'tests/test_cc_includes.cc',
78 # ], 74 # ],
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { 189 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
194 'conditions': [ 190 'conditions': [
195 [ 'use_allocator!="none"', { 191 [ 'use_allocator!="none"', {
196 'dependencies': [ 192 'dependencies': [
197 '../base/allocator/allocator.gyp:allocator', 193 '../base/allocator/allocator.gyp:allocator',
198 ], 194 ],
199 }], 195 }],
200 ], 196 ],
201 }], 197 }],
202 ], 198 ],
203 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
204 'msvs_disabled_warnings': [ 4267, ],
205 }, 199 },
206 { 200 {
207 'target_name': 'ppapi_example_skeleton', 201 'target_name': 'ppapi_example_skeleton',
208 'suppress_wildcard': 1, 202 'suppress_wildcard': 1,
209 'type': 'none', 203 'type': 'none',
210 'direct_dependent_settings': { 204 'direct_dependent_settings': {
211 'product_name': '>(_target_name)', 205 'product_name': '>(_target_name)',
212 'conditions': [ 206 'conditions': [
213 ['os_posix==1 and OS!="mac"', { 207 ['os_posix==1 and OS!="mac"', {
214 'cflags': ['-fvisibility=hidden'], 208 'cflags': ['-fvisibility=hidden'],
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 249
256 { 250 {
257 'target_name': 'ppapi_example_gamepad', 251 'target_name': 'ppapi_example_gamepad',
258 'dependencies': [ 252 'dependencies': [
259 'ppapi_example_skeleton', 253 'ppapi_example_skeleton',
260 'ppapi.gyp:ppapi_cpp', 254 'ppapi.gyp:ppapi_cpp',
261 ], 255 ],
262 'sources': [ 256 'sources': [
263 'examples/gamepad/gamepad.cc', 257 'examples/gamepad/gamepad.cc',
264 ], 258 ],
265 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
266 'msvs_disabled_warnings': [ 4267, ],
267 }, 259 },
268 260
269 { 261 {
270 'target_name': 'ppapi_example_c_stub', 262 'target_name': 'ppapi_example_c_stub',
271 'dependencies': [ 263 'dependencies': [
272 'ppapi_example_skeleton', 264 'ppapi_example_skeleton',
273 'ppapi.gyp:ppapi_c', 265 'ppapi.gyp:ppapi_c',
274 ], 266 ],
275 'sources': [ 267 'sources': [
276 'examples/stub/stub.c', 268 'examples/stub/stub.c',
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 }, 330 },
339 { 331 {
340 'target_name': 'ppapi_example_ime', 332 'target_name': 'ppapi_example_ime',
341 'dependencies': [ 333 'dependencies': [
342 'ppapi_example_skeleton', 334 'ppapi_example_skeleton',
343 'ppapi.gyp:ppapi_cpp', 335 'ppapi.gyp:ppapi_cpp',
344 ], 336 ],
345 'sources': [ 337 'sources': [
346 'examples/ime/ime.cc', 338 'examples/ime/ime.cc',
347 ], 339 ],
348 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
349 'msvs_disabled_warnings': [ 4267, ],
350 }, 340 },
351 { 341 {
352 'target_name': 'ppapi_example_paint_manager', 342 'target_name': 'ppapi_example_paint_manager',
353 'dependencies': [ 343 'dependencies': [
354 'ppapi_example_skeleton', 344 'ppapi_example_skeleton',
355 'ppapi.gyp:ppapi_cpp', 345 'ppapi.gyp:ppapi_cpp',
356 ], 346 ],
357 'sources': [ 347 'sources': [
358 'examples/2d/paint_manager_example.cc', 348 'examples/2d/paint_manager_example.cc',
359 ], 349 ],
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 'ppapi.gyp:ppapi_cpp', 439 'ppapi.gyp:ppapi_cpp',
450 'ppapi.gyp:ppapi_gles2', 440 'ppapi.gyp:ppapi_gles2',
451 ], 441 ],
452 'include_dirs': [ 442 'include_dirs': [
453 'lib/gl/include', 443 'lib/gl/include',
454 ], 444 ],
455 'sources': [ 445 'sources': [
456 'examples/video_decode/video_decode.cc', 446 'examples/video_decode/video_decode.cc',
457 'examples/video_decode/testdata.h', 447 'examples/video_decode/testdata.h',
458 ], 448 ],
459 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
460 'msvs_disabled_warnings': [ 4267, ],
461 }, 449 },
462 { 450 {
463 'target_name': 'ppapi_example_video_decode_dev', 451 'target_name': 'ppapi_example_video_decode_dev',
464 'dependencies': [ 452 'dependencies': [
465 'ppapi_example_skeleton', 453 'ppapi_example_skeleton',
466 'ppapi.gyp:ppapi_cpp', 454 'ppapi.gyp:ppapi_cpp',
467 'ppapi.gyp:ppapi_gles2', 455 'ppapi.gyp:ppapi_gles2',
468 ], 456 ],
469 'include_dirs': [ 457 'include_dirs': [
470 'lib/gl/include', 458 'lib/gl/include',
471 ], 459 ],
472 'sources': [ 460 'sources': [
473 'examples/video_decode/video_decode_dev.cc', 461 'examples/video_decode/video_decode_dev.cc',
474 'examples/video_decode/testdata.h', 462 'examples/video_decode/testdata.h',
475 ], 463 ],
476 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
477 'msvs_disabled_warnings': [ 4267, ],
478 }, 464 },
479 { 465 {
480 'target_name': 'ppapi_example_vc', 466 'target_name': 'ppapi_example_vc',
481 'dependencies': [ 467 'dependencies': [
482 'ppapi_example_skeleton', 468 'ppapi_example_skeleton',
483 'ppapi.gyp:ppapi_cpp', 469 'ppapi.gyp:ppapi_cpp',
484 'ppapi.gyp:ppapi_gles2', 470 'ppapi.gyp:ppapi_gles2',
485 ], 471 ],
486 'include_dirs': [ 472 'include_dirs': [
487 'lib/gl/include', 473 'lib/gl/include',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 }, 508 },
523 { 509 {
524 'target_name': 'ppapi_example_printing', 510 'target_name': 'ppapi_example_printing',
525 'dependencies': [ 511 'dependencies': [
526 'ppapi_example_skeleton', 512 'ppapi_example_skeleton',
527 'ppapi.gyp:ppapi_cpp', 513 'ppapi.gyp:ppapi_cpp',
528 ], 514 ],
529 'sources': [ 515 'sources': [
530 'examples/printing/printing.cc', 516 'examples/printing/printing.cc',
531 ], 517 ],
532 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
533 'msvs_disabled_warnings': [ 4267, ],
534 }, 518 },
535 { 519 {
536 'target_name': 'ppapi_example_media_stream_audio', 520 'target_name': 'ppapi_example_media_stream_audio',
537 'dependencies': [ 521 'dependencies': [
538 'ppapi_example_skeleton', 522 'ppapi_example_skeleton',
539 'ppapi.gyp:ppapi_cpp', 523 'ppapi.gyp:ppapi_cpp',
540 ], 524 ],
541 'sources': [ 525 'sources': [
542 'examples/media_stream_audio/media_stream_audio.cc', 526 'examples/media_stream_audio/media_stream_audio.cc',
543 ], 527 ],
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 'lib/gl/include', 567 'lib/gl/include',
584 ], 568 ],
585 'sources': [ 569 'sources': [
586 'examples/compositor/compositor.cc', 570 'examples/compositor/compositor.cc',
587 'examples/compositor/spinning_cube.cc', 571 'examples/compositor/spinning_cube.cc',
588 'examples/compositor/spinning_cube.h', 572 'examples/compositor/spinning_cube.h',
589 ], 573 ],
590 }, 574 },
591 ], 575 ],
592 } 576 }
OLDNEW
« no previous file with comments | « ppapi/ppapi_internal.gyp ('k') | ppapi/proxy/audio_input_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698