summaryrefslogtreecommitdiff
path: root/chromium/base/base.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/base.gypi')
-rw-r--r--chromium/base/base.gypi12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/base/base.gypi b/chromium/base/base.gypi
index 11edab00968..45d71802744 100644
--- a/chromium/base/base.gypi
+++ b/chromium/base/base.gypi
@@ -722,6 +722,18 @@
'atomicops_internals_x86_gcc.cc',
],
}],
+ # We need to include xdg for embedded linux,
+ # but we indeed do not want atomicops for x86.
+ ['qt_os == "embedded_linux"', {
+ 'sources/': [
+ ['include', '^nix/'],
+ ],
+ }],
+ ['use_qt==1 and target_arch=="ia32"', {
+ 'sources/': [
+ ['include', 'atomicops_internals_x86_gcc.cc'],
+ ],
+ }],
['<(use_glib)==0 or >(nacl_untrusted_build)==1', {
'sources!': [
'message_loop/message_pump_glib.cc',