Граф коммитов

107 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd f7fb6722a6 Bug 1231764 - part 6 - build rust code via cargo; r=chmanchester
This patch is really two separate changes.

The first change is that rust crates are large, standalone entities that
may contain multitudes of source files.  It therefore doesn't make sense
to keep them in SOURCES, as we have been doing.  Moving to use cargo
will require a higher-level approach, which suggests that we need a
different, higher-level representation for Rust sources in the build
system.

The representation here is to have the build system refer to things
defined in Cargo.toml files as the entities dealt with in the build
system, and let Cargo deal with the details of actually building things.
This approach means that adding a new crate to an existing library just
requires editing Rust and Cargo.toml files, rather than dealing with
moz.build, which seems more natural to Rust programmers.  By having the
source files for libraries (and binaries in subsequent iterations of
this support) checked in to the tree, we can also take advantage of
Cargo.lock files.

The second is that we switch the core build system over to building via
cargo, rather than invoking rustc directly.

We also clean up a number of leftover things from the Old Way of doing
things.  A number of tests are added to confirm that we'll only permit
crates to be built that have dependencies in-tree.
2016-08-06 00:49:26 -04:00
Wes Kocher 9605851be0 Backed out 7 changesets (bug 1231764) for apparently causing linux debug wpt bustage
Backed out changeset 4b71272c92cf (bug 1231764)
Backed out changeset 234d8a930afa (bug 1231764)
Backed out changeset f9b204c2f5a7 (bug 1231764)
Backed out changeset f933119e57e4 (bug 1231764)
Backed out changeset e3af0b1d3473 (bug 1231764)
Backed out changeset 643b03aae1dd (bug 1231764)
Backed out changeset a945dbf63410 (bug 1231764)

--HG--
extra : rebase_source : e71360fa4b5e3e74859c82e74e183e13e6211c4c
2016-08-03 16:27:06 -07:00
Nathan Froyd 6b2618fb44 Bug 1231764 - part 6 - build rust code via cargo; r=chmanchester
This patch is really two separate changes.

The first change is that rust crates are large, standalone entities that
may contain multitudes of source files.  It therefore doesn't make sense
to keep them in SOURCES, as we have been doing.  Moving to use cargo
will require a higher-level approach, which suggests that we need a
different, higher-level representation for Rust sources in the build
system.

The representation here is to have the build system refer to things
defined in Cargo.toml files as the entities dealt with in the build
system, and let Cargo deal with the details of actually building things.
This approach means that adding a new crate to an existing library just
requires editing Rust and Cargo.toml files, rather than dealing with
moz.build, which seems more natural to Rust programmers.  By having the
source files for libraries (and binaries in subsequent iterations of
this support) checked in to the tree, we can also take advantage of
Cargo.lock files.

The second is that we switch the core build system over to building via
cargo, rather than invoking rustc directly.

We also clean up a number of leftover things from the Old Way of doing
things.  A number of tests are added to confirm that we'll only permit
crates to be built that have dependencies in-tree.
2016-08-03 19:40:41 -04:00
Makoto Kato daa228c32b Bug 1262335 - Part 2. Remove Android GB/HC defines from OMX. r=snorp
MozReview-Commit-ID: HKbYZXftKBc

