Skip to content

Commit

Permalink
Fix a race condition by ensuring that generated Java test sources are…
Browse files Browse the repository at this point in the history
… generated before any translation occurs.

	Change on 2016/04/29 by kstanger <kstanger@google.com>

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=121145905
  • Loading branch information
kstanger authored and Keith Stanger committed May 2, 2016
1 parent f900e31 commit e779fba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jre_emul/tests.mk
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,9 @@ TRANSLATE_ARTIFACT_ARC := $(call emit_translate_rule,\

TRANSLATE_ARTIFACTS = $(TRANSLATE_ARTIFACT) $(TRANSLATE_ARTIFACT_JAVA8) $(TRANSLATE_ARTIFACT_ARC)

# Make sure any generated source files are generated prior to translation.
translate_dependencies: $(COPIED_ARC_TEST_SOURCES:%=$(GEN_JAVA_DIR)/%)

$(TRANSLATED_OBJC): $(TRANSLATE_ARTIFACT)
@:

Expand Down

0 comments on commit e779fba

Please sign in to comment.