Ver código fonte

Add ignore android flag in performance README.md

The tools/run_tests/performance/README.md provides an example to run workers in Java.  However, this example does not work out of the box, because the Java build requires an Android SDK. This change adds a Gradle flag `-PskipAndroid=true` to the existing example, allowing it to work as intended.
Ben Reed 5 anos atrás
pai
commit
866f93e3c8
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      tools/run_tests/performance/README.md

+ 1 - 1
tools/run_tests/performance/README.md

@@ -48,7 +48,7 @@ $ tools/run_tests/performance/run_worker_<language>.sh
 
 
 ```
 ```
 $ cd <grpc-java-repo>
 $ cd <grpc-java-repo>
-$ ./gradlew -PskipCodegen=true :grpc-benchmarks:installDist
+$ ./gradlew -PskipCodegen=true -PskipAndroid=true :grpc-benchmarks:installDist
 $ benchmarks/build/install/grpc-benchmarks/bin/benchmark_worker --driver_port <driver_port>
 $ benchmarks/build/install/grpc-benchmarks/bin/benchmark_worker --driver_port <driver_port>
 ```
 ```