| 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| 370 "//third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp", | 370 "//third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp", |
| 371 | 371 |
| 372 # Chrome-specific. | 372 # Chrome-specific. |
| 373 "ext/convolver_SSE2.cc", | 373 "ext/convolver_SSE2.cc", |
| 374 |
| 375 # These are header files used by this target from the skia one above. |
| 376 "ext/convolver.h", |
| 377 "//third_party/skia/include/core/SkTypes.h", |
| 374 ] | 378 ] |
| 375 | 379 |
| 376 if (is_linux || is_mac) { | 380 if (is_linux || is_mac) { |
| 377 cflags = [ "-mssse3" ] # Note third 's'. | 381 cflags = [ "-mssse3" ] # Note third 's'. |
| 378 } | 382 } |
| 379 } else { | 383 } else { |
| 380 assert(false, "Need to port ARM/MIPS stuff from skia_library_opts.gyp") | 384 assert(false, "Need to port ARM/MIPS stuff from skia_library_opts.gyp") |
| 381 } | 385 } |
| 382 | 386 |
| 383 configs -= [ "//build/config/compiler:chromium_code" ] | 387 configs -= [ "//build/config/compiler:chromium_code" ] |
| 384 configs += [ | 388 configs += [ |
| 385 ":skia_config", | 389 ":skia_config", |
| 386 "//build/config/compiler:no_chromium_code" | 390 "//build/config/compiler:no_chromium_code" |
| 387 ] | 391 ] |
| 388 | 392 |
| 389 # TODO(brettw) uncomment when visibility is supported. | 393 deps = [ |
| 390 #visibility = ":skia" | 394 "//base", |
| 395 ] |
| 396 |
| 397 visibility = ":skia" |
| 391 } | 398 } |
| OLD | NEW |