--HG--
extra : rebase_source : ac07306100914857848ca58714a517c4069711da
2016-04-06 17:30:17 +09:00
Mike Hommey 7f131dbc35 Bug 1256988 - Replace tests on MOZ_ENABLE_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester 2016-03-17 06:49:44 +09:00
Chris Manchester 4c18bc2045 Bug 1194935 - Add a C++ implementation of kill_and_get_minidump as part of the build to accommodate dumping 64 bit Firefox from 32 bit python. r=ted
--HG--
extra : commitid : K6BGWSIH6Nk
2015-08-18 17:04:45 -07:00
Eric Rahm 4863f3e5ec Bug 1239866 - Remove signaling standalone tests. r=bwc 2016-01-15 12:18:39 -08:00
Chris Manchester 586c6f4bb9 Bug 1237156 - Only build the fileid utility when MOZ_CRASHREPORTER is set. r=ted.mielczarek
--HG--
extra : rebase_source : 445ddac5b47cd106dab224da8b2af3ed90cf973b
2016-01-06 10:52:21 -08:00
Chris Manchester 58d5a05e65 Bug 1216681 - Add a fileid utility to extract the breakpad GUID from object files for identification in fix_stack_using_bpsyms. r=ted
fix_stack_using_bpsyms.py locates a .sym file based on file name only, not uuid or full path,
which causes a failure if a duplicate leaf file name is introduced. This patch introduces a
small utility program on mac and linux to extract a breakpad guid from a shared library or
executable to identify the correct symbol file when this ambiguity occurs. A subsequent commit
implements this for windows.

--HG--
extra : commitid : 2O7REfHuDus
2015-10-21 16:37:42 -07:00
Mike Conley e62894147e Bug 1221846 - Get Task Tracer building on desktop r=cyu.
--HG--
extra : rebase_source : 0666526a249c106274a4c764e325cd9810e9a2e7
2015-12-02 20:55:38 -05:00
Kit Cambridge c7aea57412 Bug 821291 - Move libmozgnome into libxul. r=glandium,karlt
--HG--
extra : commitid : 99eCKOxuHHi
extra : rebase_source : 7e148e7b3b72ffd4687df5ba342599c55fd41280
2015-11-24 12:16:33 -08:00
J. Ryan Stinnett 64bf2d6b32 Bug 1217687 - Revert back to including /devtools via toolkit. r=glandium 2015-10-23 06:04:45 -05:00
J. Ryan Stinnett 978cb5107a Bug 1203159 - Update each product's DevTools inclusion. r=glandium
A new configure option --with-devtools (which sets MOZ_DEVTOOLS) is added to
control whether all DevTools, just the server, or no DevTools are included.
This defaults to just the server.

Applications should also include /devtools within their moz.build tree, so that
DIST_SUBDIR is in effect for all DevTools files if it is used by the app.
2015-10-21 12:22:59 -05:00
Mike Hommey 9af046b5b4 Bug 1211765 - Remove remnants from --with-libxul-sdk. r=bsmedberg
The configure option has explicitly thrown an error for more than a year now,
and it happens that the remaining way to still forcefully use it has been
broken for more than 8 months.
2015-10-14 08:02:34 +09:00
J. Ryan Stinnett 7a556755de Bug 912121 - Adjust build configs and test manifests. r=glandium
This step resumes shipping client and server DevTools components to the correct
products, and is enough for "mach build" to complete successfully.

