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

Side by Side Diff: skia/BUILD.gn

Issue 706203003: Update from https://crrev.com/303153 (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 | « net/websockets/websocket_handshake_stream_base.h ('k') | skia/skia_chrome.gypi » ('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
11 skia_support_gpu = !is_ios 11 skia_support_gpu = !is_ios
12 skia_support_pdf = !is_ios && printing_mode != 0 12 skia_support_pdf = !is_ios && (enable_basic_printing || enable_print_preview)
13 13
14 # The list of Skia defines that are to be set for chromium. 14 # The list of Skia defines that are to be set for chromium.
15 gypi_skia_defines = exec_script( 15 gypi_skia_defines = exec_script(
16 "//build/gypi_to_gn.py", 16 "//build/gypi_to_gn.py",
17 [ rebase_path("//third_party/skia/gyp/skia_for_chromium_defines.gypi"), 17 [ rebase_path("//third_party/skia/gyp/skia_for_chromium_defines.gypi"),
18 "--replace=<(skia_include_path)=//third_party/skia/include", 18 "--replace=<(skia_include_path)=//third_party/skia/include",
19 "--replace=<(skia_src_path)=//third_party/skia/src" ], 19 "--replace=<(skia_src_path)=//third_party/skia/src" ],
20 "scope", 20 "scope",
21 [ "//third_party/skia/gyp/skia_for_chromium_defines.gypi" ]) 21 [ "//third_party/skia/gyp/skia_for_chromium_defines.gypi" ])
22 22
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 # Fixup Chrome sources. 415 # Fixup Chrome sources.
416 if (is_posix) { 416 if (is_posix) {
417 sources -= [ "ext/SkThread_chrome.cc" ] 417 sources -= [ "ext/SkThread_chrome.cc" ]
418 } 418 }
419 if (is_ios) { 419 if (is_ios) {
420 sources -= [ "ext/vector_platform_device_skia.cc" ] 420 sources -= [ "ext/vector_platform_device_skia.cc" ]
421 } 421 }
422 if (is_win) { 422 if (is_win) {
423 sources -= [ "ext/SkThread_chrome.cc" ] 423 sources -= [ "ext/SkThread_chrome.cc" ]
424 } 424 }
425 if (is_android && printing_mode == 0) { 425 if (is_android && (!enable_basic_printing && !enable_print_preview)) {
426 sources -= [ 426 sources -= [
427 "ext/skia_utils_base.cc", 427 "ext/skia_utils_base.cc",
428 "ext/vector_platform_device_skia.cc" 428 "ext/vector_platform_device_skia.cc"
429 ] 429 ]
430 } 430 }
431 431
432 # Fixup skia library sources. 432 # Fixup skia library sources.
433 if (is_win) { 433 if (is_win) {
434 sources -= [ 434 sources -= [
435 "//third_party/skia/src/ports/SkOSFile_posix.cpp", 435 "//third_party/skia/src/ports/SkOSFile_posix.cpp",
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 ":skia_library_config", 708 ":skia_library_config",
709 "//build/config/compiler:no_chromium_code" 709 "//build/config/compiler:no_chromium_code"
710 ] 710 ]
711 711
712 deps = [ 712 deps = [
713 "//base", 713 "//base",
714 ] 714 ]
715 715
716 visibility = [ ":skia" ] 716 visibility = [ ":skia" ]
717 } 717 }
OLDNEW
« no previous file with comments | « net/websockets/websocket_handshake_stream_base.h ('k') | skia/skia_chrome.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698