Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upfactor out references to the android SDK target into an env variable #8519
Conversation
| @@ -182,6 +182,9 @@ def package(self, params, release=False, dev=False, debug=False, debugger=None): | |||
| target_dir = path.join(self.get_target_dir(), "arm-linux-androideabi") | |||
| dev_flag = "" | |||
|
|
|||
| # Set the Android SDK version target | |||
| env['ANDROID_TARGET'] = 'android-18' | |||
This comment has been minimized.
This comment has been minimized.
|
@bors-servo r+ I think we can factor this out into a setting or argument later. If we end up producing builds for multiple android target versions (as Fennec does today!) we'll need to be able to set it as an argument on the build machines, which don't use .servobuild today. |
|
|
factor out references to the android SDK target into an env variable for #8348 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8519) <!-- Reviewable:end -->
|
|
|
|
@jdm I'm unable to repro this. How do I do so? |
|
Maybe @larsbergstrom has an idea? |
|
I will try this locally and see if I can repro it! Sorry for the delay. |
|
Very strange! |
|
This does not repro on the builder, either, with this branch and an identical environment. I'd like to give this a retry, in case it's something related to our often-flaky OpenSSL build process (we download and extract a tarball, and it frequently causes issues). @bors-servo retry |
factor out references to the android SDK target into an env variable for #8348 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8519) <!-- Reviewable:end -->
|
|
|
|
|
Well, at least it's reproducible! I'll try to repro harder :-) |
|
Ha! Managed to repro it. Need to Let me know if you'd like me to help with tracking down the issue, and sorry it took me so long to figure out how to repro! I totally forgot that we build openssl in-tree. I should open issues for us to move our in-tree builds to the target directory... |
|
@wenderen Do you need any assistance with this PR? |
|
Closing due to lack of updates. |
Reduce 'android-18' duplication by putting $ANDROID_TARGET into env variable Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [x] These changes fix #8348 Either: - [X] These changes do not require tests because ~~I'm lazy~~ it's a configuration change, and asserting default values is usually tedious and not very helpful Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --- Allegedly, this broke the build [back in the day](#8519). Going to see if it's a piece of cake to land now <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11278) <!-- Reviewable:end -->
Reduce 'android-18' duplication by putting it in $ANDROID_TARGET env variable Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [x] These changes fix #8348 Either: - [X] These changes do not require tests because ~~I'm lazy~~ it's a configuration change, and asserting default values is usually tedious and not very helpful Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --- Allegedly, this broke the build [back in the day](#8519). Going to see if it's a piece of cake to land now <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11278) <!-- Reviewable:end -->
Reduce 'android-18' duplication by putting it in $ANDROID_TARGET env variable Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [x] These changes fix #8348 Either: - [X] These changes do not require tests because ~~I'm lazy~~ it's a configuration change, and asserting default values is usually tedious and not very helpful Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --- Allegedly, this broke the build [back in the day](#8519). Going to see if it's a piece of cake to land now <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11278) <!-- Reviewable:end -->
…n $ANDROID_TARGET env variable (from mitchhentges:8348-reduce-duplication); r=aneeshusa Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [x] These changes fix #8348 Either: - [X] These changes do not require tests because ~~I'm lazy~~ it's a configuration change, and asserting default values is usually tedious and not very helpful Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --- Allegedly, this broke the build [back in the day](servo/servo#8519). Going to see if it's a piece of cake to land now Source-Repo: https://github.com/servo/servo Source-Revision: ea38ccfdfe12c64d41ff460f358e21cafead8414 UltraBlame original commit: a6e87c598f895de38888f2ae1c4ea298abfca885
…n $ANDROID_TARGET env variable (from mitchhentges:8348-reduce-duplication); r=aneeshusa Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [x] These changes fix #8348 Either: - [X] These changes do not require tests because ~~I'm lazy~~ it's a configuration change, and asserting default values is usually tedious and not very helpful Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --- Allegedly, this broke the build [back in the day](servo/servo#8519). Going to see if it's a piece of cake to land now Source-Repo: https://github.com/servo/servo Source-Revision: ea38ccfdfe12c64d41ff460f358e21cafead8414 UltraBlame original commit: a6e87c598f895de38888f2ae1c4ea298abfca885
…n $ANDROID_TARGET env variable (from mitchhentges:8348-reduce-duplication); r=aneeshusa Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [x] These changes fix #8348 Either: - [X] These changes do not require tests because ~~I'm lazy~~ it's a configuration change, and asserting default values is usually tedious and not very helpful Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --- Allegedly, this broke the build [back in the day](servo/servo#8519). Going to see if it's a piece of cake to land now Source-Repo: https://github.com/servo/servo Source-Revision: ea38ccfdfe12c64d41ff460f358e21cafead8414 UltraBlame original commit: a6e87c598f895de38888f2ae1c4ea298abfca885
ajnirp commentedNov 13, 2015
fixes #8348