OSDN Git Service

Allow for 5400 words in dump-words-to-file
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>
Wed, 24 Feb 2016 12:07:21 +0000 (12:07 +0000)
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>
Fri, 18 Mar 2016 12:09:44 +0000 (12:09 +0000)
After adding java.util.stream,  doc-comment-check target
started to fail due to "Too many words" while
generating out/target/common/docs/doc-comment-check-timestamp.rsp
This change extends number of dumped words to 5400.

Bug: 27692239
Change-Id: Ifa75cada7b90c5737fc7a1d10325f3a49a2238ac

core/definitions.mk

index f3d981a..df9cfec 100644 (file)
@@ -1918,7 +1918,8 @@ define dump-words-to-file
         @$(call emit-line,$(wordlist 4601,4800,$(1)),$(2))
         @$(call emit-line,$(wordlist 4801,5000,$(1)),$(2))
         @$(call emit-line,$(wordlist 5001,5200,$(1)),$(2))
-        @$(if $(wordlist 5201,5202,$(1)),$(error Too many words ($(words $(1)))))
+        @$(call emit-line,$(wordlist 5201,5400,$(1)),$(2))
+        @$(if $(wordlist 5401,5402,$(1)),$(error Too many words ($(words $(1)))))
 endef
 
 # For a list of jar files, unzip them to a specified directory,