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

Side by Side Diff: BUILD.gn

Issue 2214023002: GN: make SkPMColor BGRA on Linux. All other platforms are auto-detected. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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 | no next file » | no next file with comments »
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 declare_args() { 6 declare_args() {
7 } 7 }
8 8
9 skia_public_includes = [ 9 skia_public_includes = [
10 "include/android", 10 "include/android",
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 "SK_HAS_PNG_LIBRARY", 66 "SK_HAS_PNG_LIBRARY",
67 "SK_HAS_WEBP_LIBRARY", 67 "SK_HAS_WEBP_LIBRARY",
68 68
69 # TODO(halcanary): make this the default; this is the value Android uses. 69 # TODO(halcanary): make this the default; this is the value Android uses.
70 "SK_SFNTLY_SUBSETTER=\"sample/chromium/font_subsetter.h\"", 70 "SK_SFNTLY_SUBSETTER=\"sample/chromium/font_subsetter.h\"",
71 71
72 "TURBO_HAS_565", 72 "TURBO_HAS_565",
73 "TURBO_HAS_CROP", 73 "TURBO_HAS_CROP",
74 "TURBO_HAS_SKIP", 74 "TURBO_HAS_SKIP",
75 ] 75 ]
76 if (is_linux) {
77 defines += [ "SK_SAMPLES_FOR_X" ]
78 }
76 } 79 }
77 80
78 # Any code that's linked into Skia-the-library should use this config via += ski a_library_configs. 81 # Any code that's linked into Skia-the-library should use this config via += ski a_library_configs.
79 config("skia_library") { 82 config("skia_library") {
80 visibility = [ ":*" ] 83 visibility = [ ":*" ]
81 defines = [ "SKIA_IMPLEMENTATION=1" ] 84 defines = [ "SKIA_IMPLEMENTATION=1" ]
82 } 85 }
83 86
84 skia_library_configs = [ 87 skia_library_configs = [
85 ":skia_public", 88 ":skia_public",
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 "tools/SkShaper_harfbuzz.cpp", 583 "tools/SkShaper_harfbuzz.cpp",
581 "tools/using_skia_and_harfbuzz.cpp", 584 "tools/using_skia_and_harfbuzz.cpp",
582 ] 585 ]
583 deps = [ 586 deps = [
584 ":skia", 587 ":skia",
585 "//third_party/harfbuzz", 588 "//third_party/harfbuzz",
586 ] 589 ]
587 testonly = true 590 testonly = true
588 } 591 }
589 } 592 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698