--HG--
extra : commitid : In5fMWBRKUy
extra : rebase_source : b7d92da9c6795275e5026b8e9e56d9487985b69f
2015-09-17 14:35:36 -05:00
Kan-Ru Chen 008c01bd6c Bug 1123237 - Part 7. XPCOM interface for memory profiler. r=smaug
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-09-16 10:31:12 +08:00
Daniel Stenberg ab6f975996 Bug 1179568 - remove toolkit/system/dbus. r=roc
--HG--
extra : rebase_source : 7bc587202c822209942e2c0e8cf1d2574237d2e5
2015-09-07 01:19:00 +02:00
Nicholas Nethercote 68c09ac436 Bug 1194560 - Add tools/power/rapl, a RAPL-reading program for power profiling. r=erahm,glandium.
--HG--
extra : rebase_source : 7303d7209f6c9ae8bbd911a379078343b7cb5a7b
2015-08-19 22:25:30 -07:00
Mike Hommey aebb89442a Bug 1173681 - Move nsIProfileUnlocker.idl to toolkit/profile and remove profile. r=bsmedberg
--HG--
rename : profile/notifications.txt => toolkit/profile/notifications.txt
rename : profile/nsIProfileUnlocker.idl => toolkit/profile/nsIProfileUnlocker.idl
2015-06-23 08:55:40 -07:00
Birunthan Mohanathas adb9ee1606 Bug 1103651 - Merge content/test/unit/ into dom/base/test/unit/. r=mrbkap
--HG--
rename : content/test/unit/empty_document.xml => dom/base/test/unit/empty_document.xml
rename : content/test/unit/head_content.js => dom/base/test/unit/head_xml.js
rename : content/test/unit/isequalnode_data.xml => dom/base/test/unit/isequalnode_data.xml
rename : content/test/unit/nodelist_data_1.xml => dom/base/test/unit/nodelist_data_1.xml
rename : content/test/unit/nodelist_data_2.xul => dom/base/test/unit/nodelist_data_2.xul
rename : content/test/unit/test_delete_range.xml => dom/base/test/unit/test_delete_range.xml
rename : content/test/unit/test_isequalnode.js => dom/base/test/unit/test_isequalnode.js
rename : content/test/unit/test_nodelist.js => dom/base/test/unit/test_nodelist.js
rename : content/test/unit/test_normalize.js => dom/base/test/unit/test_normalize.js
rename : content/test/unit/test_range.js => dom/base/test/unit/test_range.js
rename : content/test/unit/test_treewalker.js => dom/base/test/unit/test_treewalker.js
rename : content/test/unit/test_xml_parser.js => dom/base/test/unit/test_xml_parser.js
rename : content/test/unit/test_xml_serializer.js => dom/base/test/unit/test_xml_serializer.js
2015-06-17 06:38:22 -07:00
Randall Barker 3263a9649b Bug 1101651 - Part 2: Enable WebRTC unit tests to be built using standalone WebRTC library. r=jesup
--HG--
extra : rebase_source : 97215946f8152cc8df425449b7052b0b365ab0e9
2015-04-09 09:15:00 -04:00
Wes Kocher 44651f2a21 Backed out changeset d02fb013d5b7 (bug 1101651) 2015-04-02 13:42:29 -07:00
Randall Barker f71860b325 Bug 1101651 - Part 2, Enable WebRTC unit tests to be built using standalone WebRTC library r=jesup 2015-04-02 12:14:46 -07:00
Andrew Halberstadt c120e0225f Bug 1139904 - Add initial test runtime files for mochitest browser-chrome and devtools, r=jmaher
--HG--
extra : rebase_source : 6edb677b4ea50a769ab6d14f508a449af3baada5
2015-03-11 16:05:36 -04:00
Nicholas Nethercote 97b5d348cc Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
Trevor Saunders 97a4468c62 bug 982842 - initial a11y ipc impl r=davidb, bent 2014-03-07 16:35:19 -05:00
Mike Hommey dc73315d0c Bug 1084210 - Simplify tree traversal for memory/replace. r=mshal 2014-10-18 16:16:20 +09:00
Mike Hommey 03d37a29c7 Bug 1063414 - Make DIRS relative to the file they were added from. r=gps 2014-10-02 09:14:07 +09:00
Mike Hommey 26049ee2f7 Bug 1062221 - Replace add_tier_dir with DIRS. r=gps 2014-10-02 09:14:07 +09:00
Edwin Flores 0afabd88d4 Bug 1044742 - ClearKey CDM for testing EME - r=cpearce 2014-09-24 10:04:49 +12:00
Richard Newman bbc795a223 Bug 1053016 - Part 3: eliminate omx-plugin Froyo version. r=cajbir 2014-09-09 16:35:27 -07:00
James Graham 1d0db0076b Bug 945222 - Initial import of web-platform-tests testsuite 4/4 : Integration with build system, mach and mozharness, r=ahal,gps
--HG--
extra : rebase_source : 0d704f5a3edcbcef56d15b76ef26aae1b7232c4d
2014-09-04 12:52:43 +01:00
Jacek Caban 319bc9cc73 Bug 1042426 - Added --disable-sandbox option that disables building sandbox code. r=glandium 2014-08-27 16:32:55 +02:00
Mike Hommey 89777800f9 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey e8b438350d Bug 1049281 - Move third-party build system "drivers" to config/external, and stop using static dirs. r=gps
--HG--
rename : intl/icu/Makefile.in => config/external/icu/Makefile.in
rename : config/nspr/Makefile.in => config/external/nspr/Makefile.in
rename : config/nspr/moz.build => config/external/nspr/moz.build
rename : security/build/Makefile.in => config/external/nss/Makefile.in
rename : security/build/moz.build => config/external/nss/moz.build
rename : security/build/nspr-dummy.def => config/external/nss/nspr-dummy.def
rename : security/build/nss.def => config/external/nss/nss.def
rename : security/build/nss.mk => config/external/nss/nss.mk
2014-08-07 02:58:52 +09:00
Mike Hommey b4a02ef3e2 Bug 1049249 - Remove app_libxul_dirs. r=mshal 2014-08-07 02:58:49 +09:00
Mike Hommey bb81ec347e Bug 1049247 - Remove app_libxul_static_dirs. r=mshal 2014-08-07 02:58:48 +09:00
Jed Davis 9d31844f0c Bug 1012951 - Add Linux sandboxing for GeckoMediaPlugin processes. r=kang r=ted
--HG--
extra : rebase_source : 1b890000d5b8d2a8954cdd1118a1023eba829c29
2014-08-04 15:11:18 -07:00
Ed Morley dcbfd040d1 Backed out changeset d50d7e88f35e (bug 1012951) for LSan failures 2014-07-30 16:49:43 +01:00
Jed Davis 8cff1bfff8 Bug 1012951 - Sandbox GMP plugins on Linux using seccomp-bpf. r=kang r=ted 2014-07-29 15:31:12 -07:00
Mike Hommey a62cdc4fa7 Bug 1043344 - Move libraries and programs build to the compile tier. r=gps 2014-07-25 07:14:40 +09:00
Mike Hommey 7cab62150a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Tim Abraldes 1aaa7148c1 bug 985252. Build sandbox code regardless of whether --enable-content-sandbox/MOZ_CONTENT_SANDBOX is provided. Enable sandboxing of GMP plugins. Enable `SandboxBroker` to set different security policies for different process types. r=bbondy, r=cpearce, r=bent 2014-07-16 16:01:34 -07:00
Jim Blandy e07aaa8185 Bug 800200: Remove references to JSD from outside js/jsd. r=mccr8,bholley,ted,smaug 2014-06-27 11:05:08 -07:00
Randell Jesup 71910ce4dc Bug 981780: fix disable-webrtc r=glandium 2014-05-09 14:40:32 -04:00
Ryan VanderMeulen 4c51cdc449 Backed out changesets 33e91919b06b and a3a67e1ded26 (bug 981780) for OSX bustage.
CLOSED TREE
2014-05-09 15:26:13 -04:00
Randell Jesup 6e0a014641 Bug 981780: fix disable-webrtc r=glandium 2014-05-09 14:40:32 -04:00
Benoit Girard 1591dfd8e6 Bug 986160 - Add MozGtestFriend.h to deal with gtest in non test builds. r=glandium 2014-04-07 15:23:03 -04:00
Jed Davis 154d9c5e2a Bug 977859 - Drop uid 0 in all content processes immediately after fork. r=bent r=kang
Now all regular child processes, including preallocated, are deprivileged.
Only Nuwa needs uid 0, because each of its children has a different uid/gid.
2014-03-12 15:48:15 -07:00
Jed Davis 789c3d2ddb Bug 970676 - Turn on sandboxing on all relevant threads. r=dhylands r=bent f=kang 2014-02-27 13:18:01 -08:00