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