BUG when using GYP_DEFINES+=" profiling=1 release_extra_cflags=-fno-omit-frame-pointer disable_pie=1
来源:互联网 发布:安卓一键添加好友软件 编辑:程序博客网 时间:2024/05/16 09:06
Hi, I find GYP's bug when dealing with GYP_DEFINES env variables override.
I was having a successfully android build, and i wanted to enable profiler support, so i followed thehttp://www.chromium.org/developers/profiling-chromium-and-webkit instructions,
~/Projects/Chromium/src$ GYP_DEFINES+=" profiling=1 release_extra_cflags=-fno-omit-frame-pointer disable_pie=1" build/gyp_chromium
( In my Chromium base dir, there is a file named chromium.gyp_env, its contents is "{ 'GYP_DEFINES': 'OS=android', }", so i supposed the above config should enable profiler support.
However, I was wrong. The above command in fact triggered the Linux build, not Android. And when i entered:
~/Projects/Chromium/src$ ninja -C out/Release android_webview_apk
GYP telled me it can not recognize android_webview_apk target, I just re-entered ninja -C out/Release to let the compile go on.
Now I see, there definitely is a BUG in GYP when dealing with GYP_DEFINES env variables override.
I now re-build the chromium source using the following commands:
~/Projects/Chromium/src$ GYP_DEFINES+="OS=android profiling=1 release_extra_cflags=-fno-omit-frame-pointer disable_pie=1" build/gyp_chromium
~/Projects/Chromium/src$ ninja -C out/Release android_webview_apk
But the previous wrong build has generated too many files in my VM. Oh dear.
I was having a successfully android build, and i wanted to enable profiler support, so i followed thehttp://www.chromium.org/developers/profiling-chromium-and-webkit instructions,
~/Projects/Chromium/src$ GYP_DEFINES+=" profiling=1 release_extra_cflags=-fno-omit-frame-pointer disable_pie=1" build/gyp_chromium
( In my Chromium base dir, there is a file named chromium.gyp_env, its contents is "{ 'GYP_DEFINES': 'OS=android', }", so i supposed the above config should enable profiler support.
However, I was wrong. The above command in fact triggered the Linux build, not Android. And when i entered:
~/Projects/Chromium/src$ ninja -C out/Release android_webview_apk
GYP telled me it can not recognize android_webview_apk target, I just re-entered ninja -C out/Release to let the compile go on.
Now I see, there definitely is a BUG in GYP when dealing with GYP_DEFINES env variables override.
I now re-build the chromium source using the following commands:
~/Projects/Chromium/src$ GYP_DEFINES+="OS=android profiling=1 release_extra_cflags=-fno-omit-frame-pointer disable_pie=1" build/gyp_chromium
~/Projects/Chromium/src$ ninja -C out/Release android_webview_apk
But the previous wrong build has generated too many files in my VM. Oh dear.
//sent to chromium-dev@
0 0
- BUG when using GYP_DEFINES+=" profiling=1 release_extra_cflags=-fno-omit-frame-pointer disable_pie=1
- GCC -fno-omit-frame-pointer
- 关于-fno-omit-frame-pointer与-fomit-frame-pointer
- Python 2.7.6的bug:ctype = ctype.encode(default_encoding) # omit in 3.x!
- gcc -fomit-frame-pointer选项,-fno-dwarf2-cfi-asm 选项
- ctype = ctype.encode(default_encoding) # omit in 3.x!
- [1-9]Profiling Code Using clock_gettime
- It's no longer allowed to omit the '-loader' suffix when using loaders.
- OGG Extract displays Discarding bad record (discard recs = 1) when using filter or where clause [ID
- OGG 01008 Extract displays Discarding bad record (discard recs=1) when using filter or where clause
- OGG-01008 Extract displays Discarding bad record (discard recs=1) when using filter or where clause
- pip安装python包出错:ctype = ctype.encode(default_encoding) # omit in 3.x!
- python 2.7 django1.6 ctype = ctype.encode(default_encoding) # omit in 3.x!
- PYTHON 出现错误 CTYPE = CTYPE.ENCODE(DEFAULT_ENCODING) # OMIT IN 3.X! UNICODEDECODEERROR
- <td style="cursor:pointer">
- Vector3.Lerp(When t = 0 returns a. When t = 1 returns b. When t = 0.5 returns the point midway betw)
- LLVM笔记1:static profiling
- guideImageView.frame = videoPlayerVC.videoPlayerView.bounds;竟然frame不一样
- Ubuntu14.04配置opencv
- 求一个类的sizeof应考虑的问题 (
- 漫谈程序员系列:一张图道尽程序员的出路
- 一些编程相关的分享
- 电脑版 寄语2014年的云服务 就想让你安全
- BUG when using GYP_DEFINES+=" profiling=1 release_extra_cflags=-fno-omit-frame-pointer disable_pie=1
- 配置plsql软件访问远程和本地数据库中oracle 10g的地址路径
- bootstrap中文乱码
- 漫谈程序员系列:找工作的辟邪剑谱
- 关于在ubuntu下eclipse中c++11支持和编译运行c++11报错的解决方法
- 10 款激发灵感的 HTML5/CSS3 应用
- Android判断当前应用程序处于前台
- 如何在编译时获取一个结构体的大小
- 伊朗黑客组织手术刀向全球发起攻击