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

Side by Side Diff: cmake/CMakeLists.txt

Issue 1408213005: Remove SkThread::setProcessorAffinity() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: gAdds Created 5 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 | « BUILD.public ('k') | gyp/utils.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 # Boilerplate. 1 # Boilerplate.
2 cmake_minimum_required (VERSION 3.1) # First version with CMAKE_CXX_STANDARD. 2 cmake_minimum_required (VERSION 3.1) # First version with CMAKE_CXX_STANDARD.
3 project (skimake) 3 project (skimake)
4 set (CMAKE_CXX_STANDARD 11) 4 set (CMAKE_CXX_STANDARD 11)
5 5
6 # Default to Release mode. We're mainly targeting Skia users, not Skia develope rs. 6 # Default to Release mode. We're mainly targeting Skia users, not Skia develope rs.
7 if (NOT CMAKE_BUILD_TYPE) 7 if (NOT CMAKE_BUILD_TYPE)
8 set (CMAKE_BUILD_TYPE Release) 8 set (CMAKE_BUILD_TYPE Release)
9 endif () 9 endif ()
10 10
(...skipping 29 matching lines...) Expand all
40 # This file is empty and is only used to trick GYP. 40 # This file is empty and is only used to trick GYP.
41 remove_srcs (../src/core/SkForceCPlusPlusLinking.cpp) 41 remove_srcs (../src/core/SkForceCPlusPlusLinking.cpp)
42 # This file forces linking for all our supported image decoders. We're more fin e-grained. 42 # This file forces linking for all our supported image decoders. We're more fin e-grained.
43 remove_srcs (../src/images/SkForceLinking.cpp) 43 remove_srcs (../src/images/SkForceLinking.cpp)
44 # Chrome only? 44 # Chrome only?
45 remove_srcs (../src/ports/SkFontHost_fontconfig.cpp 45 remove_srcs (../src/ports/SkFontHost_fontconfig.cpp
46 ../src/fonts/SkFontMgr_fontconfig.cpp 46 ../src/fonts/SkFontMgr_fontconfig.cpp
47 ../src/ports/SkFontConfigInterface_direct.cpp) 47 ../src/ports/SkFontConfigInterface_direct.cpp)
48 # Alternative font managers. 48 # Alternative font managers.
49 remove_srcs (../src/ports/SkFontMgr_custom*.cpp) 49 remove_srcs (../src/ports/SkFontMgr_custom*.cpp)
50 # Not actually used by Skia.
51 remove_srcs (../src/utils/SkThreadUtils_pthread_*.cpp)
52 50
53 # Skia sure ships a lot of code no one uses. 51 # Skia sure ships a lot of code no one uses.
54 remove_srcs (../src/animator/* ../src/*nacl* ../src/svg/* ../src/views/* ../src/ xml/*) 52 remove_srcs (../src/animator/* ../src/*nacl* ../src/svg/* ../src/views/* ../src/ xml/*)
55 53
56 # Remove OS-specific source files. 54 # Remove OS-specific source files.
57 if (NOT WIN32) 55 if (NOT WIN32)
58 remove_srcs(../src/*XPS* 56 remove_srcs(../src/*XPS*
59 ../src/*_win*.cpp 57 ../src/*_win*.cpp
60 ../src/ports/SkImageDecoder_WIC.cpp 58 ../src/ports/SkImageDecoder_WIC.cpp
61 ../src/utils/win/*) 59 ../src/utils/win/*)
62 endif() 60 endif()
63 if (NOT UNIX) 61 if (NOT UNIX)
64 remove_srcs(../src/doc/SkDocument_XPS_None.cpp 62 remove_srcs(../src/doc/SkDocument_XPS_None.cpp
65 ../src/ports/SkDebug_stdio.cpp 63 ../src/ports/SkDebug_stdio.cpp
66 ../src/ports/SkOSFile_posix.cpp 64 ../src/ports/SkOSFile_posix.cpp
67 ../src/ports/SkTLS_pthread.cpp 65 ../src/ports/SkTLS_pthread.cpp
68 ../src/ports/SkTime_Unix.cpp 66 ../src/ports/SkTime_Unix.cpp
69 ../src/utils/SkThreadUtils_pthread.cpp 67 ../src/utils/SkThreadUtils_pthread.cpp)
70 ../src/utils/SkThreadUtils_pthread_other.cpp)
71 endif() 68 endif()
72 if (APPLE OR NOT UNIX) 69 if (APPLE OR NOT UNIX)
73 remove_srcs(../src/gpu/gl/glx/* 70 remove_srcs(../src/gpu/gl/glx/*
74 ../src/images/SkImageDecoder_FactoryDefault.cpp 71 ../src/images/SkImageDecoder_FactoryDefault.cpp
75 ../src/ports/SkFontMgr_fontconfig*.cpp 72 ../src/ports/SkFontMgr_fontconfig*.cpp
76 ../src/*FreeType*) 73 ../src/*FreeType*)
77 endif() 74 endif()
78 if (NOT ANDROID) 75 if (NOT ANDROID)
79 remove_srcs(../src/*Hwui* ../src/*android*) 76 remove_srcs(../src/*Hwui* ../src/*android*)
80 endif() 77 endif()
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 VISIBILITY_INLINES_HIDDEN true) 250 VISIBILITY_INLINES_HIDDEN true)
254 251
255 # Experimental C API install: 252 # Experimental C API install:
256 file(GLOB c_headers "../include/c/*.h") 253 file(GLOB c_headers "../include/c/*.h")
257 install(FILES ${c_headers} DESTINATION include) 254 install(FILES ${c_headers} DESTINATION include)
258 install(TARGETS skia DESTINATION lib) 255 install(TARGETS skia DESTINATION lib)
259 256
260 # Now build a simple example app that uses Skia via libskia.so. 257 # Now build a simple example app that uses Skia via libskia.so.
261 add_executable(example example.cpp) 258 add_executable(example example.cpp)
262 target_link_libraries(example skia ${OPENGL_LIBRARIES}) 259 target_link_libraries(example skia ${OPENGL_LIBRARIES})
OLDNEW
« no previous file with comments | « BUILD.public ('k') | gyp/utils.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698