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

Side by Side Diff: BUILD.gn

Issue 2274643002: Assume all TURBO_HAS_* are true. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: drop RGB 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 | gyp/codec.gyp » ('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 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 skia_use_libwebp = !is_fuchsia 7 skia_use_libwebp = !is_fuchsia
8 } 8 }
9 9
10 skia_public_includes = [ 10 skia_public_includes = [
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 defines = [ 62 defines = [
63 "SK_GAMMA_APPLY_TO_A8", 63 "SK_GAMMA_APPLY_TO_A8",
64 64
65 "SK_HAS_GIF_LIBRARY", 65 "SK_HAS_GIF_LIBRARY",
66 "SK_HAS_JPEG_LIBRARY", 66 "SK_HAS_JPEG_LIBRARY",
67 "SK_HAS_PNG_LIBRARY", 67 "SK_HAS_PNG_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
72 "TURBO_HAS_565",
73 "TURBO_HAS_CROP",
74 "TURBO_HAS_SKIP",
75 ] 71 ]
76 if (is_linux) { 72 if (is_linux) {
77 defines += [ "SK_SAMPLES_FOR_X" ] 73 defines += [ "SK_SAMPLES_FOR_X" ]
78 } 74 }
79 } 75 }
80 76
81 # Any code that's linked into Skia-the-library should use this config via += ski a_library_configs. 77 # Any code that's linked into Skia-the-library should use this config via += ski a_library_configs.
82 config("skia_library") { 78 config("skia_library") {
83 visibility = [ ":*" ] 79 visibility = [ ":*" ]
84 defines = [ "SKIA_IMPLEMENTATION=1" ] 80 defines = [ "SKIA_IMPLEMENTATION=1" ]
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 "tools/SkShaper_harfbuzz.cpp", 625 "tools/SkShaper_harfbuzz.cpp",
630 "tools/using_skia_and_harfbuzz.cpp", 626 "tools/using_skia_and_harfbuzz.cpp",
631 ] 627 ]
632 deps = [ 628 deps = [
633 ":skia", 629 ":skia",
634 "//third_party/harfbuzz", 630 "//third_party/harfbuzz",
635 ] 631 ]
636 testonly = true 632 testonly = true
637 } 633 }
638 } 634 }
OLDNEW
« no previous file with comments | « no previous file | gyp/codec.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698