Add walls to 2D floor plan
Inset the face you have with I, invert the selection (since the area which was inset will remain selected) with Ctrl+I and then extrude.



Note that depending on the case you might need to change topology in the end to convert Ngons to something more appropriate. Though if no subdividing with modifiers like Subsurf is used then it won't be that necessary.