Skip to content
Permalink
Browse files
Unvendor (#3603)
* Unvendor kashmir

* Unvendor cpplint

* Fix cpplint issues
  • Loading branch information
Code0x58 committed Aug 14, 2020
1 parent c3b6433 commit ee73293b2ce5f1c0aa0506a4398bb2efe696944f
Showing 25 changed files with 55 additions and 7,751 deletions.
13 LICENSE
@@ -311,19 +311,6 @@ See project link for details.
-> heron/tools/ui/resources/static/js/JSXTransformer.0.10.0.js
autogen.sh
-> config/autogen.sh
cpplint(https://github.com/cpplint/cpplint/blob/master/LICENSE)
-> third_party/python/cpplint/cpplint.py
d3(v3.4.11, https://github.com/d3/d3/blob/master/LICENSE)
-> heron/tools/ui/resources/static/js/d3.min.3.4.11.js

========================================================================
Third party Boost Software License, Version 1.0 licenses
========================================================================

The following components are provided under the Boost Software License, Version 1.0.
See project link for details.

kashmir(https://github.com/Corvusoft/kashmir-dependency/blob/master/LICENSE_1_0.txt)
-> third_party/kashmir/*


@@ -326,6 +326,16 @@ http_archive(
urls = ["https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-0.6.2.tar.gz"],
)

http_archive(
name = "com_github_corvusoft_kashmir_cpp",
build_file = "@//:third_party/kashmir/kashmir.BUILD",
patch_args = ["-p1"],
patches = ["//third_party/kashmir:kashmir-random-fix.patch"],
sha256 = "c3515d6c7a470663f06b79bb23cbb2ff2f3feab4c2a333f783edc0a802f1d062",
strip_prefix = "kashmir-dependency-19fb1d5c14866bd5202c2458baf50263001a9cb0",
urls = ["https://github.com/Corvusoft/kashmir-dependency/archive/19fb1d5c14866bd5202c2458baf50263001a9cb0.zip"],
)

http_archive(
name = "com_github_danmar_cppcheck",
build_file = "@//:third_party/cppcheck/cppcheck.BUILD",
@@ -51,7 +51,7 @@ cc_library(
"@com_github_google_glog//:glog",
"@com_github_gflags_gflags//:gflags",
"@com_github_gperftools_gperftools//:tcmalloc",
"//third_party/kashmir:kashmir-cxx",
"@com_github_corvusoft_kashmir_cpp//:kashmir-cxx",
"@com_google_protobuf//:protobuf",
] + select({
"//tools/platform:darwin": [],
@@ -17,7 +17,7 @@
* under the License.
*/

#include "core/network/misc/echoclient.h"
#include "heron/common/src/cpp/network/misc/echoclient.h"
#include <stdio.h>
#include <iostream>

@@ -46,7 +46,7 @@ void EchoClient::CreateAndSendRequest()
line[strlen(line) - 1] = '\0';
}
} else {
strcpy(buf, "I love you");
snprintf(buf, sizeof(buf), "I love you");
}
std::string tosend(buf);
EchoServerRequest* request = new EchoServerRequest();
@@ -17,7 +17,7 @@
* under the License.
*/

#include "core/network/misc/echoserver.h"
#include "heron/common/src/cpp/network/misc/echoserver.h"
#include <iostream>

EchoServer::EchoServer(EventLoopImpl* eventLoop, const NetworkOptions& _options)
@@ -19,7 +19,7 @@

#include <iostream>

#include "core/network/misc/samplehttpserver.h"
#include "heron/common/src/cpp/network/misc/samplehttpserver.h"
#include "core/common/public/common.h"
#include "core/errors/public/errors.h"
#include "core/threads/public/threads.h"
@@ -18,13 +18,13 @@
*/

#include <iostream>
#include <string>

#include "common/common.h"
#include "errors/errors.h"
#include "threads/threads.h"
#include "network/network.h"
#include "statemgr/heron-zkstatemgr.h"
#include <string>

using heron::common::HeronStateMgr;

This file was deleted.

This file was deleted.

@@ -1,31 +1,3 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

licenses(["notice"])

package(default_visibility = ["//visibility:public"])

include_files = [
"abstractrandomstream.h",
"iofwd.h",
"iostate.h",
"polydevrandom.h",
"randomstream.h",
"devrandom.h",
"uuid.h",
]

cc_library(
name = "kashmir-cxx",
srcs = ["empty.cc"],
hdrs = include_files,
copts = [
"-Ithird_party",
"-I.",
],
linkstatic = 1,
)

filegroup(
name = "kashmir-files",
srcs = include_files,
)

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit ee73293

Please sign in to comment.