| 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 "ext/skia_utils_win.h", | 301 "ext/skia_utils_win.h", |
| 302 "ext/vector_canvas.h", | 302 "ext/vector_canvas.h", |
| 303 "ext/vector_platform_device_emf_win.cc", | 303 "ext/vector_platform_device_emf_win.cc", |
| 304 "ext/vector_platform_device_emf_win.h", | 304 "ext/vector_platform_device_emf_win.h", |
| 305 ] | 305 ] |
| 306 | 306 |
| 307 # The skia gypi values are relative to the skia_dir, so we need to rebase. | 307 # The skia gypi values are relative to the skia_dir, so we need to rebase. |
| 308 sources += gypi_skia_core.sources | 308 sources += gypi_skia_core.sources |
| 309 sources += gypi_skia_effects.sources | 309 sources += gypi_skia_effects.sources |
| 310 sources += gypi_skia_utils.sources | 310 sources += gypi_skia_utils.sources |
| 311 sources += gypi_skia_pdf.sources | |
| 312 sources += gypi_values.skia_library_sources | 311 sources += gypi_values.skia_library_sources |
| 313 | 312 |
| 314 if (cpu_arch == "arm") { | 313 if (cpu_arch == "arm") { |
| 315 sources += [ | 314 sources += [ |
| 316 "//third_party/skia/src/core/SkUtilsArm.cpp", | 315 "//third_party/skia/src/core/SkUtilsArm.cpp", |
| 317 "//third_party/skia/src/core/SkUtilsArm.h", | 316 "//third_party/skia/src/core/SkUtilsArm.h", |
| 318 ] | 317 ] |
| 319 } | 318 } |
| 320 | 319 |
| 321 # GPU | 320 # GPU |
| (...skipping 14 matching lines...) Expand all Loading... |
| 336 "//third_party/skia/include/utils/SkDumpCanvas.h", | 335 "//third_party/skia/include/utils/SkDumpCanvas.h", |
| 337 "//third_party/skia/include/utils/SkEventTracer.h", | 336 "//third_party/skia/include/utils/SkEventTracer.h", |
| 338 "//third_party/skia/include/utils/SkInterpolator.h", | 337 "//third_party/skia/include/utils/SkInterpolator.h", |
| 339 "//third_party/skia/include/utils/SkLayer.h", | 338 "//third_party/skia/include/utils/SkLayer.h", |
| 340 "//third_party/skia/include/utils/SkMeshUtils.h", | 339 "//third_party/skia/include/utils/SkMeshUtils.h", |
| 341 "//third_party/skia/include/utils/SkNinePatch.h", | 340 "//third_party/skia/include/utils/SkNinePatch.h", |
| 342 "//third_party/skia/include/utils/SkParse.h", | 341 "//third_party/skia/include/utils/SkParse.h", |
| 343 "//third_party/skia/include/utils/SkParsePaint.h", | 342 "//third_party/skia/include/utils/SkParsePaint.h", |
| 344 "//third_party/skia/include/utils/SkParsePath.h", | 343 "//third_party/skia/include/utils/SkParsePath.h", |
| 345 "//third_party/skia/include/utils/SkRandom.h", | 344 "//third_party/skia/include/utils/SkRandom.h", |
| 346 "//third_party/skia/include/utils/SkWGL.h", | |
| 347 | 345 |
| 348 "//third_party/skia/src/utils/SkBitmapHasher.cpp", | 346 "//third_party/skia/src/utils/SkBitmapHasher.cpp", |
| 349 "//third_party/skia/src/utils/SkBitmapHasher.h", | 347 "//third_party/skia/src/utils/SkBitmapHasher.h", |
| 350 "//third_party/skia/src/utils/SkBoundaryPatch.cpp", | 348 "//third_party/skia/src/utils/SkBoundaryPatch.cpp", |
| 351 "//third_party/skia/src/utils/SkFrontBufferedStream.cpp", | 349 "//third_party/skia/src/utils/SkFrontBufferedStream.cpp", |
| 352 "//third_party/skia/src/utils/SkCamera.cpp", | 350 "//third_party/skia/src/utils/SkCamera.cpp", |
| 353 "//third_party/skia/src/utils/SkCanvasStack.h", | 351 "//third_party/skia/src/utils/SkCanvasStack.h", |
| 354 "//third_party/skia/src/utils/SkCubicInterval.cpp", | 352 "//third_party/skia/src/utils/SkCubicInterval.cpp", |
| 355 "//third_party/skia/src/utils/SkCullPoints.cpp", | 353 "//third_party/skia/src/utils/SkCullPoints.cpp", |
| 356 "//third_party/skia/src/utils/SkDumpCanvas.cpp", | 354 "//third_party/skia/src/utils/SkDumpCanvas.cpp", |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 set_sources_assignment_filter(sources_assignment_filter) | 539 set_sources_assignment_filter(sources_assignment_filter) |
| 542 deps += [ | 540 deps += [ |
| 543 "//third_party/expat", | 541 "//third_party/expat", |
| 544 "//third_party/freetype", | 542 "//third_party/freetype", |
| 545 "//third_party/android_tools:cpu_features", | 543 "//third_party/android_tools:cpu_features", |
| 546 ] | 544 ] |
| 547 } | 545 } |
| 548 | 546 |
| 549 if (skia_support_pdf) { | 547 if (skia_support_pdf) { |
| 550 deps += [ "//third_party/sfntly" ] | 548 deps += [ "//third_party/sfntly" ] |
| 549 sources += gypi_skia_pdf.sources |
| 551 } | 550 } |
| 552 | 551 |
| 553 if (is_android && !is_debug) { | 552 if (is_android && !is_debug) { |
| 554 configs -= [ "//build/config/compiler:optimize" ] | 553 configs -= [ "//build/config/compiler:optimize" ] |
| 555 configs += [ "//build/config/compiler:optimize_max" ] | 554 configs += [ "//build/config/compiler:optimize_max" ] |
| 556 } | 555 } |
| 557 } | 556 } |
| 558 | 557 |
| 559 # Separated out so it can be compiled with different flags for SSE. | 558 # Separated out so it can be compiled with different flags for SSE. |
| 560 source_set("skia_opts") { | 559 source_set("skia_opts") { |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 ":skia_library_config", | 701 ":skia_library_config", |
| 703 "//build/config/compiler:no_chromium_code" | 702 "//build/config/compiler:no_chromium_code" |
| 704 ] | 703 ] |
| 705 | 704 |
| 706 deps = [ | 705 deps = [ |
| 707 "//base", | 706 "//base", |
| 708 ] | 707 ] |
| 709 | 708 |
| 710 visibility = [ ":skia" ] | 709 visibility = [ ":skia" ] |
| 711 } | 710 } |
| OLD | NEW |