Commit 743ee4dd authored by Batalov Vladislav's avatar Batalov Vladislav Committed by Commit Bot

generate_gradle.py: fix closing of 'sourceSets' block.

The 'sourceSets' block adds '{' symbol without any conditions. But related '}' symbol is added under some 'if' statement. So there is set of input params with which 'generate_gradle.py' doesn't closes 'sourceSets'.
The solution is moving '}' under conditions.

R=agrieve@chromium.org

Change-Id: I82a3998cf9e4c06b43eefa43400d084fa3a6d833
Reviewed-on: https://chromium-review.googlesource.com/962445Reviewed-by: default avataragrieve <agrieve@chromium.org>
Commit-Queue: agrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543076}
parent 9f3b732a
...@@ -75,8 +75,8 @@ android { ...@@ -75,8 +75,8 @@ android {
{% for t in android_test %} {% for t in android_test %}
{{ expand_sourceset(t, 'androidTest') }} {{ expand_sourceset(t, 'androidTest') }}
{% endfor %} {% endfor %}
}
{% endif %} {% endif %}
}
defaultConfig { defaultConfig {
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment