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

Side by Side Diff: skia/BUILD.gn

Issue 2403863002: added SkSL to Skia build (Closed)
Patch Set: Created 4 years, 2 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 (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 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//third_party/skia/gn/shared_sources.gni") 8 import("//third_party/skia/gn/shared_sources.gni")
9 9
10 if (current_cpu == "arm") { 10 if (current_cpu == "arm") {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 # matches the GYP build. 73 # matches the GYP build.
74 include_dirs = [ 74 include_dirs = [
75 "//third_party/skia/include/private", 75 "//third_party/skia/include/private",
76 "//third_party/skia/include/client/android", 76 "//third_party/skia/include/client/android",
77 "//third_party/skia/src/core", 77 "//third_party/skia/src/core",
78 "//third_party/skia/src/image", 78 "//third_party/skia/src/image",
79 "//third_party/skia/src/opts", 79 "//third_party/skia/src/opts",
80 "//third_party/skia/src/pdf", 80 "//third_party/skia/src/pdf",
81 "//third_party/skia/src/ports", 81 "//third_party/skia/src/ports",
82 "//third_party/skia/src/sfnt", 82 "//third_party/skia/src/sfnt",
83 "//third_party/skia/src/sksl",
83 "//third_party/skia/src/utils", 84 "//third_party/skia/src/utils",
84 "//third_party/skia/src/lazy", 85 "//third_party/skia/src/lazy",
85 ] 86 ]
86 if (is_mac || is_ios) { 87 if (is_mac || is_ios) {
87 include_dirs += [ "//third_party/skia/include/utils/mac" ] 88 include_dirs += [ "//third_party/skia/include/utils/mac" ]
88 } 89 }
89 if (is_mac) { 90 if (is_mac) {
90 include_dirs += [ "//third_party/skia/include/utils/ios" ] 91 include_dirs += [ "//third_party/skia/include/utils/ios" ]
91 } 92 }
92 93
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 component("skia") { 167 component("skia") {
167 sources = [ 168 sources = [
168 # PDFium sources. 169 # PDFium sources.
169 "config/SkUserConfig.h", 170 "config/SkUserConfig.h",
170 "ext/google_logging.cc", 171 "ext/google_logging.cc",
171 ] 172 ]
172 173
173 # The skia gypi values are relative to the skia_dir, so we need to rebase. 174 # The skia gypi values are relative to the skia_dir, so we need to rebase.
174 sources += skia_core_sources 175 sources += skia_core_sources
175 sources += skia_effects_sources 176 sources += skia_effects_sources
177 sources += skia_sksl_sources
176 sources += skia_utils_sources 178 sources += skia_utils_sources
177 sources += [ 179 sources += [
178 "//third_party/skia/src/fonts/SkFontMgr_indirect.cpp", 180 "//third_party/skia/src/fonts/SkFontMgr_indirect.cpp",
179 "//third_party/skia/src/fonts/SkRemotableFontMgr.cpp", 181 "//third_party/skia/src/fonts/SkRemotableFontMgr.cpp",
180 "//third_party/skia/src/ports/SkFontHost_FreeType.cpp", 182 "//third_party/skia/src/ports/SkFontHost_FreeType.cpp",
181 "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp", 183 "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp",
182 "//third_party/skia/src/ports/SkFontHost_win.cpp", 184 "//third_party/skia/src/ports/SkFontHost_win.cpp",
183 "//third_party/skia/src/ports/SkFontMgr_android.cpp", 185 "//third_party/skia/src/ports/SkFontMgr_android.cpp",
184 "//third_party/skia/src/ports/SkFontMgr_android_factory.cpp", 186 "//third_party/skia/src/ports/SkFontMgr_android_factory.cpp",
185 "//third_party/skia/src/ports/SkFontMgr_android_parser.cpp", 187 "//third_party/skia/src/ports/SkFontMgr_android_parser.cpp",
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 496
495 configs -= [ "//build/config/compiler:chromium_code" ] 497 configs -= [ "//build/config/compiler:chromium_code" ]
496 configs += [ 498 configs += [
497 ":skia_config", 499 ":skia_config",
498 ":skia_library_config", 500 ":skia_library_config",
499 "//build/config/compiler:no_chromium_code", 501 "//build/config/compiler:no_chromium_code",
500 ] 502 ]
501 503
502 visibility = [ ":skia" ] 504 visibility = [ ":skia" ]
503 } 505 }
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