Commit bfa68866 by bachinger Committed by Andrew Lewis

Wrap expression in paranthesis

When I locally link to exoplayer source modules as described in the README and I
do this directly into a fig/citc client, I get an error saying
"missing_aar_type_workaround.gradle': 79: unexpected token: || @ line 79, column
29.". I can fix this by wrapping the expression in parenthesis (¯\_(ツ)_/¯).

I don't think this file lands in the public source tree, but if we want to
correct this, it may help someone from the team.

This CL can be ignored and reverted also.

PiperOrigin-RevId: 424537619
parent 5d7641c6
Showing with 2 additions and 2 deletions
...@@ -74,8 +74,8 @@ def addMissingAarTypeToXml(xml) { ...@@ -74,8 +74,8 @@ def addMissingAarTypeToXml(xml) {
boolean hasJar = boolean hasJar =
jar_only_dependencies.contains(dependencyName) jar_only_dependencies.contains(dependencyName)
boolean hasAar = boolean hasAar =
isProjectLibrary (isProjectLibrary
|| aar_dependencies.contains(dependencyName) || aar_dependencies.contains(dependencyName))
if (!hasJar && !hasAar) { if (!hasJar && !hasAar) {
throw new IllegalStateException( throw new IllegalStateException(
dependencyName + " is not on the JAR or AAR list in missing_aar_type_workaround.gradle") dependencyName + " is not on the JAR or AAR list in missing_aar_type_workaround.gradle")
......
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 sign in to comment