Fix including gtk rules in other OSs.
This commit is contained in:
parent
69adff19fe
commit
c3301a197e
3 changed files with 4 additions and 1 deletions
2
atom.gyp
2
atom.gyp
|
@ -255,7 +255,7 @@
|
||||||
'chromium_src/ui/base/x/x11_util.cc',
|
'chromium_src/ui/base/x/x11_util.cc',
|
||||||
'chromium_src/ui/events/keycodes/keyboard_code_conversion_gtk.cc',
|
'chromium_src/ui/events/keycodes/keyboard_code_conversion_gtk.cc',
|
||||||
'chromium_src/ui/events/keycodes/keyboard_code_conversion_gtk.h',
|
'chromium_src/ui/events/keycodes/keyboard_code_conversion_gtk.h',
|
||||||
'chromium_src/ui/gfx/gfx_gtk_util.cc',
|
'chromium_src/ui/gfx/gtk_util_gfx.cc',
|
||||||
'chromium_src/ui/gfx/gtk_util.h',
|
'chromium_src/ui/gfx/gtk_util.h',
|
||||||
'<@(native_mate_files)',
|
'<@(native_mate_files)',
|
||||||
],
|
],
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
'sources/': [
|
'sources/': [
|
||||||
['exclude', '_linux(_unittest)?\\.(h|cc)$'],
|
['exclude', '_linux(_unittest)?\\.(h|cc)$'],
|
||||||
['exclude', '(^|/)linux/'],
|
['exclude', '(^|/)linux/'],
|
||||||
|
['exclude', '(^|/)linux/'],
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
['OS!="android"', {
|
['OS!="android"', {
|
||||||
|
@ -57,6 +58,8 @@
|
||||||
['exclude', '_gtk(_browsertest|_unittest)?\\.(h|cc)$'],
|
['exclude', '_gtk(_browsertest|_unittest)?\\.(h|cc)$'],
|
||||||
['exclude', '(^|/)gtk/'],
|
['exclude', '(^|/)gtk/'],
|
||||||
['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'],
|
['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'],
|
||||||
|
['exclude', '(^|/)libgtk2ui/'],
|
||||||
|
['exclude', '(^|/)x/'],
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
['OS!="win"', {
|
['OS!="win"', {
|
||||||
|
|
Loading…
Reference in a new issue