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