| OLD | NEW |
| 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 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 if (cpu_arch == "arm") { | 7 if (cpu_arch == "arm") { |
| 8 import("//build/config/arm.gni") | 8 import("//build/config/arm.gni") |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 if (skia_support_pdf) { | 349 if (skia_support_pdf) { |
| 350 deps += [ "//third_party/sfntly" ] | 350 deps += [ "//third_party/sfntly" ] |
| 351 } | 351 } |
| 352 } | 352 } |
| 353 | 353 |
| 354 # Separated out so it can be compiled with different flags for SSE. | 354 # Separated out so it can be compiled with different flags for SSE. |
| 355 source_set("skia_opts") { | 355 source_set("skia_opts") { |
| 356 if (cpu_arch == "x86" || cpu_arch == "x64") { | 356 if (cpu_arch == "x86" || cpu_arch == "x64") { |
| 357 sources = [ | 357 sources = [ |
| 358 # SSE 2 | 358 # SSE 2 |
| 359 "//third_party/skia/src/opts/opts_check_SSE2.cpp", | 359 "//third_party/skia/src/opts/opts_check_x86.cpp", |
| 360 "//third_party/skia/src/opts/SkBitmapFilter_opts_SSE2.cpp", | 360 "//third_party/skia/src/opts/SkBitmapFilter_opts_SSE2.cpp", |
| 361 "//third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp", | 361 "//third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp", |
| 362 "//third_party/skia/src/opts/SkBlitRect_opts_SSE2.cpp", | 362 "//third_party/skia/src/opts/SkBlitRect_opts_SSE2.cpp", |
| 363 "//third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp", | 363 "//third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp", |
| 364 "//third_party/skia/src/opts/SkBlurImage_opts_SSE2.cpp", | 364 "//third_party/skia/src/opts/SkBlurImage_opts_SSE2.cpp", |
| 365 "//third_party/skia/src/opts/SkMorphology_opts_SSE2.cpp", | 365 "//third_party/skia/src/opts/SkMorphology_opts_SSE2.cpp", |
| 366 "//third_party/skia/src/opts/SkUtils_opts_SSE2.cpp", | 366 "//third_party/skia/src/opts/SkUtils_opts_SSE2.cpp", |
| 367 "//third_party/skia/src/opts/SkXfermode_opts_SSE2.cpp", | 367 "//third_party/skia/src/opts/SkXfermode_opts_SSE2.cpp", |
| 368 | 368 |
| 369 # SSE 3 | 369 # SSE 3 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 389 ":skia_config", | 389 ":skia_config", |
| 390 "//build/config/compiler:no_chromium_code" | 390 "//build/config/compiler:no_chromium_code" |
| 391 ] | 391 ] |
| 392 | 392 |
| 393 deps = [ | 393 deps = [ |
| 394 "//base", | 394 "//base", |
| 395 ] | 395 ] |
| 396 | 396 |
| 397 visibility = ":skia" | 397 visibility = ":skia" |
| 398 } | 398 } |
| OLD | NEW |