2013-06-10 20:44:45 +00:00
|
|
|
# GYP file to build pdfviewer.
|
|
|
|
#
|
|
|
|
# To build on Linux:
|
|
|
|
# ./gyp_skia pdfviewer.gyp && make pdfviewer
|
|
|
|
#
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'apptype_console.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
2013-06-26 17:48:12 +00:00
|
|
|
{
|
|
|
|
'target_name': 'pdfviewer',
|
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
|
|
|
'../experimental/PdfViewer/pdf_viewer_main.cpp',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'../experimental/PdfViewer',
|
2013-11-14 19:09:27 +00:00
|
|
|
'../experimental/PdfViewer/inc',
|
2013-07-02 22:42:53 +00:00
|
|
|
'../experimental/PdfViewer/pdfparser',
|
2013-07-10 17:09:50 +00:00
|
|
|
'../experimental/PdfViewer/pdfparser/native',
|
2013-06-26 17:48:12 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2013-08-05 17:26:11 +00:00
|
|
|
'chop_transparency',
|
2013-08-16 16:13:44 +00:00
|
|
|
'flags.gyp:flags',
|
|
|
|
'pdfviewer_lib.gyp:pdfviewer_lib',
|
|
|
|
'skia_lib.gyp:skia_lib',
|
2013-08-05 17:26:11 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'chop_transparency',
|
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
|
|
|
'../experimental/PdfViewer/chop_transparency_main.cpp',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
# For SkBitmapHasher.h
|
|
|
|
'../src/utils/',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'flags.gyp:flags',
|
2013-08-16 16:13:44 +00:00
|
|
|
'skia_lib.gyp:skia_lib',
|
2013-06-26 17:48:12 +00:00
|
|
|
],
|
|
|
|
},
|
2013-06-11 07:01:17 +00:00
|
|
|
],
|
2013-06-10 20:44:45 +00:00
|
|
|
}
|