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

Side by Side Diff: mojo/examples/pepper_container_app/BUILD.gn

Issue 563953003: GN rules for everything in //mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « mojo/examples/nesting_app/BUILD.gn ('k') | mojo/examples/png_viewer/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 import("//mojo/system.gni")
6
7 # GYP version: mojo/mojo_examples.gypi:mojo_pepper_container_app
8 shared_library("pepper_container_app") {
9 output_name = "mojo_pepper_container_app"
10
11 sources = [
12 # Source files from ppapi/.
13 # An alternative is to depend on
14 # "//ppapi/ppapi_shared', but that target includes
15 # a lot of things that we don't need.
16 # TODO(yzshen): Consider extracting these files into a separate target
17 # which mojo_pepper_container_app and ppapi_shared both depend on.
18 "//ppapi/shared_impl/api_id.h",
19 "//ppapi/shared_impl/callback_tracker.cc",
20 "//ppapi/shared_impl/callback_tracker.h",
21 "//ppapi/shared_impl/host_resource.cc",
22 "//ppapi/shared_impl/host_resource.h",
23 "//ppapi/shared_impl/id_assignment.cc",
24 "//ppapi/shared_impl/id_assignment.h",
25 "//ppapi/shared_impl/ppapi_globals.cc",
26 "//ppapi/shared_impl/ppapi_globals.h",
27 "//ppapi/shared_impl/ppapi_shared_export.h",
28 "//ppapi/shared_impl/ppb_message_loop_shared.cc",
29 "//ppapi/shared_impl/ppb_message_loop_shared.h",
30 "//ppapi/shared_impl/ppb_view_shared.cc",
31 "//ppapi/shared_impl/ppb_view_shared.h",
32 "//ppapi/shared_impl/proxy_lock.cc",
33 "//ppapi/shared_impl/proxy_lock.h",
34 "//ppapi/shared_impl/resource.cc",
35 "//ppapi/shared_impl/resource.h",
36 "//ppapi/shared_impl/resource_tracker.cc",
37 "//ppapi/shared_impl/resource_tracker.h",
38 "//ppapi/shared_impl/scoped_pp_resource.cc",
39 "//ppapi/shared_impl/scoped_pp_resource.h",
40 "//ppapi/shared_impl/singleton_resource_id.h",
41 "//ppapi/shared_impl/tracked_callback.cc",
42 "//ppapi/shared_impl/tracked_callback.h",
43 "//ppapi/thunk/enter.cc",
44 "//ppapi/thunk/enter.h",
45 "//ppapi/thunk/interfaces_ppb_private.h",
46 "//ppapi/thunk/interfaces_ppb_private_flash.h",
47 "//ppapi/thunk/interfaces_ppb_private_no_permissions.h",
48 "//ppapi/thunk/interfaces_ppb_public_dev.h",
49 "//ppapi/thunk/interfaces_ppb_public_dev_channel.h",
50 "//ppapi/thunk/interfaces_ppb_public_stable.h",
51 "//ppapi/thunk/interfaces_preamble.h",
52 "//ppapi/thunk/ppapi_thunk_export.h",
53 "//ppapi/thunk/ppb_graphics_3d_api.h",
54 "//ppapi/thunk/ppb_graphics_3d_thunk.cc",
55 "//ppapi/thunk/ppb_instance_api.h",
56 "//ppapi/thunk/ppb_instance_thunk.cc",
57 "//ppapi/thunk/ppb_message_loop_api.h",
58 "//ppapi/thunk/ppb_view_api.h",
59 "//ppapi/thunk/ppb_view_thunk.cc",
60 "//ppapi/thunk/resource_creation_api.h",
61 "//ppapi/thunk/thunk.h",
62
63 "graphics_3d_resource.cc",
64 "graphics_3d_resource.h",
65 "interface_list.cc",
66 "interface_list.h",
67 "mojo_ppapi_globals.cc",
68 "mojo_ppapi_globals.h",
69 "pepper_container_app.cc",
70 "plugin_instance.cc",
71 "plugin_instance.h",
72 "plugin_module.cc",
73 "plugin_module.h",
74 "ppb_core_thunk.cc",
75 "ppb_opengles2_thunk.cc",
76 "resource_creation_impl.cc",
77 "resource_creation_impl.h",
78 "thunk.h",
79 "type_converters.h",
80 ]
81
82 defines = [
83 # We don't really want to export. We could change how
84 # ppapi_{shared,thunk}_export.h are defined to avoid this.
85 "PPAPI_SHARED_IMPLEMENTATION",
86 "PPAPI_THUNK_IMPLEMENTATION",
87 ]
88
89 deps = [
90 "//base",
91 "//base/third_party/dynamic_annotations",
92 "//gpu/command_buffer/common",
93 "//ppapi:ppapi_c",
94 # TODO(GYP):
95 # "//ppapi:ppapi_example_gles2_spinning_cube",
96 "//mojo/application",
97 "//mojo/common",
98 "//mojo/services/public/interfaces/geometry",
99 "//mojo/services/public/interfaces/gpu",
100 "//mojo/services/public/interfaces/native_viewport",
101 "//ui/events:events_base",
102 ] + mojo_system_for_shared_library + mojo_gles2_for_shared_library
103 }
OLDNEW
« no previous file with comments | « mojo/examples/nesting_app/BUILD.gn ('k') | mojo/examples/png_viewer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698