Commit Graph

23 Commits

Author SHA1 Message Date
Matthew Gregan
73ffa2d5f9 Bug 1105901 - Update cubeb from upstream to pick up compilation fix for glibc 2.20. r=padenot
--HG--
extra : rebase_source : cb04020b3c502f51e2411b1984bb42d8423d524b
2014-12-02 12:04:16 +13:00
Mike Hommey
47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Matthew Gregan
6e1614d69b Bug 1074010 - Update cubeb from upstream. r=padenot
--HG--
rename : media/libcubeb/README => media/libcubeb/README.md
2014-09-29 13:19:09 +13:00
Matthew Gregan
52c0e70868 Bustage fix (update test to new values) for bd132d164dc9/bug 1065250 on a CLOSED TREE. 2014-09-17 17:08:35 +12:00
Mike Hommey
0060683747 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Matthew Gregan
87acb958cd Bug 992238 - Disable test_init_destroy_multiple_contexts_and_streams on Windows 7. r=padenot 2014-08-05 21:57:00 -04: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
d9443ec932 Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Paul Adenot
2e14d9f533 Bug 1027713 - Disable test_stress on windows 8 as well. 2014-07-29 18:45:05 +02:00
Ehsan Akhgari
79ae487df4 Bug 1044478 - Just use the libraries that we really need when linking cubeb tests; r=padenot 2014-07-27 13:08:43 -04: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
Mike Hommey
95063176fa Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
5fab42fcaf Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey
6d6d400ea1 Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps 2014-07-23 13:29:44 +09:00
JW Wang
d1099cd2f3 Bug 1008079 - Add cubeb_resampler.cpp to build files. r=glandium 2014-06-16 19:46:00 -04:00
Paul Adenot
240ddf862e Bug 996770 - Add logging to cubeb's test_latency. r=kinetik 2014-04-17 15:42:00 +02:00
Paul Adenot
579e0bc4c5 Bug 949166 - Actually compile the Windows 7 detection code in cubeb's test to disable part of a test. r=kinetik 2014-04-14 12:07:54 +02:00
Paul Adenot
18b24590e3 Bug 946618 - Disable part of a cubeb test on Windows 7. r=kinetik
--HG--
extra : rebase_source : 1bf38b7cbb7e023b74ec1226e79f7bf01d739bd0
2014-03-24 11:06:05 +01:00
Paul Adenot
bd86d96aaa Bug 946618 - Disable some cubeb tests on Android. r=kinetik
We still have some kind of smoke test in test_audio.c, so that's kind of okay.

--HG--
extra : rebase_source : a5b760c58e8365a96b310b4bd480c3c2262c0713
2014-03-24 11:06:05 +01:00
Paul Adenot
1a74c7bf11 Bug 946618 - Add native tests for cubeb. r=kinetik
--HG--
extra : rebase_source : 9b2e8e702ce5f8ea4d5416f3b45c91bc4cd94432
2014-02-25 14:21:59 +01:00
Paul Adenot
29ce6e72b4 Bug 946618 - Skip some cubeb tests on some platforms. r=kinetik
For example, skip float tests on platform that don't support floating point
audio, and skip timing test on platform where we don't honor latency request.

--HG--
extra : rebase_source : 6d48b637f18747674d519b586a24a8f4680f293b
2014-03-24 11:06:05 +01:00
Paul Adenot
c554394dfb Bug 946618 - Update cubeb to pick up new tests. r=kinetik
--HG--
extra : rebase_source : 335880c5ecc3ace9cf5260e9e95b668ae00d183a
2014-02-27 16:26:24 +01:00