OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'ppapi_c', |
| 9 'type': 'none', |
| 10 'all_dependent_settings': { |
| 11 'include_dirs': [ |
| 12 '..', |
| 13 ], |
| 14 }, |
| 15 'sources': [ |
| 16 'c/pp_bool.h', |
| 17 'c/pp_completion_callback.h', |
| 18 'c/pp_errors.h', |
| 19 'c/pp_input_event.h', |
| 20 'c/pp_instance.h', |
| 21 'c/pp_macros.h', |
| 22 'c/pp_module.h', |
| 23 'c/pp_point.h', |
| 24 'c/pp_rect.h', |
| 25 'c/pp_resource.h', |
| 26 'c/pp_size.h', |
| 27 'c/pp_stdint.h', |
| 28 'c/pp_time.h', |
| 29 'c/pp_var.h', |
| 30 'c/ppb.h', |
| 31 'c/ppb_audio.h', |
| 32 'c/ppb_audio_config.h', |
| 33 'c/ppb_core.h', |
| 34 'c/ppb_class.h', |
| 35 'c/ppb_graphics_2d.h', |
| 36 'c/ppb_image_data.h', |
| 37 'c/ppb_instance.h', |
| 38 'c/ppb_url_loader.h', |
| 39 'c/ppb_url_request_info.h', |
| 40 'c/ppb_url_response_info.h', |
| 41 'c/ppb_var.h', |
| 42 'c/ppp.h', |
| 43 'c/ppp_instance.h', |
| 44 |
| 45 # Dev interfaces. |
| 46 'c/dev/pp_cursor_type_dev.h', |
| 47 'c/dev/pp_file_info_dev.h', |
| 48 'c/dev/pp_graphics_3d_dev.h', |
| 49 'c/dev/pp_video_dev.h', |
| 50 'c/dev/ppb_buffer_dev.h', |
| 51 'c/dev/ppb_char_set_dev.h', |
| 52 'c/dev/ppb_context_3d_dev.h', |
| 53 'c/dev/ppb_cursor_control_dev.h', |
| 54 'c/dev/ppb_directory_reader_dev.h', |
| 55 'c/dev/ppb_file_chooser_dev.h', |
| 56 'c/dev/ppb_file_io_dev.h', |
| 57 'c/dev/ppb_file_io_trusted_dev.h', |
| 58 'c/dev/ppb_file_ref_dev.h', |
| 59 'c/dev/ppb_file_system_dev.h', |
| 60 'c/dev/ppb_find_dev.h', |
| 61 'c/dev/ppb_font_dev.h', |
| 62 'c/dev/ppb_fullscreen_dev.h', |
| 63 'c/dev/ppb_graphics_3d_dev.h', |
| 64 'c/dev/ppb_opengles_dev.h', |
| 65 'c/dev/ppb_scrollbar_dev.h', |
| 66 'c/dev/ppb_surface_3d_dev.h', |
| 67 'c/dev/ppb_testing_dev.h', |
| 68 'c/dev/ppb_transport_dev.h', |
| 69 'c/dev/ppb_url_util_dev.h', |
| 70 'c/dev/ppb_video_decoder_dev.h', |
| 71 'c/dev/ppb_widget_dev.h', |
| 72 'c/dev/ppb_zoom_dev.h', |
| 73 'c/dev/ppp_cursor_control_dev.h', |
| 74 'c/dev/ppp_find_dev.h', |
| 75 'c/dev/ppp_graphics_3d_dev.h', |
| 76 'c/dev/ppp_scrollbar_dev.h', |
| 77 'c/dev/ppp_selection_dev.h', |
| 78 'c/dev/ppp_printing_dev.h', |
| 79 'c/dev/ppp_widget_dev.h', |
| 80 'c/dev/ppp_zoom_dev.h', |
| 81 |
| 82 # Private interfaces. |
| 83 'c/private/ppb_flash.h', |
| 84 'c/private/ppb_nacl_private.h', |
| 85 'c/private/ppb_pdf.h', |
| 86 |
| 87 # Deprecated interfaces. |
| 88 'c/dev/deprecated_bool.h', |
| 89 'c/dev/ppb_var_deprecated.h', |
| 90 'c/dev/ppp_class_deprecated.h', |
| 91 |
| 92 # Trusted interfaces. |
| 93 'c/trusted/ppb_audio_trusted.h', |
| 94 'c/trusted/ppb_image_data_trusted.h', |
| 95 'c/trusted/ppb_url_loader_trusted.h', |
| 96 ], |
| 97 }, |
| 98 { |
| 99 'target_name': 'ppapi_cpp_objects', |
| 100 'type': 'static_library', |
| 101 'dependencies': [ |
| 102 'ppapi_c' |
| 103 ], |
| 104 'include_dirs': [ |
| 105 '..', |
| 106 ], |
| 107 'sources': [ |
| 108 'cpp/audio.cc', |
| 109 'cpp/audio.h', |
| 110 'cpp/audio_config.cc', |
| 111 'cpp/audio_config.h', |
| 112 'cpp/common.h', |
| 113 'cpp/completion_callback.h', |
| 114 'cpp/core.cc', |
| 115 'cpp/core.h', |
| 116 'cpp/graphics_2d.cc', |
| 117 'cpp/graphics_2d.h', |
| 118 'cpp/image_data.cc', |
| 119 'cpp/image_data.h', |
| 120 'cpp/instance.cc', |
| 121 'cpp/instance.h', |
| 122 'cpp/logging.h', |
| 123 'cpp/module.cc', |
| 124 'cpp/module.h', |
| 125 'cpp/module_impl.h', |
| 126 'cpp/non_thread_safe_ref_count.h', |
| 127 'cpp/paint_aggregator.cc', |
| 128 'cpp/paint_aggregator.h', |
| 129 'cpp/paint_manager.cc', |
| 130 'cpp/paint_manager.h', |
| 131 'cpp/point.h', |
| 132 'cpp/rect.cc', |
| 133 'cpp/rect.h', |
| 134 'cpp/resource.cc', |
| 135 'cpp/resource.h', |
| 136 'cpp/size.h', |
| 137 'cpp/url_loader.cc', |
| 138 'cpp/url_loader.h', |
| 139 'cpp/url_request_info.cc', |
| 140 'cpp/url_request_info.h', |
| 141 'cpp/url_response_info.cc', |
| 142 'cpp/url_response_info.h', |
| 143 'cpp/var.cc', |
| 144 'cpp/var.h', |
| 145 |
| 146 # Dev interfaces. |
| 147 'cpp/dev/buffer_dev.cc', |
| 148 'cpp/dev/buffer_dev.h', |
| 149 'cpp/dev/context_3d_dev.cc', |
| 150 'cpp/dev/context_3d_dev.h', |
| 151 'cpp/dev/directory_entry_dev.cc', |
| 152 'cpp/dev/directory_entry_dev.h', |
| 153 'cpp/dev/directory_reader_dev.cc', |
| 154 'cpp/dev/directory_reader_dev.h', |
| 155 'cpp/dev/file_chooser_dev.cc', |
| 156 'cpp/dev/file_chooser_dev.h', |
| 157 'cpp/dev/file_io_dev.cc', |
| 158 'cpp/dev/file_io_dev.h', |
| 159 'cpp/dev/file_ref_dev.cc', |
| 160 'cpp/dev/file_ref_dev.h', |
| 161 'cpp/dev/file_system_dev.cc', |
| 162 'cpp/dev/file_system_dev.h', |
| 163 'cpp/dev/find_dev.cc', |
| 164 'cpp/dev/find_dev.h', |
| 165 'cpp/dev/font_dev.cc', |
| 166 'cpp/dev/font_dev.h', |
| 167 'cpp/dev/fullscreen_dev.cc', |
| 168 'cpp/dev/fullscreen_dev.h', |
| 169 'cpp/dev/graphics_3d_client_dev.cc', |
| 170 'cpp/dev/graphics_3d_client_dev.h', |
| 171 'cpp/dev/graphics_3d_dev.cc', |
| 172 'cpp/dev/graphics_3d_dev.h', |
| 173 'cpp/dev/printing_dev.cc', |
| 174 'cpp/dev/printing_dev.h', |
| 175 'cpp/dev/scrollbar_dev.cc', |
| 176 'cpp/dev/scrollbar_dev.h', |
| 177 'cpp/dev/selection_dev.cc', |
| 178 'cpp/dev/selection_dev.h', |
| 179 'cpp/dev/surface_3d_dev.cc', |
| 180 'cpp/dev/surface_3d_dev.h', |
| 181 'cpp/dev/transport_dev.cc', |
| 182 'cpp/dev/transport_dev.h', |
| 183 'cpp/dev/url_util_dev.cc', |
| 184 'cpp/dev/url_util_dev.h', |
| 185 'cpp/dev/video_decoder_dev.cc', |
| 186 'cpp/dev/video_decoder_dev.h', |
| 187 'cpp/dev/widget_client_dev.cc', |
| 188 'cpp/dev/widget_client_dev.h', |
| 189 'cpp/dev/widget_dev.cc', |
| 190 'cpp/dev/widget_dev.h', |
| 191 'cpp/dev/zoom_dev.cc', |
| 192 'cpp/dev/zoom_dev.h', |
| 193 |
| 194 # Deprecated interfaces. |
| 195 'cpp/dev/scriptable_object_deprecated.h', |
| 196 'cpp/dev/scriptable_object_deprecated.cc', |
| 197 ], |
| 198 'conditions': [ |
| 199 ['OS=="win"', { |
| 200 'msvs_guid': 'AD371A1D-3459-4E2D-8E8A-881F4B83B908', |
| 201 'msvs_settings': { |
| 202 'VCCLCompilerTool': { |
| 203 'AdditionalOptions': ['/we4244'], # implicit conversion, possible
loss of data |
| 204 }, |
| 205 }, |
| 206 }], |
| 207 ['OS=="linux"', { |
| 208 'cflags': ['-Wextra', '-pedantic'], |
| 209 }], |
| 210 ['OS=="mac"', { |
| 211 'xcode_settings': { |
| 212 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], |
| 213 }, |
| 214 }] |
| 215 ], |
| 216 }, |
| 217 { |
| 218 'target_name': 'ppapi_cpp', |
| 219 'type': 'static_library', |
| 220 'dependencies': [ |
| 221 'ppapi_c', |
| 222 'ppapi_cpp_objects', |
| 223 ], |
| 224 'include_dirs': [ |
| 225 '..', |
| 226 ], |
| 227 'sources': [ |
| 228 'cpp/module_embedder.h', |
| 229 'cpp/ppp_entrypoints.cc', |
| 230 ], |
| 231 'conditions': [ |
| 232 ['OS=="win"', { |
| 233 'msvs_guid': '057E7FA0-83C0-11DF-8395-0800200C9A66', |
| 234 }], |
| 235 ['OS=="linux"', { |
| 236 'cflags': ['-Wextra', '-pedantic'], |
| 237 }], |
| 238 ['OS=="mac"', { |
| 239 'xcode_settings': { |
| 240 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], |
| 241 }, |
| 242 }] |
| 243 ], |
| 244 }, |
| 245 ], |
| 246 } |
OLD | NEW |