cef/patch/patches/build.patch

33 lines
982 B
Diff

Index: common.gypi
===================================================================
--- common.gypi (revision 26790)
+++ common.gypi (working copy)
@@ -15,6 +15,9 @@
# Variables expected to be overriden on the GYP command line (-D) or by
# ~/.gyp/include.gypi.
+
+ # Directory for CEF source files. This will be set by cef.gypi.
+ 'cef_directory%' : '',
# Putting a variables dict inside another variables dict looks kind of
# weird. This is done so that "branding" and "buildtype" are defined as
Index: win/system.gyp
===================================================================
--- win/system.gyp (revision 26790)
+++ win/system.gyp (working copy)
@@ -22,6 +22,13 @@
'action': ['', '<@(_inputs)'],
},
],
+ 'conditions': [
+ ['cef_directory!=""', {
+ 'dependencies': [
+ '../../<(cef_directory)/cef.gyp:patcher',
+ ],
+ }],
+ ],
},
],
}