| OLD | NEW |
| 1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # This file builds the PDF backend. | 5 # This file builds the PDF backend. |
| 6 { | 6 { |
| 7 'targets': [ | 7 'targets': [ |
| 8 { | 8 { |
| 9 'target_name': 'nopdf', | 9 'target_name': 'nopdf', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| 11 'dependencies': [ 'skia_lib.gyp:skia_lib', ], | 11 'dependencies': [ 'skia_lib.gyp:skia_lib', ], |
| 12 'sources': [ '<(skia_src_path)/pdf/SkDocument_PDF_None.cpp', ], | 12 'sources': [ '<(skia_src_path)/pdf/SkDocument_PDF_None.cpp', ], |
| 13 'defines': [ 'SK_SUPPORT_PDF=0', ], | |
| 14 }, | 13 }, |
| 15 { | 14 { |
| 16 'target_name': 'pdf', | 15 'target_name': 'pdf', |
| 17 'product_name': 'skia_pdf', | 16 'product_name': 'skia_pdf', |
| 18 'type': 'static_library', | 17 'type': 'static_library', |
| 19 'standalone_static_library': 1, | 18 'standalone_static_library': 1, |
| 20 'variables': { | 19 'variables': { |
| 21 'skia_pdf_use_sfntly%': 1, | 20 'skia_pdf_use_sfntly%': 1, |
| 22 'skia_pdf_less_compression%': 0, # enable for debugging only | 21 'skia_pdf_less_compression%': 0, # enable for debugging only |
| 23 }, | 22 }, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 52 ], | 51 ], |
| 53 'libraries': [ | 52 'libraries': [ |
| 54 'libsfntly.a', | 53 'libsfntly.a', |
| 55 '-licuuc', | 54 '-licuuc', |
| 56 '-licui18n', | 55 '-licui18n', |
| 57 ], | 56 ], |
| 58 } | 57 } |
| 59 ], | 58 ], |
| 60 ], | 59 ], |
| 61 'direct_dependent_settings': { | 60 'direct_dependent_settings': { |
| 62 'defines': [ 'SK_SUPPORT_PDF=1', ], | |
| 63 'include_dirs': [ | 61 'include_dirs': [ |
| 64 '../include/core', # SkDocument.h | 62 '../include/core', # SkDocument.h |
| 65 ], | 63 ], |
| 66 }, | 64 }, |
| 67 }, | 65 }, |
| 68 ], | 66 ], |
| 69 } | 67 } |
| OLD | NEW |