cpp: Add generated files/folder to ignore list

Change-Id: I2b5dce29b515392cddc30272750537c1ebb0317f
java: Remove generated file, add it to ignore list

Change-Id: If6dfa352f8d7c36b6fec209f91d73a6dd2ad1cb9