Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ $ mvn install -pl codec-http2 -am -DskipTests=true
```

### Build Protobuf
The codegen plugin requires protobuf 3.0.0-alpha-2.
The codegen plugin is C++ code and requires protobuf 3.0.0-alpha-2.

If you are not changing the codegen plugin, nor any of the ``.proto`` files in
the source tree, you can skip this chapter and add ``grpc.skip.codegen=true``
to ``$HOME/.gradle/gradle.properties``. It will make the build script skip the
build and invocation of the codegen, and use generated code that has been
checked in.

For Linux, Mac and MinGW:
```
Expand Down Expand Up @@ -47,8 +53,8 @@ $ sudo ldconfig

#### Mac
Some versions of Mac OS X (e.g., 10.10) doesn't have ``/usr/local`` in the
default search paths for header files and libraries. You will need to set
environment variables:
default search paths for header files and libraries. It will fail the build of
the codegen. To work around this, you will need to set environment variables:
```
$ export CXXFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
```
Expand Down
10 changes: 1 addition & 9 deletions benchmarks/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
apply plugin: 'application'
apply plugin: 'com.google.protobuf'


description = "grpc Benchmarks"

Expand Down Expand Up @@ -46,7 +44,7 @@ dependencies {
alpnboot alpnboot_package_name
}


configureProtoCompilation()

task qps_client(type: CreateStartScripts) {
mainClassName = "io.grpc.benchmarks.qps.AsyncClient"
Expand Down Expand Up @@ -79,12 +77,6 @@ applicationDistribution.into("bin") {
fileMode = 0755
}

protobufCodeGenPlugins = ["java_plugin:$javaPluginPath"]

project.afterEvaluate {
generateProto.dependsOn ':grpc-compiler:java_pluginExecutable'
}

// Allow intellij projects to refer to generated-sources
idea {
module {
Expand Down
Loading