OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'conditions': [ | 6 'conditions': [ |
7 # In component mode (shared_lib), we build all of skia as a single DLL. | 7 # In component mode (shared_lib), we build all of skia as a single DLL. |
8 # However, in the static mode, we need to build skia as multiple targets | 8 # However, in the static mode, we need to build skia as multiple targets |
9 # in order to support the use case where a platform (e.g. Android) may | 9 # in order to support the use case where a platform (e.g. Android) may |
10 # already have a copy of skia as a system library. | 10 # already have a copy of skia as a system library. |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 { | 92 { |
93 'target_name': 'skia_chrome_opts', | 93 'target_name': 'skia_chrome_opts', |
94 'type': 'static_library', | 94 'type': 'static_library', |
95 'include_dirs': [ | 95 'include_dirs': [ |
96 '..', | 96 '..', |
97 'config', | 97 'config', |
98 '../third_party/skia/include/core', | 98 '../third_party/skia/include/core', |
99 ], | 99 ], |
100 'conditions': [ | 100 'conditions': [ |
101 [ 'os_posix == 1 and OS != "mac" and OS != "android" and \ | 101 [ 'os_posix == 1 and OS != "mac" and OS != "android" and \ |
102 target_arch != "arm" and target_arch != "mipsel"', { | 102 target_arch != "arm" and target_arch != "mipsel" and \ |
| 103 target_arch != "arm64"', { |
103 'cflags': [ | 104 'cflags': [ |
104 '-msse2', | 105 '-msse2', |
105 ], | 106 ], |
106 }], | 107 }], |
107 [ 'target_arch != "arm" and target_arch != "mipsel"', { | 108 [ 'target_arch != "arm" and target_arch != "mipsel" and \ |
| 109 target_arch != "arm64"', { |
108 'sources': [ | 110 'sources': [ |
109 'ext/convolver_SSE2.cc', | 111 'ext/convolver_SSE2.cc', |
110 ], | 112 ], |
111 }], | 113 }], |
112 [ 'target_arch == "mipsel"',{ | 114 [ 'target_arch == "mipsel"',{ |
113 'cflags': [ | 115 'cflags': [ |
114 '-fomit-frame-pointer', | 116 '-fomit-frame-pointer', |
115 ], | 117 ], |
116 'sources': [ | 118 'sources': [ |
117 'ext/convolver_mips_dspr2.cc', | 119 'ext/convolver_mips_dspr2.cc', |
(...skipping 21 matching lines...) Expand all Loading... |
139 'dependencies': [ | 141 'dependencies': [ |
140 '../base/base.gyp:base', | 142 '../base/base.gyp:base', |
141 'skia.gyp:skia', | 143 'skia.gyp:skia', |
142 ], | 144 ], |
143 'sources': [ | 145 'sources': [ |
144 'tools/filter_fuzz_stub/filter_fuzz_stub.cc', | 146 'tools/filter_fuzz_stub/filter_fuzz_stub.cc', |
145 ], | 147 ], |
146 }, | 148 }, |
147 ], | 149 ], |
148 } | 150 } |
OLD | NEW |