2013-06-11 00:44:45 +04:00
|
|
|
# GYP file to build pdfviewer.
|
|
|
|
#
|
|
|
|
# To build on Linux:
|
|
|
|
# ./gyp_skia pdfviewer.gyp && make pdfviewer
|
|
|
|
#
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'apptype_console.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
2013-06-26 21:48:12 +04:00
|
|
|
{
|
|
|
|
'target_name': 'pdfviewer',
|
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
|
|
|
'../experimental/PdfViewer/pdf_viewer_main.cpp',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'../experimental/PdfViewer',
|
2013-11-14 23:09:27 +04:00
|
|
|
'../experimental/PdfViewer/inc',
|
2013-07-03 02:42:53 +04:00
|
|
|
'../experimental/PdfViewer/pdfparser',
|
2013-07-10 21:09:50 +04:00
|
|
|
'../experimental/PdfViewer/pdfparser/native',
|
2013-06-26 21:48:12 +04:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2013-08-05 21:26:11 +04:00
|
|
|
'chop_transparency',
|
2013-08-16 20:13:44 +04:00
|
|
|
'flags.gyp:flags',
|
|
|
|
'pdfviewer_lib.gyp:pdfviewer_lib',
|
|
|
|
'skia_lib.gyp:skia_lib',
|
2013-08-05 21:26:11 +04: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 20:13:44 +04:00
|
|
|
'skia_lib.gyp:skia_lib',
|
2013-06-26 21:48:12 +04:00
|
|
|
],
|
|
|
|
},
|
2013-06-11 11:01:17 +04:00
|
|
|
],
|
2013-06-11 00:44:45 +04:00
|
|
|
}
|