Commit Graph

957 Commits

Author SHA1 Message Date
Kartikaya Gupta
9a782e4376 Bug 1335525 - Update libgkrust to include webrender as an optional feature. r=froydnj
MozReview-Commit-ID: 8usfSqFWkZ0
2017-02-06 11:42:52 -05:00
Kartikaya Gupta
85aad79ed8 Bug 1336549 - Update third-party vendored crates required by mozjs_sys. r=fitzgen,rillian
This updates the following third-party dependencies of mozjs_sys:
    gcc v0.3.40 -> v0.3.42
    libc v0.2.18 -> v0.2.20
    libz-sys v1.0.10 -> v1.0.12
    pkg-config v0.3.8 -> v0.3.9

Since libc is updated, we also need to update the gkrust lockfiles to use the
new version, because leaving it at 0.2.18 will result in improper vendoring of
the crates (see bug 1336528). None of the other mozjs_sys crates are shared by
gkrust.

MozReview-Commit-ID: 5FHELF8YKD0
2017-02-03 16:36:06 -05:00
Gregory Szorc
345f97d74a Bug 1322769 - Move dummy geckolib to toolkit/library, change taskgraph detection; r=froydnj
I want to get Servo vendored into servo/. The previous plan was to
replace the dummy geckolib with the real deal when the vendoring is
done. Unfortunately, this will require a significant `cargo vendor`
change, which we want to punt on for a bit.

So, this commit moves our dummy geckolib outside of servo/ so we
don't need to `cargo update` or `cargo vendor` when the real servo/
is installed.

The change to toolkit/library/rust/shared/Cargo.toml can be reverted
in the stylo repo to allow it to use the real geckolib.

We also update the taskgraph code for detecting Servo. Previously,
it looked for a file in the possibly-vendored servo/ directory. Once
the vendoring happens, this check will always pass. But without the
real geckolib, the Servo builds will fail. So, we change the check
to look for the real geckolib. This is implemented a bit hackily.
But it will be short-lived until we run `cargo vendor`.

MozReview-Commit-ID: CxGTwy6bK9j
2017-02-03 11:20:14 -08:00
Gregory Szorc
fdf15ed263 Bug 1322769 - Declare servo rust feature properly; r=manishearth
268fa5f3bc25 grafted an old patch to define --features=servo in
rules.mk. That patch was written before RUST_LIBRARY_FEATURES
existed. This commit fixes it up.

MozReview-Commit-ID: L5atm5CsP8d
2017-02-02 16:32:54 -08:00
Gregory Szorc
39893e0a0c Bug 1322769 - Add a "servo" feature; r=manishearth
MozReview-Commit-ID: A9dNTxNkl39
2017-02-02 15:30:16 -08:00
Benjamin Smedberg
3a243797b4 Bug 1333826 - Remove SDK_FILES, SDK_LIBRARY, and related is_sdk support in the build goop, r=mshal
MozReview-Commit-ID: 52vPyDXdFte
2017-01-30 11:24:10 -05:00
Nathan Froyd
a7d54fb226 Bug 1334717 - move geckoservo library to proper servo path; r=gps 2017-01-27 19:33:15 -05:00
Masatoshi Kimura
faf8fd06e3 Bug 1325299 - Don't explicitly set PSAPI_VERSION. r=glandium
WINVER=0x0601 implies PSAPI_VERSION=2. We should not mix PSAPI_VERSION.

MozReview-Commit-ID: Ckxel4JNW2x
2016-12-30 01:29:52 +09:00
Jim Mathies
f22505651c Bug 1294650 - Install shim 'qipcap' dlls into the Firefox folder to circumvent dll injection by the 3rd party Websense product. r=aklotz a=ritu
CLOSED TREE
MozReview-Commit-ID: 11qJbfim7Lm
2016-08-22 06:53:38 -05:00
Valentin Gosu
1bf48df871 Bug 1339809 - Update rust-url to version 1.4.0 r=froydnj
MozReview-Commit-ID: 90Pe9sh91S5
2017-02-15 16:05:11 +01:00
Servo VCS Sync
50ba3ee7a7 No bug - Revendor rust dependencies 2017-04-25 00:10:45 +00:00
nfroyd@mozilla.com
89a52c8ccc Bug 1302028 - part 7 - conditionally add bindgen features to gkrust* libraries; r=gps 2017-01-20 16:33:04 +00:00
nfroyd@mozilla.com
6371bcde57 Bug 1302028 - part 5 - add bindgen feature to gecko-side Cargo.toml files for propagation to geckoservo; r=Manishearth 2017-01-20 16:33:04 +00:00
Aaron Klotz
8ce659338e Bug 1331738: Include mozilla-config.h in xulrunner.rc; r=tbsaunde
MozReview-Commit-ID: 2YSVJGmZnU0
2017-01-17 14:12:17 -07:00
Alfredo.Yang
ad92585014 Bug 1328221 - Support GASpecificConfig audio channel in rust mp4 parser. r=rillian
MozReview-Commit-ID: IQKxtjatU9J
2017-01-11 09:03:30 +08:00
Trevor Saunders
1a85ebd84b bug 1301148 - add custom gecko interface r=aklotz, mshal 2017-01-05 10:48:09 -05:00
Masatoshi Kimura
621a8e01e7 Bug 1317569 - Unship d3dcompiler_43.dll. r=glandium
MozReview-Commit-ID: DSOOKc94wNV
2016-11-15 06:56:01 +09:00
Alfredo.Yang
d08397869b Bug 1323390 - Support audio profile in mp4 rust parser. r=kinetik
MozReview-Commit-ID: DLfLdgvc7B1
2016-12-14 16:01:43 +08:00
Ralph Giles
914fb8285c Bug 1324920 - Update mozjs_sys vendored crates. r=fitzgen,sfink
Update the vendored third-party dependencies for the mozjs-sys crate.
This picks up recent bug-fixes and reduces noise in unrelated runs
of 'mach vendor'.

The libc crate is also used by the rust url parser.

gcc 0.3.35 -> 0.3.40
libc 0.2.16 -> 0.2.18
libz-sys 1.0.6 -> 1.0.10

MozReview-Commit-ID: 5ri4nOtQQ1n
2016-12-20 14:24:05 -08:00
sotaro
0c1f9803d7 Bug 1324338 - Remove static link to GLES lib on android r=snorp 2016-12-21 10:22:13 +09:00
Manish Goregaokar
edf1a99641 Bug 1324193 - Bump rust-url to 1.2.4; r=valentin
MozReview-Commit-ID: 2EBQs6hIpku
2016-12-17 03:03:35 -08:00
Michael Layzell
793fec5817 Bug 1318428 - Use the nsstring bindings in rust-url-capi, r=valentin
This patch also drops the pretense that rust-url-capi will be used from
outside of c++, or that it will be used outside of mozilla-central,
removing the ifdef __cplusplus code, and including the C++ header
"nsString.h".

MozReview-Commit-ID: BULhHf3DObe
2016-11-24 12:23:09 -05:00
Alfredo.Yang
482a0af2b7 Bug 1313556 - update rust parser for pssh parsing. r=rillian
MozReview-Commit-ID: KH8K7mizUHl
2016-11-10 14:50:30 +08:00
Ralph Giles
bd485e5f14 Bug 1314460 - Update rust mp4parse to v0.6.0. r=kinetik
Result of running the update script.

MozReview-Commit-ID: 4rqFqaFJ028
2016-11-01 16:07:32 -07:00
Michelangelo De Simone
78f700fcaa Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
MozReview-Commit-ID: IEhwzzBgb3x
2016-10-28 14:25:23 -07:00
Manish Goregaokar
2bbb804b70 Bug 1151899 - Include rust-url-capi (leave-open); r=valentin,ted
MozReview-Commit-ID: 1ITlPLvwzF4
2016-10-28 16:34:21 -07:00
Wes Kocher
1c352761ca Backed out 2 changesets (bug 1151899) for build bustage a=backout
Backed out changeset 7b5270bac41b (bug 1151899)
Backed out changeset 62f38c70d152 (bug 1151899)
2016-10-28 14:27:45 -07:00
Manish Goregaokar
a403b3dc6b Bug 1151899 - Include rust-url-capi; r=valentin,ted
MozReview-Commit-ID: 1ITlPLvwzF4
2016-10-28 14:03:13 -07:00
Ted Mielczarek
0107767589 bug 1305731 - Revert workaround from bug 1301751 now that we have updated to Rust 1.12. r=froydnj
MozReview-Commit-ID: 3akbELExfKT
2016-10-17 10:47:30 -04:00
Carsten "Tomcat" Book
da6994b77d merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
Nathan Froyd
8a3ac73ffd Bug 1304815 - rearrange Rust crate structure for newer Rust releases; r=ted.mielczarek
In our current Rust world, we have the following dependency structure:

  xul.so --------------------------+
                                   |
  xul-gtest.so -+--> xul.a --------+-> gkrust
                |
                +--> gkrust-gtest

This structure results in link errors with multiply-defined symbols
between gkrust-gtest and gkrust with newer Rust releases when linking
xul-gtest.so.  So we have to do something different.

Our new structure is:

  xul.so --------------------------+
                                   |
  xul-gtest.so -+--> xul.a --------+-> gkrust --+-> gkrust-shared
                |                               |
                +--> gkrust-gtest --------------+

and we enforce that a given shared library can only have at most one
Rust library that it depends on.  Said Rust library is assumed to
include all significant Rust dependencies of the dependent static
libraries as well.  (In the above structure, gkrust is simply a wrapper
around gkrust-shared, so gkrust-gtest doesn't have to include gkrust as
a dependency.)
2016-10-15 18:16:13 -04:00
Sebastian Hengst
289d92bc90 Bug 1306137 - remove b2g camera code: Remove MOZ_B2G_CAMERA. r=aosmond
MozReview-Commit-ID: D207i9boeTJ
2016-09-28 21:10:32 +02:00
Chris Pearce
17165c7495 Bug 1308076 - Move ClearKeyCencParser to PsshParser library. r=glandium
To validate the PSSH init data passed to EME, I'd like to reuse the same
PSSH parser that the ClearKey CDM shared library uses. So move the code
out of gmp-clearkey and into its own library, so we can link it statically
into code that needs to use it.



MozReview-Commit-ID: 7xSUSmCueJz
2016-10-06 20:23:38 +13:00
Enes Goktas
9a4926503b Bug 1303227 - Wrap libxul.so linker to prevent getting the linking process killed; r=glandium
This patch removes the memory usage tracking in the script that wraps the
linking of the xul library. This patch also generalizes the wrapping of the
xul linking process to all platforms.

MozReview-Commit-ID: HyncF3aVwdx
2016-09-20 17:58:34 -07:00
Ted Mielczarek
3d13eda662 bug 1301751 - work around llvm-dsymutil crash by building rust with debuginfo=1 instead of -g. r=froydnj
MozReview-Commit-ID: 5pK8okLw0Cl
2016-09-27 06:24:24 -04:00
Michael Layzell
cc2ec32acb Bug 1295762 - Part 1: Implement rust bindings to XPCOM's string types, r=froydnj
MozReview-Commit-ID: 7fnWSc3AzlR
2016-09-20 11:26:43 -04:00
Michael Layzell
163973d51c Bug 1300208 - Allow specifying multiple rust crates to mozbuild within the same FINAL_LIBRARY, r=froydnj
MozReview-Commit-ID: IIjV4Kg7wOv
2016-09-20 11:26:43 -04:00
Carsten "Tomcat" Book
6d1f62c926 merge mozilla-inbound to mozilla-central a=merge 2016-09-15 11:59:50 +02:00
Ted Mielczarek
fb89176930 bug 1298422 - vendor byteorder into third-party/rust. r=froydnj
MozReview-Commit-ID: ChKCKiIVEfq
2016-09-08 15:12:34 -07:00
Ralph Giles
8c45a1d60d Bug 1301065 - Update rust mp4parse to v0.5.1. r=kinetik
Result of running the update script, followed by `cargo update`
in tookit/library/rust/.

MozReview-Commit-ID: LNdvuOqVx9a
2016-09-13 09:16:44 -07:00
Sebastian Hengst
4d0f4ca143 Backed out changeset 8c9117de1e7f (bug 1300152) 2016-09-09 16:53:45 +02:00
Ted Mielczarek
5378f69273 bug 1300152 - Add nsIDebug2::rustPanic to allow triggering Rust panic for testing. r=froydnj
For testing purposes it will be useful to be able to trigger crashes in Rust
code. Being able to trigger a panic seems like a good place to start. This
will make it easier to validate improvements in crash reporting.

MozReview-Commit-ID: Bh5rBieLLWW
2016-09-02 13:22:21 -04:00
Mike Hommey
321f72d95b Bug 1299616 - Rearrange libxul linking such that StaticXULComponentStart always is first. r=gps
When building gtest libxul with LTO, the fact that
StaticXULComponentStart is not passed first to the linker makes the
linker pull the NSModule symbols out of all the other objects first,
presumably because linking the gtest objects (which appear first) pulls
code from the other non StaticXULComponent* objects first.

So, to make things link properly with LTO, we trick the build system
to always put StaticXULComponentStart first.
2016-09-02 07:08:16 +09:00
Ralph Giles
8cfb53dc79 Bug 1300219 - Update mp4parse to v0.5.0. r=kinetik
Result of running the update script and updating gecko's
integration crate for the layout change.

MozReview-Commit-ID: GaIMFKmPmtf
2016-09-02 14:27:50 -07:00
Wes Kocher
87e6777f8a Backed out changeset d332de446548 (bug 1294650) 2016-09-02 11:02:59 -07:00
Phil Ringnalda
9a0b092104 Back out changeset 58b07057fe25 (bug 1299159) on suspicion of breaking Windows PGO builds
CLOSED TREE
2016-09-01 19:43:22 -07:00
Benjamin Smedberg
458ee2abc5 Bug 1299159 - Stop exporting *_NSModule from xul.dll, r=glandium
MozReview-Commit-ID: HXxC5Ogquxn
2016-08-31 12:48:52 -04:00
Wes Kocher
1ebeaec062 Backed out 2 changesets (bug 1295762) for build bustage a=bustage CLOSED TREE
Backed out changeset b4b5fa96e8ee (bug 1295762)
Backed out changeset 30bb58fbbeb8 (bug 1295762)
2016-08-30 16:17:30 -07:00
Michael Layzell
c4891bcc42 Bug 1295762 - Part 1: Implement rust bindings to XPCOM's string types, r=froydnj
MozReview-Commit-ID: 7fnWSc3AzlR
2016-08-30 16:18:54 -04:00
Jim Mathies
9e674844c3 Bug 1294650 - Install shim 'qipcap' dlls into the Firefox folder to circumvent dll injection by the 3rd party Websense product. r=aklotz
MozReview-Commit-ID: 11qJbfim7Lm
2016-08-22 06:53:38 -05:00