Skip to content

Commit

Permalink
fix: build architectures needed only for cpp projects
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Jan 15, 2025
1 parent 4c046a2 commit bb9a25a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ buildscript {
}
}

<% if (project.cpp) { -%>
def reactNativeArchitectures() {
def value = rootProject.getProperties().get("reactNativeArchitectures")
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
}
<% } -%>

def isNewArchitectureEnabled() {
return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true"
Expand Down

0 comments on commit bb9a25a

Please sign in to comment.