| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 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 shared_library("pepper_container_app") { | |
| 6 output_name = "mojo_pepper_container_app" | |
| 7 | |
| 8 sources = [ | |
| 9 # Source files from ppapi/. | |
| 10 # An alternative is to depend on | |
| 11 # "//ppapi/ppapi_shared', but that target includes | |
| 12 # a lot of things that we don't need. | |
| 13 # TODO(yzshen): Consider extracting these files into a separate target | |
| 14 # which mojo_pepper_container_app and ppapi_shared both depend on. | |
| 15 "//ppapi/shared_impl/api_id.h", | |
| 16 "//ppapi/shared_impl/callback_tracker.cc", | |
| 17 "//ppapi/shared_impl/callback_tracker.h", | |
| 18 "//ppapi/shared_impl/host_resource.cc", | |
| 19 "//ppapi/shared_impl/host_resource.h", | |
| 20 "//ppapi/shared_impl/id_assignment.cc", | |
| 21 "//ppapi/shared_impl/id_assignment.h", | |
| 22 "//ppapi/shared_impl/ppapi_globals.cc", | |
| 23 "//ppapi/shared_impl/ppapi_globals.h", | |
| 24 "//ppapi/shared_impl/ppapi_shared_export.h", | |
| 25 "//ppapi/shared_impl/ppb_message_loop_shared.cc", | |
| 26 "//ppapi/shared_impl/ppb_message_loop_shared.h", | |
| 27 "//ppapi/shared_impl/ppb_view_shared.cc", | |
| 28 "//ppapi/shared_impl/ppb_view_shared.h", | |
| 29 "//ppapi/shared_impl/proxy_lock.cc", | |
| 30 "//ppapi/shared_impl/proxy_lock.h", | |
| 31 "//ppapi/shared_impl/resource.cc", | |
| 32 "//ppapi/shared_impl/resource.h", | |
| 33 "//ppapi/shared_impl/resource_tracker.cc", | |
| 34 "//ppapi/shared_impl/resource_tracker.h", | |
| 35 "//ppapi/shared_impl/scoped_pp_resource.cc", | |
| 36 "//ppapi/shared_impl/scoped_pp_resource.h", | |
| 37 "//ppapi/shared_impl/singleton_resource_id.h", | |
| 38 "//ppapi/shared_impl/tracked_callback.cc", | |
| 39 "//ppapi/shared_impl/tracked_callback.h", | |
| 40 "//ppapi/thunk/enter.cc", | |
| 41 "//ppapi/thunk/enter.h", | |
| 42 "//ppapi/thunk/interfaces_ppb_private.h", | |
| 43 "//ppapi/thunk/interfaces_ppb_private_flash.h", | |
| 44 "//ppapi/thunk/interfaces_ppb_private_no_permissions.h", | |
| 45 "//ppapi/thunk/interfaces_ppb_public_dev.h", | |
| 46 "//ppapi/thunk/interfaces_ppb_public_dev_channel.h", | |
| 47 "//ppapi/thunk/interfaces_ppb_public_stable.h", | |
| 48 "//ppapi/thunk/interfaces_preamble.h", | |
| 49 "//ppapi/thunk/ppapi_thunk_export.h", | |
| 50 "//ppapi/thunk/ppb_graphics_3d_api.h", | |
| 51 "//ppapi/thunk/ppb_graphics_3d_thunk.cc", | |
| 52 "//ppapi/thunk/ppb_instance_api.h", | |
| 53 "//ppapi/thunk/ppb_instance_thunk.cc", | |
| 54 "//ppapi/thunk/ppb_message_loop_api.h", | |
| 55 "//ppapi/thunk/ppb_view_api.h", | |
| 56 "//ppapi/thunk/ppb_view_thunk.cc", | |
| 57 "//ppapi/thunk/resource_creation_api.h", | |
| 58 "//ppapi/thunk/thunk.h", | |
| 59 | |
| 60 "graphics_3d_resource.cc", | |
| 61 "graphics_3d_resource.h", | |
| 62 "interface_list.cc", | |
| 63 "interface_list.h", | |
| 64 "mojo_ppapi_globals.cc", | |
| 65 "mojo_ppapi_globals.h", | |
| 66 "pepper_container_app.cc", | |
| 67 "plugin_instance.cc", | |
| 68 "plugin_instance.h", | |
| 69 "plugin_module.cc", | |
| 70 "plugin_module.h", | |
| 71 "ppb_core_thunk.cc", | |
| 72 "ppb_opengles2_thunk.cc", | |
| 73 "resource_creation_impl.cc", | |
| 74 "resource_creation_impl.h", | |
| 75 "thunk.h", | |
| 76 "type_converters.h", | |
| 77 ] | |
| 78 | |
| 79 defines = [ | |
| 80 # We don't really want to export. We could change how | |
| 81 # ppapi_{shared,thunk}_export.h are defined to avoid this. | |
| 82 "PPAPI_SHARED_IMPLEMENTATION", | |
| 83 "PPAPI_THUNK_IMPLEMENTATION", | |
| 84 ] | |
| 85 | |
| 86 deps = [ | |
| 87 "//base", | |
| 88 "//base/third_party/dynamic_annotations", | |
| 89 "//gpu/command_buffer/common", | |
| 90 "//ppapi:ppapi_c", | |
| 91 # TODO(GYP): | |
| 92 # "//ppapi:ppapi_example_gles2_spinning_cube", | |
| 93 "//mojo/application", | |
| 94 "//mojo/common", | |
| 95 "//mojo/public/c/system:for_shared_library", | |
| 96 "//mojo/public/gles2:for_shared_library", | |
| 97 "//mojo/services/public/interfaces/geometry", | |
| 98 "//mojo/services/public/interfaces/gpu", | |
| 99 "//mojo/services/public/interfaces/native_viewport", | |
| 100 "//ui/events:events_base", | |
| 101 ] | |
| 102 } | |
| OLD | NEW |