| 25 | namespace { |
| 26 | |
| 27 | string RemoveSuffix(const string& name, const string& suffix) { |
| 28 | string output(name); |
| 29 | StringPiece piece(output); |
| 30 | absl::ConsumeSuffix(&piece, suffix); |
| 31 | return string(piece); |
| 32 | } |
| 33 | |
| 34 | // Closes the given AAsset when variable is destructed. |
| 35 | class ScopedAsset { |
no test coverage detected