| OLD | NEW |
| 1 # Copyright 2014 PDFium Authors. All rights reserved. | 1 # Copyright 2014 PDFium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'pdf_enable_v8%': 1, | 7 'pdf_enable_v8%': 1, |
| 8 }, | 8 }, |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'defines' : [ | 10 'defines' : [ |
| 11 'PNG_PREFIX', | 11 'PNG_PREFIX', |
| 12 'PNGPREFIX_H', | 12 'PNGPREFIX_H', |
| 13 'PNG_USE_READ_MACROS', | 13 'PNG_USE_READ_MACROS', |
| 14 ], | 14 ], |
| 15 'include_dirs': [ | 15 'include_dirs': [ |
| 16 # This is implicit in GN. | 16 # This is implicit in GN. |
| 17 '<(DEPTH)', | 17 '<(DEPTH)', |
| 18 '..', |
| 18 ], | 19 ], |
| 19 'conditions': [ | 20 'conditions': [ |
| 20 ['pdf_enable_v8==1', { | 21 ['pdf_enable_v8==1', { |
| 21 'defines': [ | 22 'defines': [ |
| 22 'PDF_ENABLE_V8', | 23 'PDF_ENABLE_V8', |
| 23 ], | 24 ], |
| 24 'include_dirs': [ | 25 'include_dirs': [ |
| 25 '<(DEPTH)/v8', | 26 '<(DEPTH)/v8', |
| 26 '<(DEPTH)/v8/include', | 27 '<(DEPTH)/v8/include', |
| 27 ], | 28 ], |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 '../third_party/third_party.gyp:pdfium_base', | 67 '../third_party/third_party.gyp:pdfium_base', |
| 67 ], | 68 ], |
| 68 'sources': [ | 69 'sources': [ |
| 69 'image_diff.cc', | 70 'image_diff.cc', |
| 70 'image_diff_png.h', | 71 'image_diff_png.h', |
| 71 'image_diff_png.cc', | 72 'image_diff_png.cc', |
| 72 ], | 73 ], |
| 73 }, | 74 }, |
| 74 ], | 75 ], |
| 75 } | 76 } |
| OLD | NEW |