blob: fe1498770a3e8ced7d235c070f386e609fdac2f7 [file] [log] [blame]
Rumou Duana518f632016-09-21 21:59:01 +00001// Copyright 2016 The Bazel Authors. All rights reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#include <algorithm>
16
17#include "third_party/ijar/common.h"
18#include "third_party/ijar/zlib_client.h"
19
20namespace devtools_ijar {
21
22u4 ComputeCrcChecksum(u1* buf, size_t length) { return 0; }
23
24size_t TryDeflate(u1* buf, size_t length) { return 0; }
25
26Decompressor::Decompressor() {}
27Decompressor::~Decompressor() {}
28
29DecompressedFile* Decompressor::UncompressFile(const u1* buffer,
30 size_t bytes_avail) {
31 return NULL;
32}
33
34char* Decompressor::GetError() { return NULL; }
35
36int Decompressor::error(const char* fmt, ...) { return 0; }
37} // namespace devtools_ijar