- Download and build chromium.
- Set to static link in chromium\src\build\config\win\BUILD.gn
- Add plugin to ppapi_test.gypi
{
# GN version: //ppapi/examples/window_stream
'target_name': 'ppapi_window_stream',
'dependencies': [
'ppapi_example_skeleton',
'ppapi.gyp:ppapi_cpp',
],
'sources': [
'../../../window_stream/window_stream.cc',
],
},
- Cd to chromium src\
- gn args out/Default
is_debug=false is_component_build=false target_cpu="x86"
gn gen out/Default
- Compile: ninja target_cpu = "x86" -C out\Default window_stream
This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.