Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Side by Side Diff: skia/skia_chrome.gypi

Issue 1161853008: skia: Simplify SSE2 logic a bit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « skia/skia.gyp ('k') | skia/skia_library_opts.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 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 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 # This gypi file contains all the Chrome-specific enhancements to Skia. 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 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. 8 # the Skia files but in all other cases it is a separate library.
9 { 9 {
10 'dependencies': [ 10 'dependencies': [
11 'skia_library', 11 'skia_library',
12 'skia_chrome_opts',
13 '../base/base.gyp:base', 12 '../base/base.gyp:base',
14 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations', 13 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations',
15 ], 14 ],
16 15
17 'direct_dependent_settings': { 16 'direct_dependent_settings': {
18 'include_dirs': [ 17 'include_dirs': [
19 'ext', 18 'ext',
20 ], 19 ],
21 }, 20 },
22 'variables': { 21 'variables': {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 'ext/skia_utils_win.cc', 77 'ext/skia_utils_win.cc',
79 'ext/skia_utils_win.h', 78 'ext/skia_utils_win.h',
80 ], 79 ],
81 'conditions': [ 80 'conditions': [
82 [ 'OS == "android" and ' 81 [ 'OS == "android" and '
83 'enable_basic_printing==0 and enable_print_preview==0', { 82 'enable_basic_printing==0 and enable_print_preview==0', {
84 'sources!': [ 83 'sources!': [
85 'ext/skia_utils_base.cc', 84 'ext/skia_utils_base.cc',
86 ], 85 ],
87 }], 86 }],
88 ['OS == "ios"', {
89 'dependencies!': [
90 'skia_chrome_opts',
91 ],
92 }],
93 [ 'OS != "android" and (OS != "linux" or use_cairo==1)', { 87 [ 'OS != "android" and (OS != "linux" or use_cairo==1)', {
94 'sources!': [ 88 'sources!': [
95 'ext/bitmap_platform_device_skia.cc', 89 'ext/bitmap_platform_device_skia.cc',
96 ], 90 ],
97 }], 91 }],
92 [ 'OS != "ios" and target_arch != "arm" and target_arch != "mipsel" and \
93 target_arch != "arm64" and target_arch != "mips64el"', {
94 'sources': [
95 'ext/convolver_SSE2.cc',
96 'ext/convolver_SSE2.h',
97 ],
98 }],
99 [ 'target_arch == "mipsel" and mips_dsp_rev >= 2',{
100 'sources': [
101 'ext/convolver_mips_dspr2.cc',
102 'ext/convolver_mips_dspr2.h',
103 ],
104 }],
98 ], 105 ],
99 106
100 'target_conditions': [ 107 'target_conditions': [
101 # Pull in specific linux files for android (which have been filtered out 108 # Pull in specific linux files for android (which have been filtered out
102 # by file name rules). 109 # by file name rules).
103 [ 'OS == "android"', { 110 [ 'OS == "android"', {
104 'sources/': [ 111 'sources/': [
105 ['include', 'ext/platform_device_linux\\.cc$'], 112 ['include', 'ext/platform_device_linux\\.cc$'],
106 ], 113 ],
107 }], 114 }],
108 ], 115 ],
109 } 116 }
OLDNEW
« no previous file with comments | « skia/skia.gyp ('k') | skia/skia_library_opts.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698