aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/pdfviewer.gyp
blob: ab84e7f5d0266239d7bcd8bd6e4a6155c9db285f (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# GYP file to build pdfviewer.
#
# To build on Linux:
#  ./gyp_skia pdfviewer.gyp && make pdfviewer
#
{
  'variables': {
    'skia_warnings_as_errors': 0,
  },
  'includes': [
    'apptype_console.gypi',
  ],
  'targets': [
    {
      'target_name': 'pdfviewer',
      'type': 'executable',
      'cflags': ['-fexceptions'],
      'cflags_cc': ['-fexceptions'],
      'cflags!': [ '-fno-exceptions' ],
      'cflags_cc!': [ '-fno-exceptions' ],         
      'sources': [
        '../experimental/PdfViewer/pdf_viewer_main.cpp',
      ],
      'include_dirs': [
        '../third_party/externals/podofo/src/base',
        '../third_party/externals/podofo/src',
        '../third_party/externals/podofo',
        '../tools',
        '../experimental/PdfViewer',
      ],
      'dependencies': [
        'core.gyp:core',
        'effects.gyp:effects',
        'images.gyp:images',
        'pdf.gyp:pdf',
        'ports.gyp:ports',
        'tools.gyp:picture_utils',
        '../third_party/externals/podofo/podofo.gyp:podofo',
      ],
      'link_settings': {
        'libraries': [
        ],
      },    
      'defines': [
        'BUILDING_PODOFO',
      ],
    },
  ],
  'conditions': [
    ['skia_os == "win"',
      {
        'targets': [
          {
            'target_name': 'win_lcid',
            'type': 'executable',
            'sources': [
              '../tools/win_lcid.cpp',
            ],
          },
        ],
      },
    ],
  ],  
}

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