File tree Expand file tree Collapse file tree 7 files changed +21
-5
lines changed Expand file tree Collapse file tree 7 files changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ inline void MemoryBarrier() {
53
53
#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || \
54
54
defined (__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || \
55
55
defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || \
56
- defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || \
56
+ defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || \
57
57
defined(__ARM_ARCH_6KZ__) || defined(__ARM_ARCH_6T2__)
58
58
59
59
inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr,
Original file line number Diff line number Diff line change 35
35
],
36
36
},
37
37
'conditions' : [
38
- ['desktop_linux == 1 or chromeos == 1' , {
38
+ ['desktop_linux == 1 or chromeos == 1 or qt_os == "embedded_linux" ' , {
39
39
'conditions' : [
40
40
['chromeos==1' , {
41
41
'sources/' : [ ['include' , '_chromeos\\ .cc$' ] ]
Original file line number Diff line number Diff line change 722
722
'atomicops_internals_x86_gcc.cc' ,
723
723
],
724
724
}],
725
+ # We need to include xdg for embedded linux,
726
+ # but we indeed do not want atomicops for x86.
727
+ ['qt_os == "embedded_linux"' , {
728
+ 'sources/' : [
729
+ ['include' , '^nix/' ],
730
+ ],
731
+ }],
732
+ ['use_qt==1 and target_arch=="ia32"' , {
733
+ 'sources/' : [
734
+ ['include' , 'atomicops_internals_x86_gcc.cc' ],
735
+ ],
736
+ }],
725
737
['<(use_glib)==0 or >(nacl_untrusted_build)==1' , {
726
738
'sources!' : [
727
739
'message_loop/message_pump_glib.cc' ,
Original file line number Diff line number Diff line change 506
506
{
507
507
'target_name' : 'libpci' ,
508
508
'type' : 'static_library' ,
509
+ 'conditions' : [
510
+ ['use_x11==1' , {
509
511
'cflags' : [
510
512
'<!@(<(pkg-config) --cflags libpci)' ,
511
513
],
566
568
'process_outputs_as_sources' : 1 ,
567
569
},
568
570
],
571
+ }],
572
+ ],
569
573
},
570
574
{
571
575
'target_name' : 'libresolv' ,
Original file line number Diff line number Diff line change 1366
1366
'../build/linux/system.gyp:gio' ,
1367
1367
],
1368
1368
}],
1369
- [ 'desktop_linux == 1 or chromeos == 1' , {
1369
+ [ 'desktop_linux == 1 or chromeos == 1 or qt_os == "embedded_linux" ' , {
1370
1370
'conditions' : [
1371
1371
['use_openssl==1' , {
1372
1372
'dependencies' : [
Original file line number Diff line number Diff line change 117
117
'target_conditions' : [
118
118
# Pull in specific linux files for android (which have been filtered out
119
119
# by file name rules).
120
- [ 'OS == "android"' , {
120
+ [ 'OS == "android" or qt_os == "embedded_linux" ' , {
121
121
'sources/' : [
122
122
['include' , 'ext/platform_device_linux\\ .cc$' ],
123
123
],
Original file line number Diff line number Diff line change 270
270
'../third_party/skia/src/opts/opts_check_SSE2.cpp'
271
271
],
272
272
}],
273
- [ 'desktop_linux == 1 or chromeos == 1' , {
273
+ [ 'desktop_linux == 1 or chromeos == 1 or qt_os=="embedded_linux" ' , {
274
274
'dependencies' : [
275
275
'../build/linux/system.gyp:fontconfig' ,
276
276
'../build/linux/system.gyp:freetype2' ,
You can’t perform that action at this time.
0 commit comments