MSan: remove test specs for defunct "Browser" testers.
[chromium-blink-merge.git] / skia / skia_chrome.gypi
blobd689a9215bd4db343350f8acc502eba11dad5e10
1 # Copyright 2013 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.
6 # This gypi file contains all the Chrome-specific enhancements to Skia.
7 # In component mode (shared_lib) it is folded into a single shared library with
8 # the Skia files but in all other cases it is a separate library.
10   'dependencies': [
11     'skia_library',
12     'skia_chrome_opts',
13     '../base/base.gyp:base',
14     '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
15   ],
17   'direct_dependent_settings': {
18     'include_dirs': [
19       'ext',
20     ],
21   },
22   'variables': {
23     # TODO(scottmg): http://crbug.com/177306
24     'clang_warning_flags_unset': [
25       # Don't warn about string->bool used in asserts.
26       '-Wstring-conversion',
27     ],
28   },
29   'sources': [
30     'config/SkUserConfig.h',
32     # Note: file list duplicated in GN build.
33     'ext/analysis_canvas.cc',
34     'ext/analysis_canvas.h',
35     'ext/benchmarking_canvas.cc',
36     'ext/benchmarking_canvas.h',
37     'ext/bitmap_platform_device.h',
38     'ext/bitmap_platform_device_cairo.cc',
39     'ext/bitmap_platform_device_cairo.h',
40     'ext/bitmap_platform_device_mac.cc',
41     'ext/bitmap_platform_device_mac.h',
42     'ext/bitmap_platform_device_skia.cc',
43     'ext/bitmap_platform_device_skia.h',
44     'ext/bitmap_platform_device_win.cc',
45     'ext/bitmap_platform_device_win.h',
46     'ext/convolver.cc',
47     'ext/convolver.h',
48     'ext/event_tracer_impl.cc',
49     'ext/event_tracer_impl.h',
50     'ext/fontmgr_default_win.cc',
51     'ext/fontmgr_default_win.h',
52     'ext/google_logging.cc',
53     'ext/image_operations.cc',
54     'ext/image_operations.h',
55     'ext/opacity_draw_filter.cc',
56     'ext/opacity_draw_filter.h',
57     'ext/pixel_ref_utils.cc',
58     'ext/pixel_ref_utils.h',
59     'ext/platform_canvas.cc',
60     'ext/platform_canvas.h',
61     'ext/platform_device.cc',
62     'ext/platform_device.h',
63     'ext/platform_device_linux.cc',
64     'ext/platform_device_mac.cc',
65     'ext/platform_device_win.cc',
66     'ext/recursive_gaussian_convolution.cc',
67     'ext/recursive_gaussian_convolution.h',
68     'ext/refptr.h',
69     'ext/SkDiscardableMemory_chrome.h',
70     'ext/SkDiscardableMemory_chrome.cc',
71     'ext/SkMemory_new_handler.cpp',
72     'ext/skia_utils_base.cc',
73     'ext/skia_utils_base.h',
74     'ext/skia_utils_ios.mm',
75     'ext/skia_utils_ios.h',
76     'ext/skia_utils_mac.mm',
77     'ext/skia_utils_mac.h',
78     'ext/skia_utils_win.cc',
79     'ext/skia_utils_win.h',
80   ],
81   'conditions': [
82     [ 'OS == "android" and '
83       'enable_basic_printing==0 and enable_print_preview==0', {
84       'sources!': [
85         'ext/skia_utils_base.cc',
86       ],
87     }],
88     ['OS == "ios"', {
89       'dependencies!': [
90         'skia_chrome_opts',
91       ],
92     }],
93     [ 'OS != "android" and (OS != "linux" or use_cairo==1)', {
94       'sources!': [
95         'ext/bitmap_platform_device_skia.cc',
96       ],
97     }],
98   ],
100   'target_conditions': [
101     # Pull in specific linux files for android (which have been filtered out
102     # by file name rules).
103     [ 'OS == "android"', {
104       'sources/': [
105         ['include', 'ext/platform_device_linux\\.cc$'],
106       ],
107     }],
108   ],