aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary define from android build.jdm-patch-32Josh Matthews2018-09-211-1/+0
|
* Do not suppress errors from packaging android build.Josh Matthews2018-09-201-2/+4
|
* Upgraded to SM 60Alan Jeffrey2018-08-201-17/+62
|
* new android port: fix android build and testsPaul Rouget2018-07-311-2/+1
|
* Android: run ./mach package implicitly after ./mach build by defaultSimon Sapin2018-07-161-1/+9
| | | | | | The result of `./mach build` for Android is a `.so` file that cannot be used on its own, so running build without package is presumably never useful.
* Use the bootstraped Android toolchains by defaultSimon Sapin2018-07-021-2/+2
|
* Update mozjs_sys to include cross-compilation fixes.Josh Matthews2018-06-191-3/+7
|
* Support i686-linux-android target.Josh Matthews2018-05-231-0/+1
|
* Remove geckolib-related build commands.Emilio Cobos Álvarez2018-05-171-43/+0
|
* Add icon to servo.exeUK9922018-03-171-3/+0
|
* Drop CEF supportPaul Rouget2018-01-311-58/+1
|
* Use rustup.rs instead of custom bootstrapSimon Sapin2018-01-101-8/+12
| | | | Fixes #11361, closes #18874
* pass -vv through mach to cargotigercosmos2017-12-231-2/+7
|
* Use workspace.default-members to specify default crates for 'cargo build'Simon Sapin2017-12-071-4/+2
| | | | | | | | | | | … and 'cargo test', etc. Include Servo and its unit tests, but not Stylo because that would try to compile the style crate with incompatible feature flags: https://github.com/rust-lang/cargo/issues/4463 `workspace.default-members` was added in https://github.com/rust-lang/cargo/pull/4743. Older Cargo versions ignore it.
* enhance android build debug infotigercosmos2017-11-121-0/+11
|
* remove unused scripttigercosmos2017-11-091-1/+0
|
* Auto merge of #19017 - tigercosmos:test, r=jdmbors-servo2017-11-031-11/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Print the full path for errors occurring in the servo crate <!-- Please describe your changes on the following line: --> `Cargo` will print the path where it runs. Origin python script `cd` into the crate folder, so the root path is set in the crate. Now I use `--manifest-path PATH` to `cargo build`, so the root path is at `servo`. Origin path in error message: ``` error: expected one of `!` or `::`, found `#` --> lib.rs:24:1 ``` Now it would be: ``` error: expected one of `!` or `::`, found `use` --> ports/geckolib/glue.rs:11:1 ``` --- <!-- 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` does not report any errors - [X] These changes fix #9895 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19017) <!-- Reviewable:end -->
| * Print the full path for errors occurring in the servo cratetigercosmos2017-11-031-11/+11
| |
* | Check if the NDK version is 12tigercosmos2017-11-031-0/+8
|/
* CEF: use `cargo rustc -C link-args=...` instead of `#[link_args="..."]`Simon Sapin2017-10-161-2/+8
| | | | The latter is an unstable feature that might be changed or removed.
* Don't do gecko_debug build in build-geckolibXidorn Quan2017-10-051-2/+0
|
* Auto merge of #18680 - MortimerGoro:android_flavors, r=larsbergstrombors-servo2017-09-301-0/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Gradle flavors for Android VR compilations <!-- Please describe your changes on the following line: --> This PR adds support to easily generate Android VR builds. Rust/Java VR dependencies are not added by default. Default build (No VR support) ``` ./mach build --release --android ./mach package --release --android ./mach install --release --android ``` GoogleVR builds (e.g. Daydream) ``` ./mach build --release --android --features googlevr ./mach package --release --android --flavor googlevr ./mach install --release --android ``` OculusVR builds (e.g. Gear VR) ``` ./mach build --release --android --features oculusvr ./mach package --release --android --flavor oculusvr ./mach install --release --android ``` --- <!-- 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` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18680) <!-- Reviewable:end -->
| * Implement Gradle flavorsImanol Fernandez2017-09-301-0/+5
| |
* | mach: Don't overwrite RUSTFLAGS when enabling debug assertionsMatt Brubeck2017-09-291-1/+1
|/
* Fix Android build errors on macOS.John Lin2017-08-101-0/+3
| | | | | | | | | | | | - Add sysroot path to environment variable 'CPPFLAGS': When checking C preprocessor, the 'configure' script of libbacktrace uses 'CPPFLAGS' rather than 'CFLAGS' and doesn't get the correct search path. (#15758) This check passes on Linux because the '/lib/cpp' fallback is available there. - Introduce CMake toolchain file for Android cross compiling: CMake needs several variables [1] to cross compile for Android. It works (accidentally) on Linux because cmake-rs sets compilers correctly and binutils for Linux & Android are pretty much the same. [1] https://cmake.org/cmake/help/v3.7/manual/cmake-toolchains.7.html#cross-compiling-for-android-with-the-ndk
* Support for Android arm64 compilationsImanol Fernandez2017-07-051-4/+5
|
* Changed the openssl url and bumped the version. Refactored the openssl.sh ↵Jeremy Lempereur2017-06-121-1/+2
| | | | script to avoid version duplication in the code.
* Remove --with-gecko from build-geckolib because it is not usable.Xidorn Quan2017-05-191-7/+1
|
* Auto merge of #16769 - MortimerGoro:android_archs, r=larsbergstrombors-servo2017-05-131-2/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support for Android armv7 and aarch64 target triples <!-- Please describe your changes on the following line: --> Support for Android armv7 and aarch64 target triples in python build scripts (build + packaging) `--android` build parameter works as always (arm-linux-androideabi still the default) `./mach build --release --android` New compilation modes for android `./mach build --release --target=arm-linux-androideabi` `./mach build --release --target=armv7-linux-androideabi` `./mach build --release --target=aarch64-linux-android` See https://github.com/servo/servo/issues/11921. When all crates are ready we'll switch default android compilations to` armv7-linux-androideabi` target triple. --- <!-- 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` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16769) <!-- Reviewable:end -->
| * Support for Android armv7 and aarch64 target triplesImanol Fernandez2017-05-081-2/+11
| |
* | Add clobber mechanismUK9922017-05-081-4/+7
| |
* | Stop touching in-tree files from build-geckolib.Xidorn Quan2017-05-081-19/+1
|/ | | | | | This stops: * generating atom helper files from regen_atoms.py * copying generated binding files to in-tree
* switch gecko_bindings over to the gecko_debug featureNathan Froyd2017-04-221-1/+7
| | | | | ...so that they use the correct Gecko structs regardless of whether Rust code is being compiled with debug assertions or not.
* Remove more deprecated Windows GNU code/docsAneesh Agrawal2017-04-161-16/+12
|
* Fix setting Servo icon on macOSAneesh Agrawal2017-04-161-13/+13
| | | | | | Originally introduced in PR #11646, this appears to have been accidentally broken by commit 82df8e9399cad363ba2ff1fbe5350327935d8289.
* Add cargo-geckolib and rustc-geckolib commands to mach.Simon Sapin2017-04-051-2/+1
|
* Update Hyper and OpenSSLddh2017-03-311-1/+1
|
* Create a util.py Python module for common functionsAneesh Agrawal2017-01-151-1/+2
| | | | | Extracting these functions helps avoid circular dependencies, and make them easier to find/reuse.
* Add config to do desktop notifications by running an abitrary command.Simon Sapin2017-01-131-14/+29
|
* Expand ~ in --with-gecko for ./mach build-geckolibManish Goregaokar2017-01-091-1/+1
|
* stylo: Copy binding files even if the build failed.Emilio Cobos Álvarez2016-12-251-1/+1
| | | | It's easier to stash the changes away than to find the generated files.
* Update atoms when build geckolib with geckoXidorn Quan2016-12-161-0/+8
|
* Auto-update in-tree bindingsXidorn Quan2016-12-151-2/+12
|
* Do build-time bindgenXidorn Quan2016-12-101-4/+10
| | | | | | | Majority of build_gecko.rs is just the straightforward conversion from regen.py. There are two differences that: 1. Side in whitelist is changed to mozilla::Side 2. std::atomic__My_base is added to opaque types for Windows
* Revert temporary commit used to debug something in #14225Anthony Ramine2016-11-271-1/+1
| | | | This reverts commit a3f1267d70f278242dc4de35839b52866f51d2f6.
* WIPAnthony Ramine2016-11-271-1/+1
|
* Move the servo binary to ports.Ms2ger2016-11-161-2/+2
|
* Add --with-debug-assertions flag for MachRohit Burra2016-11-051-10/+14
|
* Update to use the new Android library build rules.Mátyás Mustoha2016-10-281-0/+32
|
* Ensure that SERVO_ENABLE_DEBUG_ASSERTIONS is also used in build-cefLars Bergstrom2016-10-051-1/+10
|