提交 95034210 编写于 作者: D Dong Li

Merge remote-tracking branch 'apollo_1.5' into apollo

要显示的变更太多。

To preserve performance only 1000 of 1000+ files are displayed.
# Bazel
bazel-apollo
bazel-apollo_dev
bazel-bin
bazel-genfiles
bazel-out
......@@ -7,6 +8,8 @@ bazel-testlogs
/Debug/
*.pyc
WORKSPACE
# temporary files
*.swp
# javascript
*bundle.js
......@@ -15,6 +18,7 @@ node_modules
# generated files
generatedViews
generatedScripts
modules/common/data/ssl_keys
# database/log files
*.sqlite
dreamview.log
......@@ -26,6 +30,9 @@ npm-debug.log
.settings
.classpath
# Vscode files
.vscode
# atom.io files
*.gch
......@@ -54,6 +61,24 @@ data/log
data/core
data/bag
data/cov
data/pcd
# Doxygen
docs/doxygen
# Esd can lib
third_party/can_card_library/esd_can/include
third_party/can_card_library/esd_can/lib
# Map data files
modules/map/data
# python proto
py_proto
# gnss conf files
modules/drivers/gnss/conf/conf_beijing
modules/drivers/gnss/conf/conf_us
# calibration files
modules/calibration/data/mkz056
......@@ -19,7 +19,7 @@ Many build problems are related to the environment settings.
1. Run the script to get your environment: `bash scripts/env.sh >& env.txt`
2. Provide the content of env.txt in your post.
## Which ports need be white list to run Apollo in public cloud instance?
## Which ports must be whitelisted to run Apollo in a public cloud instance?
Use these ports for HMI and Dreamview:
- 8887: HMI
- 8888: Dreamview
......
......@@ -40,97 +40,6 @@ new_http_archive(
url = "https://github.com/google/benchmark/archive/v1.1.0.tar.gz",
)
# proto rules (Protobuf and GRPC)
http_archive(
name = "org_pubref_rules_protobuf",
sha256 = "646b39438d8eeba02d9af890dee444c7e4e9d08ae8611bc0e0621257010162db",
strip_prefix = "rules_protobuf-0.7.1",
url = "https://github.com/pubref/rules_protobuf/archive/v0.7.1.tar.gz",
)
load("@org_pubref_rules_protobuf//cpp:rules.bzl", "cpp_proto_repositories")
cpp_proto_repositories(
lang_deps = {
# Grpc repo is required by multiple languages but we put it here.
"com_github_grpc_grpc": {
"rule": "git_repository",
"remote": "https://github.com/grpc/grpc.git",
"init_submodules": True,
"commit": "3808b6efe66b87269d43847bc113e94e2d3d28fb",
#"tag": "v1.0.1",
},
# Hooray! The boringssl team provides a "chromium-stable-with-bazel" branch
# with all BUILD files ready to go.
"boringssl": {
"rule": "http_archive",
"url": "https://github.com/wanglei828/third-party/raw/master/chromium-stable-with-bazel.zip",
},
# libssl is required for c++ grpc where it is expected in
# //external:libssl. This can be either boringssl or openssl.
"libssl": {
"rule": "bind",
"actual": "@boringssl//boringssl-chromium-stable-with-bazel:ssl",
},
# C-library for zlib
"com_github_madler_zlib": {
"rule": "new_git_repository",
"remote": "https://github.com/madler/zlib",
"tag": "v1.2.8",
"build_file": "third_party/com_github_madler_zlib.BUILD",
},
# grpc++ expects //external:zlib
"zlib": {
"rule": "bind",
"actual": "@com_github_madler_zlib//:zlib",
},
# grpc++ expects "//external:protobuf_clib"
"protobuf_clib": {
"rule": "bind",
"actual": "@com_github_google_protobuf//:protobuf",
},
# grpc++ expects //external:nanopb
"nanopb": {
"rule": "bind",
"actual": "@com_github_grpc_grpc//third_party/nanopb",
},
# Bind the executable cc_binary grpc plugin into
# //external:protoc_gen_grpc_cpp. Expects
# //external:protobuf_compiler. TODO: is it really necessary to
# bind it in external?
"protoc_gen_grpc_cpp": {
"rule": "bind",
"actual": "@com_github_grpc_grpc//:grpc_cpp_plugin",
},
# Bind the protobuf proto_lib into //external. Required for
# compiling the protoc_gen_grpc plugin
"protobuf_compiler": {
"rule": "bind",
"actual": "@com_github_google_protobuf//:protoc_lib",
},
# GTest is for our own internal cc tests.
"gtest": {
"rule": "new_git_repository",
"remote": "https://github.com/google/googletest.git",
"commit": "ed9d1e1ff92ce199de5ca2667a667cd0a368482a",
"build_file": "third_party/protobuf_gtest.BUILD",
},
},
)
load("@org_pubref_rules_protobuf//python:rules.bzl", "py_proto_repositories")
py_proto_repositories()
# cpplint from google style guide
new_git_repository(
name = "google_styleguide",
......@@ -171,5 +80,93 @@ new_http_archive(
name = "ros",
build_file = "third_party/ros.BUILD",
strip_prefix = "ros",
url = "https://github.com/ApolloAuto/apollo-platform/releases/download/1.0.0/ros-indigo-apollo-1.0.0.MACHINE_ARCH.tar.gz",
url = "https://github.com/ApolloAuto/apollo-platform/releases/download/1.5.0/ros-indigo-apollo-1.5.0-MACHINE_ARCH.tar.gz",
)
# OpenCV 2.4.13.2
new_http_archive(
name = "opencv2",
build_file = "third_party/opencv2.BUILD",
strip_prefix = "opencv-2.4.13.2",
url = "https://github.com/opencv/opencv/archive/2.4.13.2.zip",
)
# PCL 1.7
# =======
# This requires libpcl-dev to be installed in your Ubuntu/Debian.
new_local_repository(
name = "pcl",
build_file = "third_party/pcl.BUILD",
path = "/usr/local/include/pcl-1.7",
)
new_local_repository(
name = "glew",