Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazel: additional build targets and tests (#415). #617

Merged
merged 3 commits into from
Mar 24, 2017

Conversation

htuch
Copy link
Member

@htuch htuch commented Mar 24, 2017

This takes us to ~65% of targets. I've switched to machine generating the BUILD files based on
header analysis, the Envoy file naming conventions and a hardcoded list of exceptions. The remaining
targets should be much faster.

This takes us to ~65% of targets. I've switched to machine generating the BUILD files based on
header analysis, the Envoy file naming conventions and a hardcoded list of exceptions. The remaining
targets should be much faster.
@htuch
Copy link
Member Author

htuch commented Mar 24, 2017

@lizan @PiotrSikora for review.

@@ -4,6 +4,7 @@ load("//bazel:envoy_build_system.bzl", "envoy_cc_library")

envoy_cc_library(
name = "common_lib",
testonly = 1,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason to use envoy_cc_library with testonly = 1 here instead of envoy_cc_test_library?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wrote that rule before I added envoy_cc_test_library :) Fixed.

@@ -29,6 +29,7 @@ def envoy_include_prefix(path):

# Envoy C++ library targets should be specified with this function.
def envoy_cc_library(name,
testonly = 0,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this option is never used.

@mattklein123 mattklein123 merged commit e64489f into envoyproxy:master Mar 24, 2017
@htuch htuch deleted the build-test-next branch March 31, 2017 16:30
rshriram pushed a commit to rshriram/envoy that referenced this pull request Oct 30, 2018
* Creating a Makefile for global build

* Remove unecessary env and calls

* Update date on license

* Fix Jenkinsfile
wolfguoliang pushed a commit to wolfguoliang/envoy that referenced this pull request Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants