No, it isn't being compiled by other platforms.
I just add the xwalk_pref_store.cc into "OS==android" macro.