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

Side by Side Diff: BUILD.gn

Issue 2289293002: clean up use of register storage class (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | src/opts/SkBlitRow_opts_mips_dsp.cpp » ('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 2016 Google Inc. 1 # Copyright 2016 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 declare_args() { 6 declare_args() {
7 skia_enable_tools = !is_fuchsia && !is_component_build 7 skia_enable_tools = !is_fuchsia && !is_component_build
8 8
9 skia_use_expat = true 9 skia_use_expat = true
10 skia_use_fontconfig = is_linux 10 skia_use_fontconfig = is_linux
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 opts("avx") { 216 opts("avx") {
217 enabled = is_x86 217 enabled = is_x86
218 sources = opts_gypi.avx_sources 218 sources = opts_gypi.avx_sources
219 cflags = [ "-mavx" ] 219 cflags = [ "-mavx" ]
220 } 220 }
221 221
222 opts("dsp") { 222 opts("dsp") {
223 enabled = current_cpu == "mipsel" 223 enabled = current_cpu == "mipsel"
224 sources = opts_gypi.mips_dsp_sources 224 sources = opts_gypi.mips_dsp_sources
225 cflags = [ "-Wno-deprecated-register" ] # FIXME 225 cflags = []
226 } 226 }
227 227
228 # Any feature of Skia that requires third-party code should be optional and use this template. 228 # Any feature of Skia that requires third-party code should be optional and use this template.
229 template("optional") { 229 template("optional") {
230 if (invoker.enabled) { 230 if (invoker.enabled) {
231 config(target_name + "_public") { 231 config(target_name + "_public") {
232 defines = invoker.public_defines 232 defines = invoker.public_defines
233 } 233 }
234 source_set(target_name) { 234 source_set(target_name) {
235 forward_variables_from(invoker, "*", [ "public_defines" ]) 235 forward_variables_from(invoker, "*", [ "public_defines" ])
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 "tools/using_skia_and_harfbuzz.cpp", 811 "tools/using_skia_and_harfbuzz.cpp",
812 ] 812 ]
813 deps = [ 813 deps = [
814 ":skia", 814 ":skia",
815 "//third_party/harfbuzz", 815 "//third_party/harfbuzz",
816 ] 816 ]
817 testonly = true 817 testonly = true
818 } 818 }
819 } 819 }
820 } 820 }
OLDNEW
« no previous file with comments | « no previous file | src/opts/SkBlitRow_opts_mips_dsp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698