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

Side by Side Diff: skia/BUILD.gn

Issue 234123004: Fix Skia link errors in the GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 if (cpu_arch == "arm") { 6 if (cpu_arch == "arm") {
7 import("//build/config/arm.gni") 7 import("//build/config/arm.gni")
8 } 8 }
9 9
10 skia_support_gpu = !is_ios 10 skia_support_gpu = !is_ios
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 sources = [ 334 sources = [
335 # SSE 2 335 # SSE 2
336 "//third_party/skia/src/opts/opts_check_SSE2.cpp", 336 "//third_party/skia/src/opts/opts_check_SSE2.cpp",
337 "//third_party/skia/src/opts/SkBitmapFilter_opts_SSE2.cpp", 337 "//third_party/skia/src/opts/SkBitmapFilter_opts_SSE2.cpp",
338 "//third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp", 338 "//third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp",
339 "//third_party/skia/src/opts/SkBlitRect_opts_SSE2.cpp", 339 "//third_party/skia/src/opts/SkBlitRect_opts_SSE2.cpp",
340 "//third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp", 340 "//third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp",
341 "//third_party/skia/src/opts/SkBlurImage_opts_SSE2.cpp", 341 "//third_party/skia/src/opts/SkBlurImage_opts_SSE2.cpp",
342 "//third_party/skia/src/opts/SkMorphology_opts_SSE2.cpp", 342 "//third_party/skia/src/opts/SkMorphology_opts_SSE2.cpp",
343 "//third_party/skia/src/opts/SkUtils_opts_SSE2.cpp", 343 "//third_party/skia/src/opts/SkUtils_opts_SSE2.cpp",
344 "//third_party/skia/src/opts/SkXfermode_opts_none.cpp", 344 "//third_party/skia/src/opts/SkXfermode_opts_SSE2.cpp",
345 345
346 # SSE 3 346 # SSE 3
347 "//third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp", 347 "//third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp",
348 348
349 # Chrome-specific. 349 # Chrome-specific.
350 "ext/convolver_SSE2.cc", 350 "ext/convolver_SSE2.cc",
351 ] 351 ]
352 352
353 if (is_linux || is_mac) { 353 if (is_linux || is_mac) {
354 cflags = [ "-mssse3" ] # Note third 's'. 354 cflags = [ "-mssse3" ] # Note third 's'.
355 } 355 }
356 } else { 356 } else {
357 assert(false, "Need to port ARM/MIPS stuff from skia_library_opts.gyp") 357 assert(false, "Need to port ARM/MIPS stuff from skia_library_opts.gyp")
358 } 358 }
359 359
360 configs -= [ "//build/config/compiler:chromium_code" ] 360 configs -= [ "//build/config/compiler:chromium_code" ]
361 configs += [ 361 configs += [
362 ":skia_config", 362 ":skia_config",
363 "//build/config/compiler:no_chromium_code" 363 "//build/config/compiler:no_chromium_code"
364 ] 364 ]
365 365
366 # TODO(brettw) uncomment when visibility is supported. 366 # TODO(brettw) uncomment when visibility is supported.
367 #visibility = ":skia" 367 #visibility = ":skia"
368 } 368 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698