Index: ui/accessibility/accessibility.gyp |
diff --git a/ui/accessibility/accessibility.gyp b/ui/accessibility/accessibility.gyp |
index 88613e68505f8abaa77bcb7c0df1e4cc63e7af7a..e417f101ff568cfc210280572a02d8bb64046cf8 100644 |
--- a/ui/accessibility/accessibility.gyp |
+++ b/ui/accessibility/accessibility.gyp |
@@ -43,8 +43,12 @@ |
'ax_tree_update.h', |
'ax_view_state.cc', |
'ax_view_state.h', |
+ 'platform/atk_util_auralinux.cc', |
+ 'platform/atk_util_auralinux.h', |
'platform/ax_platform_node.cc', |
'platform/ax_platform_node.h', |
+ 'platform/ax_platform_node_auralinux.cc', |
+ 'platform/ax_platform_node_auralinux.h', |
'platform/ax_platform_node_base.cc', |
'platform/ax_platform_node_base.h', |
'platform/ax_platform_node_delegate.h', |
@@ -59,6 +63,27 @@ |
'../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2' |
], |
}], |
+ ['OS=="linux" and chromeos==0 and use_x11==1', { |
+ 'dependencies': [ |
+ '../../build/linux/system.gyp:atk', |
+ '../../build/linux/system.gyp:gconf', |
+ '../../build/linux/system.gyp:glib', |
+ ], |
+ 'variables': { |
+ 'clang_warning_flags': [ |
+ # glib uses the pre-c++11 typedef-as-static_assert hack. |
+ '-Wno-unused-local-typedefs', |
+ ], |
+ }, |
+ }], |
+ ['OS!="linux" or chromeos==1 or use_x11==0', { |
+ 'sources!': [ |
+ 'platform/ax_platform_node_auralinux.cc', |
+ 'platform/ax_platform_node_auralinux.h', |
+ 'platform/atk_util_auralinux.cc', |
+ 'platform/atk_util_auralinux.h', |
+ ], |
+ }], |
], |
}, |
{ |