mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Fix including gtk rules in other OSs.
This commit is contained in:
2
atom.gyp
2
atom.gyp
@@ -255,7 +255,7 @@
|
||||
'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.h',
|
||||
'chromium_src/ui/gfx/gfx_gtk_util.cc',
|
||||
'chromium_src/ui/gfx/gtk_util_gfx.cc',
|
||||
'chromium_src/ui/gfx/gtk_util.h',
|
||||
'<@(native_mate_files)',
|
||||
],
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
'sources/': [
|
||||
['exclude', '_linux(_unittest)?\\.(h|cc)$'],
|
||||
['exclude', '(^|/)linux/'],
|
||||
['exclude', '(^|/)linux/'],
|
||||
],
|
||||
}],
|
||||
['OS!="android"', {
|
||||
@@ -57,6 +58,8 @@
|
||||
['exclude', '_gtk(_browsertest|_unittest)?\\.(h|cc)$'],
|
||||
['exclude', '(^|/)gtk/'],
|
||||
['exclude', '(^|/)gtk_[^/]*\\.(h|cc)$'],
|
||||
['exclude', '(^|/)libgtk2ui/'],
|
||||
['exclude', '(^|/)x/'],
|
||||
],
|
||||
}],
|
||||
['OS!="win"', {
|
||||
|
||||
Reference in New Issue
Block a user