Skip to content

Commit 5e90e84

Browse files
committed
Merge pull request #3 from jornh/native-nuget
Native nuget Former-commit-id: 08087510373026cfe761153ff4b857b6ecfe76ec
2 parents 1e9f7c6 + c1b2a4f commit 5e90e84

File tree

6 files changed

+85
-2
lines changed

6 files changed

+85
-2
lines changed

NuGet/cef.redist.nuspec

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata>
4+
<id>cef.redist</id>
5+
<version>$version$</version>
6+
<authors>The Chromium Embedded Framework Authors</authors>
7+
<owners>The CefSharp Authors</owners>
8+
<projectUrl>https://github.com/cefsharp/cef-binary</projectUrl>
9+
<iconUrl>https://raw.github.com/jornh/cef-binary/fdc5894d5eb456ec3f389c37b2eeb6458e47a115/NuGet/cef32x32.gif</iconUrl>
10+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
11+
<description>CEF - the Chromium Embedded Framework.
12+
NOTE: This package is maintained on behalf of the CEF authors by the CefSharp project at http://github.com/cefsharp/cef-binary</description>
13+
<tags>chrome chromium native embedded browser CEF nativepackage</tags>
14+
<copyright>Copyright © 2008-2013</copyright>
15+
</metadata>
16+
<files>
17+
<!--
18+
CEF/Chromium files
19+
-->
20+
<file src="..\cef_binary_3.y.z_windows32\Release\icudt.dll" target="CEF\x86" />
21+
<file src="..\cef_binary_3.y.z_windows64\Release\icudt.dll" target="CEF\x64" />
22+
<file src="..\cef_binary_3.y.z_windows32\Release\libcef.dll" target="CEF\x86"/>
23+
<file src="..\cef_binary_3.y.z_windows64\Release\libcef.dll" target="CEF\x64"/>
24+
25+
<file src="..\cef_binary_3.y.z_windows32\Resources\cef.pak" target="CEF\"/>
26+
<file src="..\cef_binary_3.y.z_windows32\Resources\devtools_resources.pak" target="CEF\"/>
27+
<file src="..\cef_binary_3.y.z_windows32\Resources\locales\en-US.pak" target="CEF\locales"/>
28+
29+
<!-- <file src="Cef.props" target="build" /> -->
30+
<file src="Cef.targets" target="build" />
31+
</files>
32+
</package>

NuGet/cef.redist.targets

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Target Name="AfterBuild">
4+
<ItemGroup>
5+
<CefBinaries Include="$(MSBuildThisFileDirectory)..\CEF\$(Platform)\*.*" />
6+
<Locales Include="$(MSBuildThisFileDirectory)..\CEF\locales\*.*" />
7+
<CefSharpBinaries Include="$(MSBuildThisFileDirectory)..\CefSharp\$(Platform)\*.*" />
8+
</ItemGroup>
9+
<Message Importance="high" Text="Copying source files from $(MSBuildThisFileDirectory)..\CEF\$(Platform) to $(TargetDir)" />
10+
<Copy SourceFiles="@(CefBinaries)" DestinationFolder="$(TargetDir)" />
11+
<Message Importance="high" Text="Copying locales from $(MSBuildThisFileDirectory)..\CEF\locales to $(TargetDir)\locales" />
12+
<Copy SourceFiles="@(PakResources)" DestinationFolder="$(TargetDir)" />
13+
<Message Importance="high" Text="Copying .pak files from $(MSBuildThisFileDirectory)..\CEF to $(TargetDir)" />
14+
<Copy SourceFiles="@(Locales)" DestinationFolder="$(TargetDir)\locales" />
15+
<Message Importance="high" Text="Copying source files from $(MSBuildThisFileDirectory)..\CefSharp\$(Platform) to $(TargetDir)" />
16+
<Copy SourceFiles="@(CefSharpBinaries)" DestinationFolder="$(TargetDir)" />
17+
</Target>
18+
</Project>

NuGet/cef128x128.gif

6.59 KB
Loading

NuGet/cef32x32.gif

1.32 KB
Loading

NuGet/pack.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
set version=3.1650.1562-pre0
2+
NuGet pack cef.redist.nuspec -NoPackageAnalysis -Version %version%

README.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,39 @@
11
# README
22

3-
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.
3+
This is a repackaging fork of the Chromium Embedded Framework (CEF) binary distribution files for Windows, found at http://www.magpcss.net/cef_downloads/.
4+
5+
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.
6+
7+
The modifications allow us to:
8+
9+
- 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)
10+
- Build `libcef_dll_wrapper.lib`s as mentioned above for [CefSharp](http://github.com/cefsharp/CefSharp)
11+
- Have a place to pick CEF `ìnclude` files for inclusion downstream (by `git ` etc.)
12+
13+
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.)
14+
15+
# Architecture
16+
17+
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)
18+
19+
TODO: Explain each of the red pieces along the lines of this rough plan (subject to change):
20+
Foundation z: NuGets
21+
22+
- C.F.Base.x64|Win32 ... (~ Bcl. Xxx ) ....
23+
- C.Foundation.Res.Lang
24+
- C.Foundation.Res.Dev
25+
26+
- C.Foundation.WebGL (incl d*dxxxx43|46)
27+
- C.F.MDwrapper
28+
29+
## Easy
30+
31+
- C.F.Bundle.x64(NoLang)
32+
- C.F.Bundle.Win32
33+
34+
- CS.Core
35+
- CS.Wpf
436

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

738
# License
839

0 commit comments

Comments
 (0)