| 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 '<(DEPTH)', | 17 '<(DEPTH)', |
| 18 '..', |
| 17 ], | 19 ], |
| 18 'conditions': [ | 20 'conditions': [ |
| 19 ['pdf_enable_v8==1', { | 21 ['pdf_enable_v8==1', { |
| 20 'defines': [ | 22 'defines': [ |
| 21 'PDF_ENABLE_V8', | 23 'PDF_ENABLE_V8', |
| 22 ], | 24 ], |
| 23 'include_dirs': [ | 25 'include_dirs': [ |
| 24 '<(DEPTH)/v8', | 26 '<(DEPTH)/v8', |
| 25 '<(DEPTH)/v8/include', | 27 '<(DEPTH)/v8/include', |
| 26 ], | 28 ], |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 }, | 61 }, |
| 60 { | 62 { |
| 61 'target_name': 'pdfium_diff', | 63 'target_name': 'pdfium_diff', |
| 62 'type': 'executable', | 64 'type': 'executable', |
| 63 'variables': { 'enable_wexit_time_destructors': 1, }, | 65 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 64 'dependencies': [ | 66 'dependencies': [ |
| 65 'fx_lpng', | 67 'fx_lpng', |
| 66 '../pdfium.gyp:pdfium', | 68 '../pdfium.gyp:pdfium', |
| 67 '../third_party/third_party.gyp:pdfium_base', | 69 '../third_party/third_party.gyp:pdfium_base', |
| 68 ], | 70 ], |
| 69 'include_dirs': [ | |
| 70 '../../', | |
| 71 ], | |
| 72 'sources': [ | 71 'sources': [ |
| 73 'image_diff.cc', | 72 'image_diff.cc', |
| 74 'image_diff_png.h', | 73 'image_diff_png.h', |
| 75 'image_diff_png.cc', | 74 'image_diff_png.cc', |
| 76 ], | 75 ], |
| 77 }, | 76 }, |
| 78 { | 77 { |
| 79 'target_name': 'fx_lpng', | 78 'target_name': 'fx_lpng', |
| 80 'type': 'static_library', | 79 'type': 'static_library', |
| 81 'dependencies': [ | 80 'dependencies': [ |
| (...skipping 16 matching lines...) Expand all Loading... |
| 98 'fx_lpng/src/fx_pngset.c', | 97 'fx_lpng/src/fx_pngset.c', |
| 99 'fx_lpng/src/fx_pngtrans.c', | 98 'fx_lpng/src/fx_pngtrans.c', |
| 100 'fx_lpng/src/fx_pngwio.c', | 99 'fx_lpng/src/fx_pngwio.c', |
| 101 'fx_lpng/src/fx_pngwrite.c', | 100 'fx_lpng/src/fx_pngwrite.c', |
| 102 'fx_lpng/src/fx_pngwtran.c', | 101 'fx_lpng/src/fx_pngwtran.c', |
| 103 'fx_lpng/src/fx_pngwutil.c', | 102 'fx_lpng/src/fx_pngwutil.c', |
| 104 ], | 103 ], |
| 105 }, | 104 }, |
| 106 ], | 105 ], |
| 107 } | 106 } |
| OLD | NEW |