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

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
Index: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index 72b8739b4b3531e4e60a9766a747c35671219e27..3881758401d3390ae7baaacb9b8e74e251f770ff 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",
]
}

Powered by Google App Engine
This is Rietveld 408576698