Home | History | Annotate | Download | only in imagediff
      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
      3 # found in the LICENSE file.
      4 
      5 {
      6   'variables': {
      7     'chromium_code': 1,
      8   },
      9   'targets' : [
     10     {
     11       'target_name': 'image_diff',
     12       'type': 'executable',
     13       'variables': { 'enable_wexit_time_destructors': 1, },
     14       'dependencies': [
     15         '../../base/base.gyp:base',
     16         '../../third_party/libpng/libpng.gyp:libpng',
     17         '../../third_party/zlib/zlib.gyp:zlib',
     18       ],
     19       'include_dirs': [
     20         '../../',
     21       ],
     22       'sources': [
     23         'image_diff.cc',
     24         'image_diff_png.h',
     25         'image_diff_png.cc',
     26       ],
     27       'conditions': [
     28        ['OS=="android" and android_webview_build==0', {
     29          # The Chromium Android port will compare images on host rather
     30          # than target (a device or emulator) for performance reasons.
     31          'toolsets': ['host'],
     32        }],
     33        ['OS=="android" and android_webview_build==1', {
     34          'type': 'none',
     35        }],
     36       ],
     37     },
     38   ],
     39 }
     40