aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/pdfviewer.gyp
blob: 1f7877f179a71d6be5cd0959e9f0f6e82db494a8 (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
47
48
49
50
51
# 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/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',
      ],
    },
  ],
}

# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: