aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* build: Honor SERVO_ENABLE_DEBUG_ASSERTIONS.Emilio Cobos Álvarez2016-10-021-0/+6
|
* Use default console subsystem on Windows for dev buildsVladimir Vukicevic2016-09-281-3/+5
|
* Create `mach bootstrap` based on Mozilla's mozboot bootstrapperUK9922016-09-071-5/+3
|
* Copy in DLLs to servo.exe dirVladimir Vukicevic2016-08-171-1/+8
|
* Add proper Win32 notification for buildsVladimir Vukicevic2016-08-171-19/+24
|
* Set windows subsystem on MSVC builds with editbinVladimir Vukicevic2016-08-171-24/+33
|
* Run git command only with mach build commandsUK9922016-08-051-3/+3
|
* Fix font metrics and switch to windows subsystemJack Moffitt2016-07-261-0/+3
| | | | | | Currently fonts are using incorrect metrics and the app uses the console subsystem. This patch adds aliases so that font metrics are found and instructs the linker to use the windows subsystem.
* Ensure all env vars are strXidorn Quan2016-07-111-1/+1
| | | | This is necessary for the Python build bundled in MozillaBuild.
* Move ports/geckolib/target to target/geckolibSimon Sapin2016-07-081-1/+1
|
* Remove the "./mach build-stable" subcommandSimon Sapin2016-07-081-37/+0
| | | | It is replaced by "./mach build-gecklibo" using stable Rust.
* Make "./mach geckolib" use the stable Rust compilerSimon Sapin2016-07-081-3/+5
|
* Get the build env before change dirXidorn Quan2016-07-081-1/+2
| | | | Otherwise, build_env may fail to find git information.
* Add mach build-stable to build with stable rustcGabriel Poesia2016-06-301-0/+37
| | | | | | Github issue: #11806 Building with current stable rust (1.9.0) still fails because of feature pragmas in some dependencies (e.g. serde_item).
* mach: Set a nice icon for the binary on the Mac.Patrick Walton2016-06-081-0/+18
| | | | | | | | There's actually a practical reason for this: it helps me pick out the app in Instruments.app. See: http://apple.stackexchange.com/questions/6901/how-can-i-change-a-file-or-folder-icon-using-the-terminal/161984#161984
* Remove the gonk portLars Bergstrom2016-05-271-38/+0
|