aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2015-11-20 15:05:03 +0000
committerNarayan Kamath <narayan@google.com>2015-12-24 10:10:55 +0000
commit20de4fa41cac329781b6f719bfcc9b995be1c5d4 (patch)
treeb53ddb81c15c7386ec9482d6099f680845131259
parent436d0c11175692c9c05f2d47e8b5b2c052525a6b (diff)
downloadbuild-20de4fa41cac329781b6f719bfcc9b995be1c5d4.tar.gz
Allow for 5200 words in dump-words-to-file
After switching to OpenJdk, doc-comment-check target started to fail due to "Too many words (5082)" while generating out/target/common/docs/doc-comment-check-timestamp.rsp This change extends number of dumped words to 5200. Bug: 25758743 (cherry picked from commit 972a2681c6cb1992886195b9e69234ef786cb876) Change-Id: I9b8516d1e7c113d667dcfb7963ee352972677afa
-rw-r--r--core/definitions.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index 5be109ee28..a6218cc45d 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -1756,7 +1756,8 @@ define dump-words-to-file
@$(call emit-line,$(wordlist 4401,4600,$(1)),$(2))
@$(call emit-line,$(wordlist 4601,4800,$(1)),$(2))
@$(call emit-line,$(wordlist 4801,5000,$(1)),$(2))
- @$(if $(wordlist 5001,5002,$(1)),$(error Too many words ($(words $(1)))))
+ @$(call emit-line,$(wordlist 5001,5200,$(1)),$(2))
+ @$(if $(wordlist 5201,5202,$(1)),$(error Too many words ($(words $(1)))))
endef
# For a list of jar files, unzip them to a specified directory,