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

Unified Diff: cmake/CMakeLists.txt

Issue 1784663002: Don't build CG on Linux CMake (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | src/ports/SkImageGeneratorCG.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cmake/CMakeLists.txt
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index e5c8a35e68d7b27b9325bc68e60183c0dfdcaec1..f0b0e31d91f7b9dce003af441f647cd9190bd7a5 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -105,6 +105,10 @@ remove_srcs(
../src/ports/SkImageGenerator_none.cpp
../src/ports/SkTLS_none.cpp)
+if (NOT APPLE)
+ remove_srcs(../src/ports/SkImageGeneratorCG.cpp)
+endif()
+
if (WIN32)
if(SKIA_GDI)
remove_srcs(../src/ports/SkFontMgr_win_dw_factory.cpp)
« no previous file with comments | « no previous file | src/ports/SkImageGeneratorCG.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698