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

Side by Side Diff: ppapi/ppapi.gyp

Issue 4310002: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on W... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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/examples/2d/graphics_2d_example.c ('k') | ppapi/tests/test_c_includes.c » ('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) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 { 6 {
7 'variables': { 7 'variables': {
8 'chromium_code': 1, # Use higher warning level. 8 'chromium_code': 1, # Use higher warning level.
9 }, 9 },
10 'target_defaults': { 10 'target_defaults': {
(...skipping 20 matching lines...) Expand all
31 'all_dependent_settings': { 31 'all_dependent_settings': {
32 'include_dirs': [ 32 'include_dirs': [
33 '..', 33 '..',
34 # HOLEY (*#@$@ing #&$^@*&$^. ChromeOS depends on having 34 # HOLEY (*#@$@ing #&$^@*&$^. ChromeOS depends on having
35 # "third_party" in the include path which the old version of this 35 # "third_party" in the include path which the old version of this
36 # project did. This is a temporary hack to keep the build going. 36 # project did. This is a temporary hack to keep the build going.
37 '../third_party', 37 '../third_party',
38 ], 38 ],
39 }, 39 },
40 'sources': [ 40 'sources': [
41 'c/pp_bool.h',
41 'c/pp_completion_callback.h', 42 'c/pp_completion_callback.h',
42 'c/pp_errors.h', 43 'c/pp_errors.h',
43 'c/pp_input_event.h', 44 'c/pp_input_event.h',
44 'c/pp_instance.h', 45 'c/pp_instance.h',
46 'c/pp_macros.h',
45 'c/pp_module.h', 47 'c/pp_module.h',
46 'c/pp_point.h', 48 'c/pp_point.h',
47 'c/pp_rect.h', 49 'c/pp_rect.h',
48 'c/pp_resource.h', 50 'c/pp_resource.h',
49 'c/pp_size.h', 51 'c/pp_size.h',
50 'c/pp_stdint.h', 52 'c/pp_stdint.h',
51 'c/pp_time.h', 53 'c/pp_time.h',
52 'c/pp_var.h', 54 'c/pp_var.h',
53 'c/ppb.h', 55 'c/ppb.h',
54 'c/ppb_core.h', 56 'c/ppb_core.h',
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 'c/dev/ppp_cursor_control_dev.h', 96 'c/dev/ppp_cursor_control_dev.h',
95 'c/dev/ppp_find_dev.h', 97 'c/dev/ppp_find_dev.h',
96 'c/dev/ppp_graphics_3d_dev.h', 98 'c/dev/ppp_graphics_3d_dev.h',
97 'c/dev/ppp_scrollbar_dev.h', 99 'c/dev/ppp_scrollbar_dev.h',
98 'c/dev/ppp_selection_dev.h', 100 'c/dev/ppp_selection_dev.h',
99 'c/dev/ppp_printing_dev.h', 101 'c/dev/ppp_printing_dev.h',
100 'c/dev/ppp_widget_dev.h', 102 'c/dev/ppp_widget_dev.h',
101 'c/dev/ppp_zoom_dev.h', 103 'c/dev/ppp_zoom_dev.h',
102 104
103 # Deprecated interfaces. 105 # Deprecated interfaces.
106 'c/dev/deprecated_bool.h',
104 'c/dev/ppb_var_deprecated.h', 107 'c/dev/ppb_var_deprecated.h',
105 'c/dev/ppp_class_deprecated.h', 108 'c/dev/ppp_class_deprecated.h',
106 ], 109 ],
107 }, 110 },
108 { 111 {
109 'target_name': 'ppapi_cpp_objects', 112 'target_name': 'ppapi_cpp_objects',
110 'type': 'static_library', 113 'type': 'static_library',
111 'dependencies': [ 114 'dependencies': [
112 'ppapi_c' 115 'ppapi_c'
113 ], 116 ],
114 'include_dirs': [ 117 'include_dirs': [
115 '..', 118 '..',
116 ], 119 ],
117 'sources': [ 120 'sources': [
121 'cpp/common.h',
118 'cpp/completion_callback.h', 122 'cpp/completion_callback.h',
119 'cpp/core.cc', 123 'cpp/core.cc',
120 'cpp/core.h', 124 'cpp/core.h',
121 'cpp/graphics_2d.cc', 125 'cpp/graphics_2d.cc',
122 'cpp/graphics_2d.h', 126 'cpp/graphics_2d.h',
123 'cpp/image_data.cc', 127 'cpp/image_data.cc',
124 'cpp/image_data.h', 128 'cpp/image_data.h',
125 'cpp/instance.cc', 129 'cpp/instance.cc',
126 'cpp/instance.h', 130 'cpp/instance.h',
127 'cpp/logging.h', 131 'cpp/logging.h',
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 # }, 364 # },
361 # { 365 # {
362 # 'target_name': 'ppapi_example_file_chooser', 366 # 'target_name': 'ppapi_example_file_chooser',
363 # 'dependencies': [ 367 # 'dependencies': [
364 # 'ppapi_example_skeleton', 368 # 'ppapi_example_skeleton',
365 # ], 369 # ],
366 # 'sources': [ 370 # 'sources': [
367 # 'examples/file_chooser/file_chooser.cc', 371 # 'examples/file_chooser/file_chooser.cc',
368 # ], 372 # ],
369 # }, 373 # },
370 374 # {»
371 #TODO(ppapi authors): Fix the C headers so that they are C compatible.
372 # {
373 # 'target_name': 'ppapi_example_graphics_2d', 375 # 'target_name': 'ppapi_example_graphics_2d',
374 # 'dependencies': [ 376 # 'dependencies': [
375 # 'ppapi_example_skeleton', 377 # 'ppapi_example_skeleton',
376 # ], 378 # ],
377 # 'sources': [ 379 # 'sources': [
378 # 'examples/2d/graphics_2d_example.c', 380 # 'examples/2d/graphics_2d_example.c',
379 # ], 381 # ],
380 # }, 382 # },
381
382 # { 383 # {
383 # 'target_name': 'ppapi_example_paint_manager', 384 # 'target_name': 'ppapi_example_paint_manager',
384 # 'dependencies': [ 385 # 'dependencies': [
385 # 'ppapi_example_skeleton', 386 # 'ppapi_example_skeleton',
386 # ], 387 # ],
387 # 'sources': [ 388 # 'sources': [
388 # 'examples/2d/paint_manager_example.cc', 389 # 'examples/2d/paint_manager_example.cc',
389 # ], 390 # ],
390 # }, 391 # },
391 # { 392 # {
(...skipping 20 matching lines...) Expand all
412 'sources': [ 413 'sources': [
413 # Common test files. 414 # Common test files.
414 'tests/test_case.cc', 415 'tests/test_case.cc',
415 'tests/test_case.h', 416 'tests/test_case.h',
416 'tests/testing_instance.cc', 417 'tests/testing_instance.cc',
417 'tests/testing_instance.h', 418 'tests/testing_instance.h',
418 419
419 # Test cases. 420 # Test cases.
420 'tests/test_buffer.cc', 421 'tests/test_buffer.cc',
421 'tests/test_buffer.h', 422 'tests/test_buffer.h',
423 'tests/test_c_includes.c',
422 'tests/test_char_set.cc', 424 'tests/test_char_set.cc',
423 'tests/test_char_set.h', 425 'tests/test_char_set.h',
424 'tests/test_directory_reader.cc', 426 'tests/test_directory_reader.cc',
425 'tests/test_directory_reader.h', 427 'tests/test_directory_reader.h',
426 'tests/test_file_io.cc', 428 'tests/test_file_io.cc',
427 'tests/test_file_io.h', 429 'tests/test_file_io.h',
428 'tests/test_file_ref.cc', 430 'tests/test_file_ref.cc',
429 'tests/test_file_ref.h', 431 'tests/test_file_ref.h',
430 'tests/test_graphics_2d.cc', 432 'tests/test_graphics_2d.cc',
431 'tests/test_graphics_2d.h', 433 'tests/test_graphics_2d.h',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 }], 468 }],
467 ['OS=="mac"', { 469 ['OS=="mac"', {
468 'mac_bundle': 1, 470 'mac_bundle': 1,
469 'product_name': 'ppapi_tests', 471 'product_name': 'ppapi_tests',
470 'product_extension': 'plugin', 472 'product_extension': 'plugin',
471 }], 473 }],
472 ], 474 ],
473 }, 475 },
474 ], 476 ],
475 } 477 }
OLDNEW
« no previous file with comments | « ppapi/examples/2d/graphics_2d_example.c ('k') | ppapi/tests/test_c_includes.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698