Merge "base: support optional flags in android::base::Pipe." am: 0182f71d96 am: 77ddc89bb0
am: 96dc1c7d98

Change-Id: I2c7c21a852a62ce3693f8a7591437dc32180c8ff