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

Side by Side Diff: skia/BUILD.gn

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sdch/sdch.gyp ('k') | skia/ext/bitmap_platform_device_cairo.h » ('j') | 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 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 "ext/skia_utils_base.h", 295 "ext/skia_utils_base.h",
296 "ext/skia_utils_ios.mm", 296 "ext/skia_utils_ios.mm",
297 "ext/skia_utils_ios.h", 297 "ext/skia_utils_ios.h",
298 "ext/skia_utils_mac.mm", 298 "ext/skia_utils_mac.mm",
299 "ext/skia_utils_mac.h", 299 "ext/skia_utils_mac.h",
300 "ext/skia_utils_win.cc", 300 "ext/skia_utils_win.cc",
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 "ext/vector_platform_device_skia.cc",
306 "ext/vector_platform_device_skia.h",
307 ] 305 ]
308 306
309 # 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.
310 sources += gypi_skia_core.sources 308 sources += gypi_skia_core.sources
311 sources += gypi_skia_effects.sources 309 sources += gypi_skia_effects.sources
312 sources += gypi_skia_utils.sources 310 sources += gypi_skia_utils.sources
313 sources += gypi_skia_pdf.sources 311 sources += gypi_skia_pdf.sources
314 sources += gypi_values.skia_library_sources 312 sources += gypi_values.skia_library_sources
315 313
316 if (cpu_arch == "arm") { 314 if (cpu_arch == "arm") {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 "//third_party/skia/src/utils/win/SkAutoCoInitialize.cpp", 407 "//third_party/skia/src/utils/win/SkAutoCoInitialize.cpp",
410 "//third_party/skia/src/utils/win/SkIStream.cpp", 408 "//third_party/skia/src/utils/win/SkIStream.cpp",
411 "//third_party/skia/src/utils/win/SkWGL_win.cpp", 409 "//third_party/skia/src/utils/win/SkWGL_win.cpp",
412 ] 410 ]
413 } 411 }
414 412
415 # Fixup Chrome sources. 413 # Fixup Chrome sources.
416 if (is_posix) { 414 if (is_posix) {
417 sources -= [ "ext/SkThread_chrome.cc" ] 415 sources -= [ "ext/SkThread_chrome.cc" ]
418 } 416 }
419 if (is_ios) {
420 sources -= [ "ext/vector_platform_device_skia.cc" ]
421 }
422 if (is_win) { 417 if (is_win) {
423 sources -= [ "ext/SkThread_chrome.cc" ] 418 sources -= [ "ext/SkThread_chrome.cc" ]
424 } 419 }
425 if (is_android && (!enable_basic_printing && !enable_print_preview)) { 420 if (is_android && (!enable_basic_printing && !enable_print_preview)) {
426 sources -= [ 421 sources -= [
427 "ext/skia_utils_base.cc", 422 "ext/skia_utils_base.cc",
428 "ext/vector_platform_device_skia.cc"
429 ] 423 ]
430 } 424 }
431 425
432 # Fixup skia library sources. 426 # Fixup skia library sources.
433 if (is_win) { 427 if (is_win) {
434 sources -= [ 428 sources -= [
435 "//third_party/skia/src/ports/SkOSFile_posix.cpp", 429 "//third_party/skia/src/ports/SkOSFile_posix.cpp",
436 "//third_party/skia/src/ports/SkTime_Unix.cpp", 430 "//third_party/skia/src/ports/SkTime_Unix.cpp",
437 "//third_party/skia/src/ports/SkTLS_pthread.cpp", 431 "//third_party/skia/src/ports/SkTLS_pthread.cpp",
438 ] 432 ]
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 ":skia_library_config", 702 ":skia_library_config",
709 "//build/config/compiler:no_chromium_code" 703 "//build/config/compiler:no_chromium_code"
710 ] 704 ]
711 705
712 deps = [ 706 deps = [
713 "//base", 707 "//base",
714 ] 708 ]
715 709
716 visibility = [ ":skia" ] 710 visibility = [ ":skia" ]
717 } 711 }
OLDNEW
« no previous file with comments | « sdch/sdch.gyp ('k') | skia/ext/bitmap_platform_device_cairo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698