1 # Copyright 2015 Google Inc. 2 # 3 # Use of this source code is governed by a BSD-style license that can be 4 # found in the LICENSE file. 5 # GYP file to build pdfviewer. 6 # 7 # To build on Linux: 8 # ./gyp_skia pdfviewer.gyp && make pdfviewer 9 # 10 { 11 'includes': [ 12 'apptype_console.gypi', 13 ], 14 'targets': [ 15 { 16 'target_name': 'pdfviewer', 17 'type': 'executable', 18 'sources': [ 19 '../experimental/PdfViewer/pdf_viewer_main.cpp', 20 ], 21 'include_dirs': [ 22 '../experimental/PdfViewer', 23 '../experimental/PdfViewer/inc', 24 '../experimental/PdfViewer/pdfparser', 25 '../experimental/PdfViewer/pdfparser/native', 26 ], 27 'dependencies': [ 28 'chop_transparency', 29 'flags.gyp:flags', 30 'pdfviewer_lib.gyp:pdfviewer_lib', 31 'skia_lib.gyp:skia_lib', 32 ], 33 }, 34 { 35 'target_name': 'chop_transparency', 36 'type': 'executable', 37 'sources': [ 38 '../experimental/PdfViewer/chop_transparency_main.cpp', 39 ], 40 'include_dirs': [ 41 # For SkBitmapHasher.h 42 '../src/utils/', 43 ], 44 'dependencies': [ 45 'flags.gyp:flags', 46 'skia_lib.gyp:skia_lib', 47 ], 48 }, 49 ], 50 } 51