OLD | NEW |
| (Empty) |
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. | |
4 | |
5 | |
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. | |
9 { | |
10 'dependencies': [ | |
11 'skia_library', | |
12 '../base/base.gyp:base', | |
13 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann
otations', | |
14 ], | |
15 | |
16 'direct_dependent_settings': { | |
17 'include_dirs': [ | |
18 'ext', | |
19 ], | |
20 }, | |
21 'variables': { | |
22 # TODO(scottmg): http://crbug.com/177306 | |
23 'clang_warning_flags_unset': [ | |
24 # Don't warn about string->bool used in asserts. | |
25 '-Wstring-conversion', | |
26 ], | |
27 }, | |
28 'sources': [ | |
29 # Note: file list duplicated in GN build. | |
30 'ext/analysis_canvas.cc', | |
31 'ext/benchmarking_canvas.cc', | |
32 'ext/bitmap_platform_device_cairo.cc', | |
33 'ext/bitmap_platform_device_mac.cc', | |
34 'ext/bitmap_platform_device_skia.cc', | |
35 'ext/bitmap_platform_device_win.cc', | |
36 'ext/convolver.cc', | |
37 'ext/event_tracer_impl.cc', | |
38 'ext/fontmgr_default_win.cc', | |
39 'ext/google_logging.cc', | |
40 'ext/image_operations.cc', | |
41 'ext/opacity_filter_canvas.cc', | |
42 'ext/platform_canvas.cc', | |
43 'ext/platform_device.cc', | |
44 'ext/platform_device_linux.cc', | |
45 'ext/platform_device_mac.cc', | |
46 'ext/platform_device_win.cc', | |
47 'ext/recursive_gaussian_convolution.cc', | |
48 'ext/SkDiscardableMemory_chrome.cc', | |
49 'ext/SkMemory_new_handler.cpp', | |
50 'ext/skia_histogram.cc', | |
51 'ext/skia_memory_dump_provider.cc', | |
52 'ext/skia_trace_memory_dump_impl.cc', | |
53 'ext/skia_utils_base.cc', | |
54 'ext/skia_utils_ios.mm', | |
55 'ext/skia_utils_mac.mm', | |
56 'ext/skia_utils_win.cc', | |
57 ], | |
58 'conditions': [ | |
59 [ 'OS == "ios"', { | |
60 'sources!': [ | |
61 'ext/platform_canvas.cc', | |
62 ], | |
63 }], | |
64 [ 'OS == "android" and ' | |
65 'enable_basic_printing==0 and enable_print_preview==0', { | |
66 'sources!': [ | |
67 'ext/skia_utils_base.cc', | |
68 ], | |
69 }], | |
70 [ 'OS != "android" and (OS != "linux" or use_cairo==1)', { | |
71 'sources!': [ | |
72 'ext/bitmap_platform_device_skia.cc', | |
73 ], | |
74 }], | |
75 [ 'OS != "ios" and target_arch != "arm" and target_arch != "mipsel" and \ | |
76 target_arch != "arm64" and target_arch != "mips64el"', { | |
77 'sources': [ | |
78 'ext/convolver_SSE2.cc', | |
79 ], | |
80 }], | |
81 [ 'target_arch == "mipsel" and mips_dsp_rev >= 2',{ | |
82 'sources': [ | |
83 'ext/convolver_mips_dspr2.cc', | |
84 ], | |
85 }], | |
86 ], | |
87 | |
88 'target_conditions': [ | |
89 # Pull in specific linux files for android (which have been filtered out | |
90 # by file name rules). | |
91 [ 'OS == "android"', { | |
92 'sources/': [ | |
93 ['include', 'ext/platform_device_linux\\.cc$'], | |
94 ], | |
95 }], | |
96 ], | |
97 } | |
OLD | NEW |