This repository was archived by the owner on Apr 3, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 33
33
// Use TOOLKIT_GTK on linux if TOOLKIT_VIEWS isn't defined.
34
34
#if !defined(TOOLKIT_VIEWS)
35
35
#define TOOLKIT_GTK
36
+ #define TOOLKIT_EFL
36
37
#endif
37
38
#elif defined(_WIN32)
38
39
#define OS_WIN 1
Original file line number Diff line number Diff line change 133
133
134
134
# Set toolkit_uses_gtk for the Chromium browser on Linux.
135
135
['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and use_aura==0' , {
136
+ 'toolkit_uses_efl%' : 1 ,
136
137
'toolkit_uses_gtk%' : 1 ,
137
138
}, {
139
+ 'toolkit_uses_efl%' : 0 ,
138
140
'toolkit_uses_gtk%' : 0 ,
139
141
}],
140
142
175
177
'host_arch%' : '<(host_arch)' ,
176
178
'target_arch%' : '<(target_arch)' ,
177
179
'toolkit_views%' : '<(toolkit_views)' ,
180
+ 'toolkit_uses_efl%' : '<(toolkit_uses_efl)' ,
178
181
'toolkit_uses_gtk%' : '<(toolkit_uses_gtk)' ,
179
182
'use_aura%' : '<(use_aura)' ,
180
183
'use_ash%' : '<(use_ash)' ,
702
705
'os_posix%' : '<(os_posix)' ,
703
706
'use_glib%' : '<(use_glib)' ,
704
707
'use_messagepump_linux%' : '<(use_messagepump_linux)' ,
708
+ 'toolkit_uses_efl%' : '<(toolkit_uses_efl)' ,
705
709
'toolkit_uses_gtk%' : '<(toolkit_uses_gtk)' ,
706
710
'use_x11%' : '<(use_x11)' ,
707
711
'use_gnome_keyring%' : '<(use_gnome_keyring)' ,
Original file line number Diff line number Diff line change 1156
1156
'../dbus/dbus.gyp:dbus' ,
1157
1157
],
1158
1158
}],
1159
+ ['toolkit_uses_efl == 1' , {
1160
+ 'dependencies' : [
1161
+ '../build/linux/system.gyp:efl' ,
1162
+ ],
1163
+ 'sources/' : [
1164
+ ['exclude' , 'browser/web_contents/web_contents_view_gtk.cc' ],
1165
+ ['exclude' , 'browser/web_contents/web_contents_view_gtk.h' ],
1166
+ ]
1167
+ }],
1159
1168
['OS=="linux"' , {
1160
1169
'dependencies' : [
1161
1170
'../build/linux/system.gyp:udev' ,
You can’t perform that action at this time.
0 commit comments