Home | History | Annotate | Download | only in gyp
      1 # GYP file to build pdfviewer.
      2 #
      3 # To build on Linux:
      4 #  ./gyp_skia pdfviewer.gyp && make pdfviewer
      5 #
      6 {
      7   'includes': [
      8     'apptype_console.gypi',
      9   ],
     10   'targets': [
     11     {
     12       'target_name': 'pdfviewer',
     13       'type': 'executable',
     14       'sources': [
     15         '../experimental/PdfViewer/pdf_viewer_main.cpp',
     16       ],
     17       'include_dirs': [
     18         '../experimental/PdfViewer',
     19         '../experimental/PdfViewer/inc',
     20         '../experimental/PdfViewer/pdfparser',
     21         '../experimental/PdfViewer/pdfparser/native',
     22       ],
     23       'dependencies': [
     24         'chop_transparency',
     25         'flags.gyp:flags',
     26         'pdfviewer_lib.gyp:pdfviewer_lib',
     27         'skia_lib.gyp:skia_lib',
     28       ],
     29     },
     30     {
     31       'target_name': 'chop_transparency',
     32       'type': 'executable',
     33       'sources': [
     34         '../experimental/PdfViewer/chop_transparency_main.cpp',
     35       ],
     36       'include_dirs': [
     37         # For SkBitmapHasher.h
     38         '../src/utils/',
     39       ],
     40       'dependencies': [
     41         'flags.gyp:flags',
     42         'skia_lib.gyp:skia_lib',
     43       ],
     44     },
     45   ],
     46 }
     47