mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 1099345 - Do not run the Android SDK code generator tool in parallel r=nalexander
This commit is contained in:
parent
74313d0f7e
commit
56ad1aaa3b
@ -2,6 +2,10 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# Bug 1099345 - The SDK's lint code (used by the code generator) does not enjoy
|
||||
# concurrent access to a cache that it generates.
|
||||
.NOTPARALLEL:
|
||||
|
||||
annotation_processor_jar_files := $(DEPTH)/build/annotationProcessors/annotationProcessors.jar:$(ANDROID_TOOLS)/lib/lint.jar:$(ANDROID_TOOLS)/lib/lint-checks.jar
|
||||
|
||||
sdk_processor := \
|
||||
@ -15,7 +19,7 @@ sdk_processor := \
|
||||
# MediaCodec-classes.txt. This formulation invokes the SDK processor
|
||||
# at most once.
|
||||
|
||||
%.cpp %.h: $(ANDROID_SDK)/android.jar %-classes.txt FORCE
|
||||
%.cpp %.h: $(ANDROID_SDK)/android.jar %-classes.txt
|
||||
$(sdk_processor) $(ANDROID_SDK)/android.jar $(srcdir)/$*-classes.txt $(CURDIR) $* 16
|
||||
|
||||
# We'd like these to be defined in a future GENERATED_EXPORTS list.
|
||||
|
Loading…
Reference in New Issue
Block a user