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

Side by Side Diff: cmake/CMakeLists.txt

Issue 2199973002: Rename FontConfigInterface font manager files. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: All the build systems. Created 4 years, 4 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.gn ('k') | gyp/ports.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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 endfunction() 49 endfunction()
50 50
51 # This file is empty and is only used to trick GYP. 51 # This file is empty and is only used to trick GYP.
52 remove_srcs (../src/core/SkForceCPlusPlusLinking.cpp) 52 remove_srcs (../src/core/SkForceCPlusPlusLinking.cpp)
53 # Chrome only? 53 # Chrome only?
54 remove_srcs (../src/ports/SkFontHost_fontconfig.cpp 54 remove_srcs (../src/ports/SkFontHost_fontconfig.cpp
55 ../src/fonts/SkFontMgr_fontconfig.cpp 55 ../src/fonts/SkFontMgr_fontconfig.cpp
56 ../src/ports/SkFontConfigInterface_direct.cpp 56 ../src/ports/SkFontConfigInterface_direct.cpp
57 ../src/ports/SkFontConfigInterface_direct_factory.cpp 57 ../src/ports/SkFontConfigInterface_direct_factory.cpp
58 ../src/ports/SkFontConfigInterface_direct_google3.cpp 58 ../src/ports/SkFontConfigInterface_direct_google3.cpp
59 ../src/ports/SkFontConfigInterface_direct_google3_factory.cpp) 59 ../src/ports/SkFontConfigInterface_direct_google3_factory.cpp
60 ../src/ports/SkFontMgr_FontConfigInterface.cpp
61 ../src/ports/SkFontMgr_FontConfigInterface_factory.cpp)
60 # Alternative font managers. 62 # Alternative font managers.
61 remove_srcs (../src/ports/SkFontMgr_custom*.cpp) 63 remove_srcs (../src/ports/SkFontMgr_custom*.cpp)
62 # skslc main() 64 # skslc main()
63 remove_srcs (../src/sksl/SkSLMain.cpp) 65 remove_srcs (../src/sksl/SkSLMain.cpp)
64 66
65 67
66 # Skia sure ships a lot of code no one uses. 68 # Skia sure ships a lot of code no one uses.
67 remove_srcs (../src/animator/* ../src/*nacl* ../src/svg/* ../src/views/* ../src/ xml/*) 69 remove_srcs (../src/animator/* ../src/*nacl* ../src/svg/* ../src/views/* ../src/ xml/*)
68 foreach (include animator svg views xml gpu/vk) 70 foreach (include animator svg views xml gpu/vk)
69 file (GLOB globed_include ../include/${include}) 71 file (GLOB globed_include ../include/${include})
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 file (APPEND ${skia_h_path} "#include \"${filename_component}\"\n") 351 file (APPEND ${skia_h_path} "#include \"${filename_component}\"\n")
350 endif () 352 endif ()
351 endforeach() 353 endforeach()
352 endif() 354 endif()
353 endforeach() 355 endforeach()
354 file(APPEND ${skia_h_path} "\n#endif // skia_DEFINED\n") 356 file(APPEND ${skia_h_path} "\n#endif // skia_DEFINED\n")
355 357
356 # Now build a simple example app that uses Skia via libskia.so. 358 # Now build a simple example app that uses Skia via libskia.so.
357 add_executable(example example.cpp) 359 add_executable(example example.cpp)
358 target_link_libraries(example skia ${OPENGL_LIBRARIES}) 360 target_link_libraries(example skia ${OPENGL_LIBRARIES})
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | gyp/ports.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698