@@ -13,26 +13,39 @@ local function match_platform_files(base_path, base_match)
13
13
removefiles ({base_path .. " /" .. " **_test.cc" })
14
14
removefiles ({base_path .. " /" .. " **_posix.h" , base_path .. " /" .. " **_posix.cc" })
15
15
removefiles ({base_path .. " /" .. " **_linux.h" , base_path .. " /" .. " **_linux.cc" })
16
+ removefiles ({base_path .. " /" .. " **_gnulinux.h" ,
17
+ base_path .. " /" .. " **_gnulinux.cc" })
16
18
removefiles ({base_path .. " /" .. " **_x11.h" , base_path .. " /" .. " **_x11.cc" })
17
19
removefiles ({base_path .. " /" .. " **_gtk.h" , base_path .. " /" .. " **_gtk.cc" })
20
+ removefiles ({base_path .. " /" .. " **_android.h" , base_path .. " /" .. " **_android.cc" })
18
21
removefiles ({base_path .. " /" .. " **_mac.h" , base_path .. " /" .. " **_mac.cc" })
19
22
removefiles ({base_path .. " /" .. " **_win.h" , base_path .. " /" .. " **_win.cc" })
20
23
filter (" platforms:Windows" )
21
24
files ({
22
25
base_path .. " /" .. base_match .. " _win.h" ,
23
26
base_path .. " /" .. base_match .. " _win.cc" ,
24
27
})
25
- filter (" platforms:Linux" )
28
+ filter (" platforms:Linux or Android " )
26
29
files ({
27
30
base_path .. " /" .. base_match .. " _posix.h" ,
28
31
base_path .. " /" .. base_match .. " _posix.cc" ,
29
32
base_path .. " /" .. base_match .. " _linux.h" ,
30
33
base_path .. " /" .. base_match .. " _linux.cc" ,
34
+ })
35
+ filter (" platforms:Linux" )
36
+ files ({
37
+ base_path .. " /" .. base_match .. " _gnulinux.h" ,
38
+ base_path .. " /" .. base_match .. " _gnulinux.cc" ,
31
39
base_path .. " /" .. base_match .. " _x11.h" ,
32
40
base_path .. " /" .. base_match .. " _x11.cc" ,
33
41
base_path .. " /" .. base_match .. " _gtk.h" ,
34
42
base_path .. " /" .. base_match .. " _gtk.cc" ,
35
43
})
44
+ filter (" platforms:Android" )
45
+ files ({
46
+ base_path .. " /" .. base_match .. " _android.h" ,
47
+ base_path .. " /" .. base_match .. " _android.cc" ,
48
+ })
36
49
filter ({})
37
50
end
38
51
0 commit comments