Returns the necessary exports for the specified platform. If no 32 or 64-bit version of the exports exists, it returns the version that doesn't specify bit depth.
(int platform, String variant)
| 418 | * that doesn't specify bit depth. |
| 419 | */ |
| 420 | public String[] getApplicationExportList(int platform, String variant) { |
| 421 | String platformName = PConstants.platformNames[platform]; |
| 422 | if (variant.equals("32")) { |
| 423 | String[] pieces = exportList.get(platformName + "32"); |
| 424 | if (pieces != null) return pieces; |
| 425 | } else if (variant.equals("64")) { |
| 426 | String[] pieces = exportList.get(platformName + "64"); |
| 427 | if (pieces != null) return pieces; |
| 428 | } else if (variant.equals("armv6hf")) { |
| 429 | String[] pieces = exportList.get(platformName + "-armv6hf"); |
| 430 | if (pieces != null) return pieces; |
| 431 | } else if (variant.equals("arm64")) { |
| 432 | String[] pieces = exportList.get(platformName + "-arm64"); |
| 433 | if (pieces != null) return pieces; |
| 434 | } |
| 435 | return exportList.get(platformName); |
| 436 | } |
| 437 | |
| 438 | |
| 439 | public File[] getAndroidExports() { |
no test coverage detected