Git libchromiumcontent创建修补程序文件
我正在尝试对一个叫做。通过查看这些文件,似乎对代码所做的所有更改都是通过Git libchromiumcontent创建修补程序文件,git,diff,patch,electron,Git,Diff,Patch,Electron,我正在尝试对一个叫做。通过查看这些文件,似乎对代码所做的所有更改都是通过.patch文件完成的,我以前没有见过这些文件,该文件的示例如下: ffmpeg.patch diff --git a/ffmpeg.gyp b/ffmpeg.gyp index 31997bc..741d37a 100755 --- a/ffmpeg.gyp +++ b/ffmpeg.gyp @@ -414,14 +414,6 @@ '_snprintf=avpriv_snprin
.patch
文件完成的,我以前没有见过这些文件,该文件的示例如下:
ffmpeg.patch
diff --git a/ffmpeg.gyp b/ffmpeg.gyp
index 31997bc..741d37a 100755
--- a/ffmpeg.gyp
+++ b/ffmpeg.gyp
@@ -414,14 +414,6 @@
'_snprintf=avpriv_snprintf',
'vsnprintf=avpriv_vsnprintf',
],
- }],
- ['target_arch == "x64"', {
- # TODO(wolenetz): We should fix this. http://crbug.com/171009
- 'msvs_disabled_warnings' : [
- 4267
- ],
- }],
- ['ffmpeg_component == "shared_library"', {
# Fix warnings about a local symbol being inefficiently imported.
'msvs_settings': {
'VCCLCompilerTool': {
@@ -431,6 +423,14 @@
],
},
},
+ }],
+ ['target_arch == "x64"', {
+ # TODO(wolenetz): We should fix this. http://crbug.com/171009
+ 'msvs_disabled_warnings' : [
+ 4267
+ ],
+ }],
+ ['ffmpeg_component == "shared_library"', {
'sources': [
'<(shared_generated_dir)/ffmpeg.def',
],
diff--git a/ffmpeg.gyp b/ffmpeg.gyp
索引31997bc..741d37a 100755
---a/ffmpeg.gyp
+++b/ffmpeg.gyp
@@ -414,14 +414,6 @@
“_snprintf=avpriv_snprintf”,
'vsnprintf=avpriv_vsnprintf',
],
- }],
-['target_arch==“x64”{
-托多(沃伦茨):我们应该解决这个问题。http://crbug.com/171009
-“MSV\u已禁用\u警告”:[
- 4267
- ],
- }],
-['ffmpeg_组件==“共享_库”{
#修复有关本地符号导入效率低下的警告。
“MSV_设置”:{
“VCCLCompilerTool”:{
@@ -431,6 +423,14 @@
],
},
},
+ }],
+['target_arch==“x64”{
+托多(沃伦茨):我们应该解决这个问题。http://crbug.com/171009
+“MSV\u已禁用\u警告”:[
+ 4267
+ ],
+ }],
+['ffmpeg_组件==“共享_库”{
“来源”:[
“正如repo页面上所述,libchromiumcontent是Chrome浏览器的(如下图所示)。它被Electron使用,因此也被Electron应用程序使用。为了支持这一点,Electron团队定期从上游引入更改,并对其进行修补
布伦丹·福斯特在NDC{Syndney}的“电子内部漫游”演讲中说