| 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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 } | 321 } |
| 322 | 322 |
| 323 # GPU | 323 # GPU |
| 324 if (skia_support_gpu) { | 324 if (skia_support_gpu) { |
| 325 sources += gypi_skia_gpu.skgpu_sources | 325 sources += gypi_skia_gpu.skgpu_sources |
| 326 sources += gypi_skia_gpu.skgpu_null_gl_sources | 326 sources += gypi_skia_gpu.skgpu_null_gl_sources |
| 327 } | 327 } |
| 328 | 328 |
| 329 # Remove unused util files include in utils.gypi | 329 # Remove unused util files include in utils.gypi |
| 330 sources -= [ | 330 sources -= [ |
| 331 "//third_party/skia/src/utils/SkCondVar.cpp", | |
| 332 "//third_party/skia/src/utils/SkCondVar.h", | |
| 333 "//third_party/skia/src/utils/SkRunnable.h", | |
| 334 | |
| 335 "//third_party/skia/include/utils/SkBoundaryPatch.h", | 331 "//third_party/skia/include/utils/SkBoundaryPatch.h", |
| 336 "//third_party/skia/include/utils/SkFrontBufferedStream.h", | 332 "//third_party/skia/include/utils/SkFrontBufferedStream.h", |
| 337 "//third_party/skia/include/utils/SkCamera.h", | 333 "//third_party/skia/include/utils/SkCamera.h", |
| 338 "//third_party/skia/include/utils/SkCanvasStateUtils.h", | 334 "//third_party/skia/include/utils/SkCanvasStateUtils.h", |
| 339 "//third_party/skia/include/utils/SkCubicInterval.h", | 335 "//third_party/skia/include/utils/SkCubicInterval.h", |
| 340 "//third_party/skia/include/utils/SkCullPoints.h", | 336 "//third_party/skia/include/utils/SkCullPoints.h", |
| 341 "//third_party/skia/include/utils/SkDebugUtils.h", | 337 "//third_party/skia/include/utils/SkDebugUtils.h", |
| 342 "//third_party/skia/include/utils/SkDumpCanvas.h", | 338 "//third_party/skia/include/utils/SkDumpCanvas.h", |
| 343 "//third_party/skia/include/utils/SkEventTracer.h", | 339 "//third_party/skia/include/utils/SkEventTracer.h", |
| 344 "//third_party/skia/include/utils/SkInterpolator.h", | 340 "//third_party/skia/include/utils/SkInterpolator.h", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 369 "//third_party/skia/src/utils/SkMD5.h", | 365 "//third_party/skia/src/utils/SkMD5.h", |
| 370 "//third_party/skia/src/utils/SkMeshUtils.cpp", | 366 "//third_party/skia/src/utils/SkMeshUtils.cpp", |
| 371 "//third_party/skia/src/utils/SkNinePatch.cpp", | 367 "//third_party/skia/src/utils/SkNinePatch.cpp", |
| 372 "//third_party/skia/src/utils/SkOSFile.cpp", | 368 "//third_party/skia/src/utils/SkOSFile.cpp", |
| 373 "//third_party/skia/src/utils/SkParse.cpp", | 369 "//third_party/skia/src/utils/SkParse.cpp", |
| 374 "//third_party/skia/src/utils/SkParseColor.cpp", | 370 "//third_party/skia/src/utils/SkParseColor.cpp", |
| 375 "//third_party/skia/src/utils/SkParsePath.cpp", | 371 "//third_party/skia/src/utils/SkParsePath.cpp", |
| 376 "//third_party/skia/src/utils/SkPathUtils.cpp", | 372 "//third_party/skia/src/utils/SkPathUtils.cpp", |
| 377 "//third_party/skia/src/utils/SkSHA1.cpp", | 373 "//third_party/skia/src/utils/SkSHA1.cpp", |
| 378 "//third_party/skia/src/utils/SkSHA1.h", | 374 "//third_party/skia/src/utils/SkSHA1.h", |
| 379 "//third_party/skia/src/utils/SkThreadUtils.h", | |
| 380 "//third_party/skia/src/utils/SkThreadUtils_pthread.cpp", | |
| 381 "//third_party/skia/src/utils/SkThreadUtils_pthread.h", | |
| 382 "//third_party/skia/src/utils/SkThreadUtils_pthread_linux.cpp", | |
| 383 "//third_party/skia/src/utils/SkThreadUtils_pthread_mach.cpp", | |
| 384 "//third_party/skia/src/utils/SkThreadUtils_pthread_other.cpp", | |
| 385 "//third_party/skia/src/utils/SkThreadUtils_win.cpp", | |
| 386 "//third_party/skia/src/utils/SkTFitsIn.h", | 375 "//third_party/skia/src/utils/SkTFitsIn.h", |
| 387 "//third_party/skia/src/utils/SkTLogic.h", | 376 "//third_party/skia/src/utils/SkTLogic.h", |
| 388 | 377 |
| 378 # We don't currently need to change thread affinity, so leave out this complex
ity for now. |
| 379 "//third_party/skia/src/utils/SkThreadUtils_pthread_mach.cpp", |
| 380 "//third_party/skia/src/utils/SkThreadUtils_pthread_linux.cpp", |
| 381 |
| 389 #testing | 382 #testing |
| 390 "//third_party/skia/src/fonts/SkGScalerContext.cpp", | 383 "//third_party/skia/src/fonts/SkGScalerContext.cpp", |
| 391 "//third_party/skia/src/fonts/SkGScalerContext.h", | 384 "//third_party/skia/src/fonts/SkGScalerContext.h", |
| 392 ] | 385 ] |
| 393 | 386 |
| 387 if (is_win) { |
| 388 sources -= [ |
| 389 # Keeping _win.cpp |
| 390 "//third_party/skia/src/utils/SkThreadUtils_pthread.cpp", |
| 391 "//third_party/skia/src/utils/SkThreadUtils_pthread_other.cpp", |
| 392 ] |
| 393 } else { |
| 394 sources -= [ |
| 395 # Keeping _pthread.cpp and _pthread_other.cpp. |
| 396 "//third_party/skia/src/utils/SkThreadUtils_win.cpp", |
| 397 ] |
| 398 } |
| 399 |
| 394 # need separate win section to handle chromes auto gn filter | 400 # need separate win section to handle chromes auto gn filter |
| 395 # (build/config/BUILDCONFIG.gn) | 401 # (build/config/BUILDCONFIG.gn) |
| 396 if (is_win) { | 402 if (is_win) { |
| 397 sources -= [ | 403 sources -= [ |
| 398 "//third_party/skia/src/utils/SkThreadUtils_win.h", | |
| 399 | |
| 400 #windows | 404 #windows |
| 401 "//third_party/skia/include/utils/win/SkAutoCoInitialize.h", | 405 "//third_party/skia/include/utils/win/SkAutoCoInitialize.h", |
| 402 "//third_party/skia/include/utils/win/SkHRESULT.h", | 406 "//third_party/skia/include/utils/win/SkHRESULT.h", |
| 403 "//third_party/skia/include/utils/win/SkIStream.h", | 407 "//third_party/skia/include/utils/win/SkIStream.h", |
| 404 "//third_party/skia/include/utils/win/SkTScopedComPtr.h", | 408 "//third_party/skia/include/utils/win/SkTScopedComPtr.h", |
| 405 "//third_party/skia/src/utils/win/SkAutoCoInitialize.cpp", | 409 "//third_party/skia/src/utils/win/SkAutoCoInitialize.cpp", |
| 406 "//third_party/skia/src/utils/win/SkIStream.cpp", | 410 "//third_party/skia/src/utils/win/SkIStream.cpp", |
| 407 "//third_party/skia/src/utils/win/SkWGL_win.cpp", | 411 "//third_party/skia/src/utils/win/SkWGL_win.cpp", |
| 408 ] | 412 ] |
| 409 } | 413 } |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 704 ":skia_library_config", | 708 ":skia_library_config", |
| 705 "//build/config/compiler:no_chromium_code" | 709 "//build/config/compiler:no_chromium_code" |
| 706 ] | 710 ] |
| 707 | 711 |
| 708 deps = [ | 712 deps = [ |
| 709 "//base", | 713 "//base", |
| 710 ] | 714 ] |
| 711 | 715 |
| 712 visibility = [ ":skia" ] | 716 visibility = [ ":skia" ] |
| 713 } | 717 } |
| OLD | NEW |