add a --deploy flag to build apk#3249
Conversation
|
I recommend we fork Android Devices first since @chinmaygarde is OOO for a bit. I recommend just pointing deploy and develop at the exact same bits for now, we need some separate work to teach the |
| String flxPath, | ||
| ApkKeystoreInfo keystore | ||
| ApkKeystoreInfo keystore, | ||
| bool buildForDeploy: false |
There was a problem hiding this comment.
I probably would have used an enum here instead. Debug and Deploy are the only current options, but Profile is likely in the longer term?
|
Updated to use an enum for the build variants instead of a bool param. |
| String flxPath, | ||
| ApkKeystoreInfo keystore | ||
| ApkKeystoreInfo keystore, | ||
| BuildVariant buildVariant: BuildVariant.develop |
There was a problem hiding this comment.
You might want to make this a require parameter, or you could get strange behavior in the places where it's omitted by mistake?
|
lgtm |
--deploy(and a--develop) flag toflutter build apk. This doesn't do anything right now, but sets the stage for us to implement different build functionality for the two builds.@jason-simmons, @chinmaygarde I think the next step is to start building and uploading
gen_snapshotinto thedarwin-x64google storage bucket, and then using that binary when building the deploy APK, instead of thesky_snapshotbinary. Does that sound right?