Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added NuGet/NuGet.exe
Binary file not shown.
32 changes: 32 additions & 0 deletions NuGet/cef.redist.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>cef.redist</id>
<version>$version$</version>
<authors>The Chromium Embedded Framework Authors</authors>
<owners>The CefSharp Authors</owners>
<projectUrl>https://github.com/cefsharp/cef-binary</projectUrl>
<iconUrl>https://raw.github.com/jornh/cef-binary/fdc5894d5eb456ec3f389c37b2eeb6458e47a115/NuGet/cef32x32.gif</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>CEF - the Chromium Embedded Framework.
NOTE: This package is maintained on behalf of the CEF authors by the CefSharp project at http://github.com/cefsharp/cef-binary</description>
<tags>chrome chromium native embedded browser CEF nativepackage</tags>
<copyright>Copyright © 2008-2013</copyright>
</metadata>
<files>
<!--
CEF/Chromium files
-->
<file src="..\cef_binary_3.y.z_windows32\Release\icudt.dll" target="CEF\x86" />
<file src="..\cef_binary_3.y.z_windows64\Release\icudt.dll" target="CEF\x64" />
<file src="..\cef_binary_3.y.z_windows32\Release\libcef.dll" target="CEF\x86"/>
<file src="..\cef_binary_3.y.z_windows64\Release\libcef.dll" target="CEF\x64"/>

<file src="..\cef_binary_3.y.z_windows32\Resources\cef.pak" target="CEF\"/>
<file src="..\cef_binary_3.y.z_windows32\Resources\devtools_resources.pak" target="CEF\"/>
<file src="..\cef_binary_3.y.z_windows32\Resources\locales\en-US.pak" target="CEF\locales"/>

<!-- <file src="Cef.props" target="build" /> -->
<file src="Cef.targets" target="build" />
</files>
</package>
18 changes: 18 additions & 0 deletions NuGet/cef.redist.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="AfterBuild">
<ItemGroup>
<CefBinaries Include="$(MSBuildThisFileDirectory)..\CEF\$(Platform)\*.*" />
<Locales Include="$(MSBuildThisFileDirectory)..\CEF\locales\*.*" />
<CefSharpBinaries Include="$(MSBuildThisFileDirectory)..\CefSharp\$(Platform)\*.*" />
</ItemGroup>
<Message Importance="high" Text="Copying source files from $(MSBuildThisFileDirectory)..\CEF\$(Platform) to $(TargetDir)" />
<Copy SourceFiles="@(CefBinaries)" DestinationFolder="$(TargetDir)" />
<Message Importance="high" Text="Copying locales from $(MSBuildThisFileDirectory)..\CEF\locales to $(TargetDir)\locales" />
<Copy SourceFiles="@(PakResources)" DestinationFolder="$(TargetDir)" />
<Message Importance="high" Text="Copying .pak files from $(MSBuildThisFileDirectory)..\CEF to $(TargetDir)" />
<Copy SourceFiles="@(Locales)" DestinationFolder="$(TargetDir)\locales" />
<Message Importance="high" Text="Copying source files from $(MSBuildThisFileDirectory)..\CefSharp\$(Platform) to $(TargetDir)" />
<Copy SourceFiles="@(CefSharpBinaries)" DestinationFolder="$(TargetDir)" />
</Target>
</Project>
Binary file added NuGet/cef128x128.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NuGet/cef32x32.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions NuGet/pack.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
set version=3.1650.1562-pre0
NuGet pack cef.redist.nuspec -NoPackageAnalysis -Version %version%
35 changes: 33 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,39 @@
# README

This is a personal fork of the Chromium Embedded Framework (CEF) binary distribution, found at http://www.magpcss.net/cef_downloads/. To make it work properly with the VS2010, VS2012 and VS2013 version of [CefSharp](http://github.com/cefsharp/CefSharp), we need to do some local modifications to make the project compile properly. This purpose of this repository is to track and maintain these modifications.
This is a repackaging fork of the Chromium Embedded Framework (CEF) binary distribution files for Windows, found at http://www.magpcss.net/cef_downloads/.

To make it work properly for developers on VS2010, VS2012 and VS2013 wanting to develop [CefSharp](http://github.com/cefsharp/CefSharp), we need to do some local modifications to make the project compile properly. This purpose of this repository is to track and maintain these modifications.

The modifications allow us to:

- Re-package and distribute CEF `.dll` and `.pak` files in a piecemeal fashion using http://nuget.org (this is useful for both Xilium.CefGlue and CefSharp developers and users alike)
- Build `libcef_dll_wrapper.lib`s as mentioned above for [CefSharp](http://github.com/cefsharp/CefSharp)
- Have a place to pick CEF `ìnclude` files for inclusion downstream (by `git ` etc.)

The original README for CEF can be found here: [README.txt](cef_binary_3.y.z_windows32/README.txt). It has some useful details about which CEF pieces are needed for what (e.g. browser developer tools, language support, different HTML5 features, WebGL support etc.)

# Architecture

Note to self: Add a diagram here based on: http://codepen.io/jornh/full/Iyebk explaining that this is the red layer with the native code from the upstream CEF (and Chromium projects)

TODO: Explain each of the red pieces along the lines of this rough plan (subject to change):
Foundation z: NuGets

- C.F.Base.x64|Win32 ... (~ Bcl. Xxx ) ....
- C.Foundation.Res.Lang
- C.Foundation.Res.Dev

- C.Foundation.WebGL (incl d*dxxxx43|46)
- C.F.MDwrapper

## Easy

- C.F.Bundle.x64(NoLang)
- C.F.Bundle.Win32

- CS.Core
- CS.Wpf

The original README for CEF can be found here: [README.txt](cef_binary_3.y.z_windows32/README.txt).

# License

Expand Down