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

Unified Diff: skia/BUILD.gn

Issue 371903003: Add missing files/deps/defines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/cpp/bindings/BUILD.gn ('k') | ui/accessibility/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index b9a0106499db4e1c1294778508704ea6e7c44453..df86f1a04570ce06d87da04391baf70b8b3ff161 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -310,6 +310,13 @@ component("skia") {
sources += gypi_skia_pdf.sources
sources += gypi_values.skia_library_sources
+ if (cpu_arch == "arm") {
+ sources += [
+ "//third_party/skia/src/core/SkUtilsArm.cpp",
+ "//third_party/skia/src/core/SkUtilsArm.h",
+ ]
+ }
+
# GPU
if (skia_support_gpu) {
sources += gypi_skia_gpu.skgpu_sources
@@ -451,6 +458,11 @@ component("skia") {
sources -= [
"//third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp",
"//third_party/skia/src/ports/SkFontConfigInterface_direct.cpp",
+ ]
+ }
+
+ if (!is_linux && !is_android) {
+ sources -= [
"//third_party/skia/src/ports/SkFontHost_fontconfig.cpp",
"//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp",
"//third_party/skia/src/ports/SkFontHost_FreeType.cpp",
@@ -509,9 +521,15 @@ component("skia") {
}
if (is_android) {
+ set_sources_assignment_filter([])
+ sources += [
+ "ext/platform_device_linux.cc",
+ ]
+ set_sources_assignment_filter(sources_assignment_filter)
deps += [
"//third_party/expat",
"//third_party/freetype",
+ "//third_party/android_tools:cpu_features",
]
}
« no previous file with comments | « mojo/public/cpp/bindings/BUILD.gn ('k') | ui/accessibility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698