我正在尝试构建嵌入的铬来测试胡椒 API,就像他们在这里所做的那样
- 从源代码构建 CEF3/Chromium,如https://code.google.com/p/chromiumembed ... ndBuilding 中所述。
- 编辑 C:\chromium\src\build\some.gyp,在“依赖项”部分添加“../ppapi/ppapi_internal.gyp:ppapi_example_paint_manager”。
gclient runhooks
从 chromium src 目录运行以更新构建文件。- 打开 C:\chromium\src\build\some.sln(在其他平台上等效)并构建 ppapi_example_paint_manager 目标以创建 ppapi_example_paint_manager.dll。
但是我似乎在构建之后没有得到任何项目文件“some.*”,查看源文件夹(我在 Mac 上),我希望在我的 '..chromium/src/ 中有一个 *.xcproj 文件或类似文件构建'文件夹。
我错过了一些步骤吗?
这是输出:
gclient runhooks
________ running '/usr/bin/python src/build/download_nacl_toolchains.py --no-arm-trusted --keep' in '/Users/daka/wimp/chromium'
/Users/daka/wimp/chromium/src/native_client/toolchain/.tars/toolchain_mac_x86.tar.bz2 is already up to date.
/Users/daka/wimp/chromium/src/native_client/toolchain/.tars/toolchain_mac_x86.tar.bz2 is already up to date.
mac_x86: already up to date.
/Users/daka/wimp/chromium/src/native_client/toolchain/.tars/naclsdk_mac_x86.tgz is already up to date.
/Users/daka/wimp/chromium/src/native_client/toolchain/.tars/naclsdk_mac_x86.tgz is already up to date.
mac_x86_newlib: already up to date.
/Users/daka/wimp/chromium/src/native_client/toolchain/.tars/naclsdk_pnacl_mac_x86.tgz is already up to date.
/Users/daka/wimp/chromium/src/native_client/toolchain/.tars/naclsdk_pnacl_mac_x86.tgz is already up to date.
pnacl_mac_x86: already up to date.
/Users/daka/wimp/chromium/src/native_client/toolchain/.tars/naclsdk_pnacl_translator.tgz is already up to date.
/Users/daka/wimp/chromium/src/native_client/toolchain/.tars/naclsdk_pnacl_translator.tgz is already up to date.
pnacl_translator: already up to date.
________ running '/usr/bin/python src/build/linux/install-arm-sysroot.py --linux-only' in '/Users/daka/wimp/chromium'
________ running '/usr/bin/python src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py --linux-only --arch=amd64' in '/Users/daka/wimp/chromium'
________ running '/usr/bin/python src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py --linux-only --arch=i386' in '/Users/daka/wimp/chromium'
________ running '/usr/bin/python src/tools/clang/scripts/update.py --if-needed' in '/Users/daka/wimp/chromium'
Clang already at 202555-4
________ running '/usr/bin/python src/build/util/lastchange.py -o src/build/util/LASTCHANGE' in '/Users/daka/wimp/chromium'
________ running '/usr/bin/python src/build/util/lastchange.py -s src/third_party/WebKit -o src/build/util/LASTCHANGE.blink' in '/Users/daka/wimp/chromium'
________ running 'download_from_google_storage --no_resume --platform=win32 --no_auth --bucket chromium-gn -s src/tools/gn/bin/win/gn.exe.sha1' in '/Users/daka/wimp/chromium'
________ running 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-gn -s src/tools/gn/bin/mac/gn.sha1' in '/Users/daka/wimp/chromium'
________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-gn -s src/tools/gn/bin/linux/gn.sha1' in '/Users/daka/wimp/chromium'
________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-gn -s src/tools/gn/bin/linux/gn32.sha1' in '/Users/daka/wimp/chromium'
________ running 'download_from_google_storage --no_resume --platform=win32 --no_auth --bucket chromium-clang-format -s src/third_party/clang_format/bin/win/clang-format.exe.sha1' in '/Users/daka/wimp/chromium'
________ running 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-clang-format -s src/third_party/clang_format/bin/mac/clang-format.sha1' in '/Users/daka/wimp/chromium'
________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-clang-format -s src/third_party/clang_format/bin/linux/clang-format.sha1' in '/Users/daka/wimp/chromium'
________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-eu-strip -s src/build/linux/bin/eu-strip.sha1' in '/Users/daka/wimp/chromium'
________ running '/usr/bin/python src/build/gyp_chromium' in '/Users/daka/wimp/chromium'
Updating projects from gyp files...
Running build/landmines.py...
Hook '/usr/bin/python src/build/gyp_chromium' took 54.69 secs
这是我的 gyp 文件:
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'some',
'type': 'none',
'dependencies': [
# This file is intended to be locally modified. List the targets you use
# regularly. The generated some.sln will contains projects for only
# those targets and the targets they are transitively dependent on. This
# can result in a solution that loads and unloads faster in Visual
# Studio.
#
# Tip: Create a dummy CL to hold your local edits to this file, so they
# don't accidentally get added to another CL that you are editing.
#
# Example:
# '../chrome/chrome.gyp:chrome',
'../ppapi/ppapi_internal.gyp:ppapi_example_paint_manager'
],
},
],
}