-
참고 문서
https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart.md
chromiumembedded / cef / wiki / MasterBuildQuickStart — Bitbucket
cef / MasterBuildQuickStart This Wiki page provides a quick-start guide for creating a Debug build of CEF/Chromium using the current master (development) branch. Note to Editors: Changes made to this Wiki page without prior approval via the CEF Forum or Is
bitbucket.org
경로\automate
경로\chromium_git
경로\depot_tools
디렉토리를 생성 후 아래와 같이 파일 설치 및 설정
depot_tools.zip 다운 후 경로\depot_tools에 7-zip 으로 압축 풀기.
경로\depot_tools 로 이동 후
update_depot_tools.bat 실행
환경 변수에 depot_tools Path 설정
automate-git.py 다운 후 경로\automate 에 저장
경로\chromium_git 에 update.bat 생성 후 아래와 같이 입력.
set GN_DEFINES=is_component_build=true # Use vs2017 or vs2019 as appropriate. set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/* python ..\automate\automate-git.py --download-dir=경로\chromium_git --depot-tools-dir=경로\depot_tools --no-distrib --no-build
H.264 등의 오디오 및 동영상 코덱 필요 하다면 set GN_DEFINES에 다음을 추가 ffmpeg_branding=Chrome proprietary_codecs=true
ex) set GN_DEFINES=is_component_build=false ffmpeg_branding=Chrome proprietary_codecs=true
추가하게 되면 코덱에 대한 라이센서가 필요함.
cef 특정 branch를 받고 싶다면 python 뒤에 --branch=xxxx 추가. branch에 따라 chromium 버전이 달라 짐.
update.bat 저장 후 cmd로 실행. 다운 받는데 시간이 필요 함.
경로\chromium_git\chromium\src\cef\create.bat 를 아래와 같이 작성 후 저장
set GN_DEFINES=is_component_build=true # Use vs2017 or vs2019 as appropriate. set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/* call cef_create_projects.bat
실행 하면 cef 프로젝트 생성.
경로\chromium_git\chromium\src 이동 후
ninja -C out\Debug_GN_x64 cef
ninja -C out\Release_GN_x64 cef
빌드는 크롬 빌드 참조.
https://blog.daum.net/gore123/162?category=675822
Chromium 을 Windows에서 gn 빌드
현재 chrome를 빌드 하는 방법은 "GYP", "gn" 두 가지로 알고 있다. 나 머진 나도 잘.ㅋ ㅌㅌㅌ 일단 gn 만의 장점이 있으니 여기서 소개를...ㅎ gyp에서 gn 으로 가게된 이유는... 빌드 후 실행할 때 chrome
blog.daum.net
'공장 이야기' 카테고리의 다른 글
Windows 7 Cef 빌드 시 depot_tools update 오류 (0) 2022.07.06 Chromium 76.0.3809.87 버전 빌드 시 오류... (0) 2022.04.26 PInvokeStackImbalance 오류 (0) 2020.11.19 C++ dll로 WCHAR* 형태의 값 C#으로 넘길 때... (0) 2020.11.17 C# 다른 응용 프로그램에 Parameter로 한글 값 넘길때... (0) 2020.10.16