| OLD | NEW |
| 1 // Top-level build file where you can add configuration options common to all su
b-projects/modules. | 1 // Top-level build file where you can add configuration options common to all su
b-projects/modules. |
| 2 | 2 |
| 3 | 3 |
| 4 buildscript { | 4 buildscript { |
| 5 repositories { | 5 repositories { |
| 6 jcenter() | 6 jcenter() |
| 7 } | 7 } |
| 8 dependencies { | 8 dependencies { |
| 9 classpath 'com.android.tools.build:gradle:2.1.0' | 9 classpath 'com.android.tools.build:gradle:2.1.0' |
| 10 | 10 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 deviceType = "mips64" | 104 deviceType = "mips64" |
| 105 } | 105 } |
| 106 | 106 |
| 107 if (deviceType != null) { | 107 if (deviceType != null) { |
| 108 cmdLine += " -d " + deviceType | 108 cmdLine += " -d " + deviceType |
| 109 } | 109 } |
| 110 | 110 |
| 111 if (variant.name.endsWith("Release")) { | 111 if (variant.name.endsWith("Release")) { |
| 112 cmdLine += " --release" | 112 cmdLine += " --release" |
| 113 } | 113 } |
| 114 |
| 115 if (variant.name.indexOf("vulkan") != -1) { |
| 116 cmdLine += " --vulkan" |
| 117 } |
| 114 return cmdLine | 118 return cmdLine |
| 115 } | 119 } |
| OLD | NEW |