Commit 2f79efe6 authored by brettw's avatar brettw Committed by Commit bot

Implement the rest of the PPAPI examples in the GN build.

This adds the "threading" example which was unreferenced in the GYP build, despite existing and compiling OK.

Review URL: https://codereview.chromium.org/921993002

Cr-Commit-Position: refs/heads/master@{#316379}
parent 2412ce5a
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
group("2d") {
testonly = true
deps = [
":graphics_2d",
":paint_manager",
":scroll",
]
}
ppapi_example("graphics_2d") {
output_name = "ppapi_example_graphics_2d"
sources = [
"graphics_2d_example.c",
]
deps = [
"//ppapi/c",
]
}
ppapi_example("paint_manager") {
output_name = "ppapi_example_paint_manager"
sources = [
"paint_manager_example.cc",
]
deps = [
"//ppapi/cpp",
]
}
ppapi_example("scroll") {
output_name = "ppapi_example_scroll"
sources = [
"scroll.cc",
]
deps = [
"//ppapi/cpp",
]
}
...@@ -5,6 +5,32 @@ ...@@ -5,6 +5,32 @@
group("examples") { group("examples") {
testonly = true testonly = true
deps = [ deps = [
"//ppapi/examples/2d",
"//ppapi/examples/audio", "//ppapi/examples/audio",
"//ppapi/examples/audio_input",
"//ppapi/examples/compositor",
"//ppapi/examples/crxfs",
"//ppapi/examples/enumerate_devices",
"//ppapi/examples/file_chooser",
"//ppapi/examples/flash_topmost",
"//ppapi/examples/font",
"//ppapi/examples/gamepad",
"//ppapi/examples/gles2",
"//ppapi/examples/gles2_spinning_cube",
"//ppapi/examples/ime",
"//ppapi/examples/input",
"//ppapi/examples/media_stream_audio",
"//ppapi/examples/media_stream_video",
"//ppapi/examples/mouse_cursor",
"//ppapi/examples/mouse_lock",
"//ppapi/examples/printing",
"//ppapi/examples/scaling",
"//ppapi/examples/scripting",
"//ppapi/examples/stub",
"//ppapi/examples/threading",
"//ppapi/examples/url_loader",
"//ppapi/examples/video_capture",
"//ppapi/examples/video_decode",
"//ppapi/examples/video_effects",
] ]
} }
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("audio_input") {
output_name = "ppapi_example_audio_input"
sources = [
"audio_input.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("compositor") {
output_name = "ppapi_example_compositor"
sources = [
"compositor.cc",
"spinning_cube.cc",
"spinning_cube.h",
]
deps = [
"//ppapi/cpp",
"//ppapi/lib/gl/gles2",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("crxfs") {
output_name = "ppapi_example_crxfs"
sources = [
"crxfs.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("enumerate_devices") {
output_name = "ppapi_example_enumerate_devices"
sources = [
"enumerate_devices.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("file_chooser") {
output_name = "ppapi_example_file_chooser"
sources = [
"file_chooser.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("flash_topmost") {
output_name = "ppapi_example_flash_topmost"
sources = [
"flash_topmost.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("font") {
output_name = "ppapi_example_simple_font"
sources = [
"simple_font.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("gamepad") {
output_name = "ppapi_example_gamepad"
sources = [
"gamepad.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("gles2") {
output_name = "ppapi_example_gles2"
sources = [
"gles2.cc",
]
deps = [
"//ppapi/cpp",
"//ppapi/lib/gl/gles2",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("gles2_spinning_cube") {
output_name = "ppapi_example_gles2_spinning_cube"
sources = [
"gles2_spinning_cube.cc",
"spinning_cube.cc",
"spinning_cube.h",
]
deps = [
"//ppapi/cpp",
"//ppapi/lib/gl/gles2",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("ime") {
output_name = "ppapi_example_ime"
sources = [
"ime.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("input") {
output_name = "ppapi_example_input"
sources = [
"pointer_event_input.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("media_stream_audio") {
output_name = "ppapi_example_media_stream_audio"
sources = [
"media_stream_audio.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("media_stream_video") {
output_name = "ppapi_example_media_stream_video"
sources = [
"media_stream_video.cc",
]
deps = [
"//ppapi/cpp",
"//ppapi/lib/gl/gles2",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("mouse_cursor") {
output_name = "ppapi_example_mouse_cursor"
sources = [
"mouse_cursor.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("mouse_lock") {
output_name = "ppapi_example_mouse_lock"
sources = [
"mouse_lock.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("printing") {
output_name = "ppapi_example_printing"
sources = [
"printing.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("scaling") {
output_name = "ppapi_example_scaling"
sources = [
"scaling.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("scripting") {
output_name = "ppapi_example_post_message"
sources = [
"post_message.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
group("stub") {
testonly = true
deps = [
":c_stub",
":cc_stub",
]
}
ppapi_example("c_stub") {
output_name = "ppapi_example_c_stub"
sources = [
"stub.c",
]
deps = [
"//ppapi/c",
]
}
ppapi_example("cc_stub") {
output_name = "ppapi_example_cc_stub"
sources = [
"stub.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("threading") {
output_name = "ppapi_example_threading"
sources = [
"threading.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
group("url_loader") {
testonly = true
deps = [
":file",
":streaming",
]
}
ppapi_example("file") {
output_name = "ppapi_example_url_loader"
sources = [
"streaming.cc",
]
deps = [
"//ppapi/cpp",
]
}
ppapi_example("streaming") {
output_name = "ppapi_example_file"
sources = [
"stream_to_file.cc",
]
deps = [
"//ppapi/cpp",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("video_capture") {
output_name = "ppapi_example_vc"
sources = [
"video_capture.cc",
]
deps = [
"//ppapi/cpp",
"//ppapi/lib/gl/gles2",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
group("video_decode") {
testonly = true
deps = [
":dev",
":stable",
]
}
ppapi_example("dev") {
output_name = "ppapi_example_video_decode_dev"
sources = [
"video_decode_dev.cc",
"testdata.h",
]
deps = [
"//ppapi/cpp",
"//ppapi/lib/gl/gles2",
]
}
ppapi_example("stable") {
output_name = "ppapi_example_video_decode"
sources = [
"video_decode.cc",
"testdata.h",
]
deps = [
"//ppapi/cpp",
"//ppapi/lib/gl/gles2",
]
}
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ppapi/examples/ppapi_example.gni")
ppapi_example("video_effects") {
output_name = "video_effects"
sources = [
"video_effects.cc",
]
deps = [
"//ppapi/cpp",
]
}
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
config("gles2_config") {
include_dirs = [ "//ppapi/lib/gl/include" ]
}
source_set("gles2") { source_set("gles2") {
sources = [ sources = [
"gl2ext_ppapi.c", "gl2ext_ppapi.c",
...@@ -9,9 +13,9 @@ source_set("gles2") { ...@@ -9,9 +13,9 @@ source_set("gles2") {
"gles2.c", "gles2.c",
] ]
include_dirs = [ "lib/gl/include" ] public_configs = [ ":gles2_config" ]
deps = [ public_deps = [
"//ppapi/c", "//ppapi/c",
] ]
} }
...@@ -228,6 +228,7 @@ ...@@ -228,6 +228,7 @@
}, },
}, },
{ {
# GN version: //ppapi/examples/mouse_cursor
'target_name': 'ppapi_example_mouse_cursor', 'target_name': 'ppapi_example_mouse_cursor',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -238,6 +239,7 @@ ...@@ -238,6 +239,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/mouse_lock
'target_name': 'ppapi_example_mouse_lock', 'target_name': 'ppapi_example_mouse_lock',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -249,6 +251,7 @@ ...@@ -249,6 +251,7 @@
}, },
{ {
# GN version: //ppapi/examples/gamepad
'target_name': 'ppapi_example_gamepad', 'target_name': 'ppapi_example_gamepad',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -260,6 +263,7 @@ ...@@ -260,6 +263,7 @@
}, },
{ {
# GN version: //ppapi/examples/stub:c_stub
'target_name': 'ppapi_example_c_stub', 'target_name': 'ppapi_example_c_stub',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -270,6 +274,7 @@ ...@@ -270,6 +274,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/stub:cc_stub
'target_name': 'ppapi_example_cc_stub', 'target_name': 'ppapi_example_cc_stub',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -280,6 +285,7 @@ ...@@ -280,6 +285,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/crxfs
'target_name': 'ppapi_example_crxfs', 'target_name': 'ppapi_example_crxfs',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -290,6 +296,7 @@ ...@@ -290,6 +296,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/audio
'target_name': 'ppapi_example_audio', 'target_name': 'ppapi_example_audio',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -300,6 +307,7 @@ ...@@ -300,6 +307,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/audio_input
'target_name': 'ppapi_example_audio_input', 'target_name': 'ppapi_example_audio_input',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -310,6 +318,7 @@ ...@@ -310,6 +318,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/file_chooser
'target_name': 'ppapi_example_file_chooser', 'target_name': 'ppapi_example_file_chooser',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -320,6 +329,7 @@ ...@@ -320,6 +329,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/2d:graphics_2d
'target_name': 'ppapi_example_graphics_2d', 'target_name': 'ppapi_example_graphics_2d',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -330,6 +340,7 @@ ...@@ -330,6 +340,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/ime
'target_name': 'ppapi_example_ime', 'target_name': 'ppapi_example_ime',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -340,6 +351,7 @@ ...@@ -340,6 +351,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/2d:paint_manager
'target_name': 'ppapi_example_paint_manager', 'target_name': 'ppapi_example_paint_manager',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -350,6 +362,7 @@ ...@@ -350,6 +362,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/input
'target_name': 'ppapi_example_input', 'target_name': 'ppapi_example_input',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -360,6 +373,7 @@ ...@@ -360,6 +373,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/scripting
'target_name': 'ppapi_example_post_message', 'target_name': 'ppapi_example_post_message',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -370,6 +384,7 @@ ...@@ -370,6 +384,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/scaling
'target_name': 'ppapi_example_scaling', 'target_name': 'ppapi_example_scaling',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -380,6 +395,7 @@ ...@@ -380,6 +395,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/2d:scroll
'target_name': 'ppapi_example_scroll', 'target_name': 'ppapi_example_scroll',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -390,6 +406,7 @@ ...@@ -390,6 +406,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/font
'target_name': 'ppapi_example_simple_font', 'target_name': 'ppapi_example_simple_font',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -400,6 +417,18 @@ ...@@ -400,6 +417,18 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/threading
'target_name': 'ppapi_example_threading',
'dependencies': [
'ppapi_example_skeleton',
'ppapi.gyp:ppapi_cpp',
],
'sources': [
'examples/threading/threading.cc',
],
},
{
# GN version: //ppapi/examples/url_loader:streaming
'target_name': 'ppapi_example_url_loader', 'target_name': 'ppapi_example_url_loader',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -410,6 +439,7 @@ ...@@ -410,6 +439,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/url_loader:file
'target_name': 'ppapi_example_url_loader_file', 'target_name': 'ppapi_example_url_loader_file',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -420,6 +450,7 @@ ...@@ -420,6 +450,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/gles2
'target_name': 'ppapi_example_gles2', 'target_name': 'ppapi_example_gles2',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -434,6 +465,7 @@ ...@@ -434,6 +465,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/video_decode:stable
'target_name': 'ppapi_example_video_decode', 'target_name': 'ppapi_example_video_decode',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -449,6 +481,7 @@ ...@@ -449,6 +481,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/video_decode:dev
'target_name': 'ppapi_example_video_decode_dev', 'target_name': 'ppapi_example_video_decode_dev',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -464,6 +497,7 @@ ...@@ -464,6 +497,7 @@
], ],
}, },
{ {
# GN version: //ppapi/example/video_capture
'target_name': 'ppapi_example_vc', 'target_name': 'ppapi_example_vc',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -478,6 +512,7 @@ ...@@ -478,6 +512,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/video_effects
'target_name': 'ppapi_example_video_effects', 'target_name': 'ppapi_example_video_effects',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -488,6 +523,7 @@ ...@@ -488,6 +523,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/enumerate_devices
'target_name': 'ppapi_example_enumerate_devices', 'target_name': 'ppapi_example_enumerate_devices',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -498,6 +534,7 @@ ...@@ -498,6 +534,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/flash_topmost
'target_name': 'ppapi_example_flash_topmost', 'target_name': 'ppapi_example_flash_topmost',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -508,6 +545,7 @@ ...@@ -508,6 +545,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/printing
'target_name': 'ppapi_example_printing', 'target_name': 'ppapi_example_printing',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -518,6 +556,7 @@ ...@@ -518,6 +556,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/media_stream_audio
'target_name': 'ppapi_example_media_stream_audio', 'target_name': 'ppapi_example_media_stream_audio',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -528,6 +567,7 @@ ...@@ -528,6 +567,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/media_stream_video
'target_name': 'ppapi_example_media_stream_video', 'target_name': 'ppapi_example_media_stream_video',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -542,6 +582,7 @@ ...@@ -542,6 +582,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/gles2_spinning_cube
'target_name': 'ppapi_example_gles2_spinning_cube', 'target_name': 'ppapi_example_gles2_spinning_cube',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -558,6 +599,7 @@ ...@@ -558,6 +599,7 @@
], ],
}, },
{ {
# GN version: //ppapi/examples/compositor
'target_name': 'ppapi_example_compositor', 'target_name': 'ppapi_example_compositor',
'dependencies': [ 'dependencies': [
'ppapi_example_skeleton', 'ppapi_example_skeleton',
...@@ -573,5 +615,7 @@ ...@@ -573,5 +615,7 @@
'examples/compositor/spinning_cube.h', 'examples/compositor/spinning_cube.h',
], ],
}, },
# Adding a new PPAPI example? Don't forget to update the GN build.
# See //ppapi/examples/BUILD.gn
], ],
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment