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