Fix insertion of allows "os" options.
premake.action._list["vs2017"].valid_kinds = table.join(premake.action._list["vs2017"].valid_kinds, { p.ANDROIDPROJ })
-- TODO: can I api.addAllowed() a key-value pair?
- local os = p.fields["os"];
+ local os = p.option.get("os")
if os ~= nil then
- table.insert(sys.allowed, { "android", "Android" })
+ table.insert(os.allowed, { "android", "Android" })
end
