Merge "Add the "bsdiff/" prefix to all include paths." am: b63fef9a33 am: 392beaef11

am: 5f4657903a

Change-Id: If0da2f20786c8fc2f6a0a6c103bd0631f4ead4e8
This commit is contained in:
Alex Deymo authored and android-build-merger committed 2017-09-25 21:40:27 +00:00
commit fabe3352fd
18 files changed
+35 -28

No files matched your search

+3
View File
@@ -16,6 +16,9 @@ cc_defaults {
name: "bsdiff_defaults",
host_supported: true,
static_libs: ["libbz"],
// Allow internal includes to be referenced with the "bsdiff/" prefix in the
// path.
include_dirs: ["external"],
export_include_dirs: [
"include",
// TODO(deymo): Remove include/bsdiff when all callers use the "bsdiff/"
+1 -1
View File
@@ -9,7 +9,7 @@ LIBRARIES-$(USE_BSDIFF) += libbsdiff.so
BINARIES := $(EXECUTABLES-y) $(LIBRARIES-y)
INSTALL = install
CPPFLAGS += -Iinclude
CPPFLAGS += -Iinclude -I..
CXXFLAGS += -std=c++11 -O3 -Wall -Werror -fPIC
DESTDIR ?=
+1 -1
View File
@@ -41,7 +41,7 @@ __FBSDID("$FreeBSD: src/usr.bin/bsdiff/bsdiff/bsdiff.c,v 1.1 2005/08/06 01:59:05
#include <algorithm>
#include "patch_writer.h"
#include "bsdiff/patch_writer.h"
namespace bsdiff {
+6 -1
View File
@@ -21,7 +21,12 @@
'cflags_cc': [
'-Wnon-virtual-dtor',
],
'include_dirs': ['include'],
'include_dirs': [
'include',
# We need this include dir because we include all the local code as
# "bsdiff/...".
'<(platform2_root)/../aosp/external',
],
},
'variables': {
'bspatch_sources': [
+1 -1
View File
@@ -8,7 +8,7 @@
#include <string>
#include <vector>
#include "test_utils.h"
#include "bsdiff/test_utils.h"
using std::string;
using std::vector;
+7 -7
View File
@@ -36,22 +36,22 @@ __FBSDID("$FreeBSD: src/usr.bin/bsdiff/bspatch/bspatch.c,v 1.1 2005/08/06 01:59:
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <algorithm>
#include <memory>
#include <limits>
#include <memory>
#include <vector>
#include "bsdiff/buffer_file.h"
#include "bsdiff/extents.h"
#include "bsdiff/extents_file.h"
#include "bsdiff/file.h"
#include "bsdiff/file_interface.h"
#include "buffer_file.h"
#include "extents.h"
#include "file.h"
#include "memory_file.h"
#include "sink_file.h"
#include "bsdiff/memory_file.h"
#include "bsdiff/sink_file.h"
namespace {
+1 -1
View File
@@ -8,7 +8,7 @@
#include <gtest/gtest.h>
#include "test_utils.h"
#include "bsdiff/test_utils.h"
namespace bsdiff {
+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "buffer_file.h"
#include "bsdiff/buffer_file.h"
#include "bsdiff/bspatch.h"
+2 -2
View File
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "bz2_compressor.h"
#include "bsdiff/bz2_compressor.h"
#include <string.h>
#include "logging.h"
#include "bsdiff/logging.h"
using std::endl;
+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extents.h"
#include "bsdiff/extents.h"
#include <assert.h>
#include <errno.h>
+3 -4
View File
@@ -4,19 +4,18 @@
#include "bsdiff/extents_file.h"
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <string>
#include <vector>
#include "bsdiff/file_interface.h"
using std::string;
using std::vector;
using testing::AnyNumber;
using testing::StrictMock;
using testing::Return;
using testing::InSequence;
using testing::Return;
using testing::StrictMock;
using testing::_;
namespace bsdiff {
+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extents.h"
#include "bsdiff/extents.h"
#include <gtest/gtest.h>
#include <vector>
+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "file.h"
#include "bsdiff/file.h"
#include <errno.h>
#include <fcntl.h>
+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "memory_file.h"
#include "bsdiff/memory_file.h"
#include <algorithm>
#include <string.h>
+2 -2
View File
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "patch_writer.h"
#include "bsdiff/patch_writer.h"
#include <string.h>
#include "logging.h"
#include "bsdiff/logging.h"
using std::endl;
+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sink_file.h"
#include "bsdiff/sink_file.h"
namespace bsdiff {
+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "test_utils.h"
#include "bsdiff/test_utils.h"
#include <stdio.h>
#include <stdlib.h>
+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "test_utils.h"
#include "bsdiff/test_utils.h"
#include <gtest/gtest.h>