OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium 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 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets' : [ | 9 'targets' : [ |
10 { | 10 { |
11 'target_name': 'image_diff', | 11 'target_name': 'image_diff', |
12 'type': 'executable', | 12 'type': 'executable', |
| 13 'variables': { 'enable_wexit_time_destructors': 1, }, |
13 'dependencies': [ | 14 'dependencies': [ |
14 '../../base/base.gyp:base', | 15 '../../base/base.gyp:base', |
15 '../../webkit/support/webkit_support.gyp:webkit_support_gfx', | 16 '../../third_party/libpng/libpng.gyp:libpng', |
| 17 '../../third_party/zlib/zlib.gyp:zlib', |
| 18 ], |
| 19 'include_dirs': [ |
| 20 '../../', |
16 ], | 21 ], |
17 'sources': [ | 22 'sources': [ |
18 'image_diff.cc', | 23 'image_diff.cc', |
| 24 'image_diff_png.h', |
| 25 'image_diff_png.cc', |
19 ], | 26 ], |
20 'conditions': [ | 27 'conditions': [ |
21 ['OS=="android" and android_webview_build==0', { | 28 ['OS=="android" and android_webview_build==0', { |
22 # The Chromium Android port will compare images on host rather | 29 # The Chromium Android port will compare images on host rather |
23 # than target (a device or emulator) for performance reasons. | 30 # than target (a device or emulator) for performance reasons. |
24 'toolsets': ['host'], | 31 'toolsets': ['host'], |
25 }], | 32 }], |
26 ['OS=="android" and android_webview_build==1', { | 33 ['OS=="android" and android_webview_build==1', { |
27 'type': 'none', | 34 'type': 'none', |
28 }], | 35 }], |
29 ], | 36 ], |
30 }, | 37 }, |
31 ], | 38 ], |
32 } | 39 } |
OLD | NEW |