Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Build pdf component for win-print API support. #104

Merged
merged 4 commits into from
May 5, 2015

Conversation

hokein
Copy link
Contributor

@hokein hokein commented Apr 30, 2015

No description provided.

hokein added 2 commits April 30, 2015 13:27
The pdf header files have dependency on ppapi header. To ship pdf, we
also need to ship ppapi.
@deepak1556
Copy link
Member

@hokein i am wroking on supporting ppapi, glad that you shipped ppapi headers in this patch. But there are a few ppapi components that needs to be built (ppai_*), shall i base it on this PR or you will be adding it ?

@hokein
Copy link
Contributor Author

hokein commented Apr 30, 2015

@deepak1556 Which ppapi components will you need? The pdf component already has dependency on ppapi modules (ppapi_cpp_object and ppapi_internal_module).

It may require a long time to get win-print patch merged. If you need it eariler, you can directly ship ppapi without basing on this PR, and I will update this PR later.

@deepak1556
Copy link
Member

Ah cool just needed ppapi_internal , didnt check pdf.gyp . But we are yet to confirm whether to ship pdfium as an optional shared library right ? I will just work on ppapi for now without basing on this PR. Thanks!

@@ -33,6 +33,7 @@
'<(DEPTH)/content/content.gyp:content_app_both',
'<(DEPTH)/content/content_shell_and_tests.gyp:content_shell_pak',
'<(DEPTH)/net/net.gyp:net_with_v8',
'<(DEPTH)/pdf/pdf.gyp:pdf',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This dependency is only needed on Windows. And pdf.gyp:pdf is hard-coded to be static_library, we have to deal with it specially in component build.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The component build has been finished now. For pdf.lib static library in component build, we need to link all its dependent libraries manually. Also introducing change on electron-archive/brightray#102.

@zcbenz please take a look.

@zcbenz
Copy link
Contributor

zcbenz commented May 5, 2015

zcbenz added a commit that referenced this pull request May 5, 2015
Build pdf component for win-print API support.
@zcbenz zcbenz merged commit 823d823 into electron:master May 5, 2015
@zcbenz zcbenz mentioned this pull request May 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants