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

Side by Side Diff: BUILD.gn

Issue 2347443002: Compile the skia library for windows using gn. (Closed)
Patch Set: Created 4 years, 3 months 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 | « no previous file | gn/BUILD.gn » ('j') | gn/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 Google Inc. 1 # Copyright 2016 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import("gn/shared_sources.gni") 6 import("gn/shared_sources.gni")
7 7
8 declare_args() { 8 declare_args() {
9 skia_enable_tools = !is_fuchsia && !is_component_build 9 skia_enable_tools = !is_fuchsia && !is_component_build
10 10
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 ":sse2", 397 ":sse2",
398 ":sse41", 398 ":sse41",
399 ":sse42", 399 ":sse42",
400 ":ssse3", 400 ":ssse3",
401 ":typeface_freetype", 401 ":typeface_freetype",
402 ":vulkan", 402 ":vulkan",
403 ":webp", 403 ":webp",
404 ":xml", 404 ":xml",
405 ] 405 ]
406 406
407 if (!is_win) {
mtklein 2016/09/14 21:25:14 Probably redundant.
herb_g 2016/09/16 19:54:15 Done.
408 libs = [ "pthread" ]
409 }
410
407 sources = [] 411 sources = []
408 sources += skia_core_sources 412 sources += skia_core_sources
409 sources += skia_effects_sources 413 sources += skia_effects_sources
410 sources += skia_gpu_sources 414 sources += skia_gpu_sources
411 sources += skia_sksl_sources 415 sources += skia_sksl_sources
412 sources += skia_utils_sources 416 sources += skia_utils_sources
413 sources += [ 417 sources += [
414 "src/android/SkBitmapRegionCodec.cpp", 418 "src/android/SkBitmapRegionCodec.cpp",
415 "src/android/SkBitmapRegionDecoder.cpp", 419 "src/android/SkBitmapRegionDecoder.cpp",
416 "src/codec/SkAndroidCodec.cpp", 420 "src/codec/SkAndroidCodec.cpp",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 "src/ports/SkFontMgr_win_dw.cpp", 466 "src/ports/SkFontMgr_win_dw.cpp",
463 "src/ports/SkFontMgr_win_dw_factory.cpp", 467 "src/ports/SkFontMgr_win_dw_factory.cpp",
464 "src/ports/SkImageEncoder_WIC.cpp", 468 "src/ports/SkImageEncoder_WIC.cpp",
465 "src/ports/SkImageGeneratorWIC.cpp", 469 "src/ports/SkImageGeneratorWIC.cpp",
466 "src/ports/SkOSFile_win.cpp", 470 "src/ports/SkOSFile_win.cpp",
467 "src/ports/SkScalerContext_win_dw.cpp", 471 "src/ports/SkScalerContext_win_dw.cpp",
468 "src/ports/SkTLS_win.cpp", 472 "src/ports/SkTLS_win.cpp",
469 "src/ports/SkTypeface_win_dw.cpp", 473 "src/ports/SkTypeface_win_dw.cpp",
470 "src/xps/SkDocument_XPS.cpp", 474 "src/xps/SkDocument_XPS.cpp",
471 ] 475 ]
472 sources -= [ "src/utils/SkThreadUtils_pthread.cpp" ] 476 sources -= [ get_path_info("src/utils/SkThreadUtils_pthread.cpp", "abspath") ]
473 } else { 477 } else {
474 sources += [ 478 sources += [
475 "src/ports/SkOSFile_posix.cpp", 479 "src/ports/SkOSFile_posix.cpp",
476 "src/ports/SkTLS_pthread.cpp", 480 "src/ports/SkTLS_pthread.cpp",
477 "src/xps/SkDocument_XPS_None.cpp", 481 "src/xps/SkDocument_XPS_None.cpp",
478 ] 482 ]
479 } 483 }
480 484
481 if (is_android) { 485 if (is_android) {
482 deps += [ 486 deps += [
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 sources = [ 835 sources = [
832 "tools/SkShaper_primitive.cpp", 836 "tools/SkShaper_primitive.cpp",
833 "tools/using_skia_and_harfbuzz.cpp", 837 "tools/using_skia_and_harfbuzz.cpp",
834 ] 838 ]
835 deps = [ 839 deps = [
836 ":skia", 840 ":skia",
837 ] 841 ]
838 testonly = true 842 testonly = true
839 } 843 }
840 } 844 }
OLDNEW
« no previous file with comments | « no previous file | gn/BUILD.gn » ('j') | gn/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698