summaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)Author
2016-08-04Remove armv6 targetJohann
Change-Id: I1fa81cc9cabf362a185fc3a53f1e58de533a41e5
2016-07-18build/make/Makefile: add a 'test_*' default targetJames Zern
allows 'make test_libvpx', etc. some reworking of the makefiles would be needed to avoid hard coding targets here. Change-Id: I18982dbf691e7d36ab8bcf5934bab9340687b061
2016-07-18build/make/Makefile: remove default suffix rulesJames Zern
Change-Id: I15c8976c6478bf75ec617398f49461b310ab7569
2016-06-30configure: remove x86inc.asm distinctionJohann
BUG=b:29583530 Change-Id: I59a1192142e89a6a36b906f65a491a734e603617
2016-06-29Require x86inc.asmJohann
Force enable x86inc.asm when building for x86. Previously there were compatibility issues so a flag was added to simplify disabling this code. The known issues have been resolved and x86inc.asm is the preferred abstraction layer (over x86_abi_support.asm). BUG=b:29583530 Change-Id: Ib935e97b37ffb22d7af72ba0f04564ae6280f1fd
2016-06-29Merge changes I9433d858,Iafd05637,If08ce6caJames Zern
* changes: tests: remove redundant round() definition remove visual studio < 2010 workarounds configure: remove old visual studio support (<2010)
2016-06-28configure: remove old visual studio support (<2010)James Zern
BUG=b/29583530 Change-Id: If08ce6ca352f377ac4db6b9b1909b507bba6d872
2016-06-27mips added p6600 cpu supportParag Salasakar
Removed -funroll-loops Change-Id: I6684bcac62902c10f945a6dcc4ed803203fcd829
2016-06-23configure: clean up var style and set_all usageJohann
Use quotes whenever possible and {} always for variables. Replace multiple set_all calls with *able_feature(). Change-Id: If579d3f718bd4133cf1592b4554a8ed00cf9f2d3
2016-06-23Merge "Fail early when android target does not include --sdk-path"Johann Koenig
2016-06-23Fail early when android target does not include --sdk-pathJohann
Change-Id: I07e7e63476a2e32e3aae123abdee8b7bbbdc6a8c
2016-06-22Add default flags for arm64/armv8 buildsJohann
Allows building simple targets with sane default flags. For example, using the Android arm64 toolchain from the NDK: https://developer.android.com/ndk/guides/standalone_toolchain.html ./build/tools/make-standalone-toolchain.sh --arch=arm64 \ --platform=android-24 --install-dir=/tmp/arm64 CROSS=/tmp/arm64/bin/aarch64-linux-android- \ ~/libvpx/configure --target=arm64-linux-gcc --disable-multithread BUG=webm:1143 Change-Id: I06f5a7564f5382cf1a4bad41aef4308566c53adf
2016-06-22Merge "remove vp10"James Zern
2016-06-21Merge "Disable neon for Xcode versions < v6.3."Tom Finegan
2016-06-19Merge "Configuration: Use 'is_in' instead of echo | grep"Johann Koenig
2016-06-19Fix iosbuild.sh: outdated reference to ios-version.shJohann
File was removed in b29ebfe91c643b4bab1f24c2b55bf0a5a83cb825 but a reference was missed. Change-Id: I7a3d81ab196a70cb5691331705f956cc7dc9bb2a
2016-06-17remove vp10James Zern
development has moved to the nextgenv2 branch and a snapshot from here was used to seed aomedia BUG=b/29457125 Change-Id: Iedaca11ec7870fb3a4e50b2c9ea0c2b056a0d3c0
2016-06-17Merge "Parse codec options in order of occurrence."DO NOT USE
2016-06-17Configuration: Use 'is_in' instead of echo | grepJohann
Change-Id: I38f7684969f12a624980f4e06698379a49e61bdf
2016-06-17Parse codec options in order of occurrence.Johann
Each time a codec is enabled or disabled with the umbrella --enable-vpN flag, set the encoder and decoder configurations as well. This was done as a post-processing step but doing that lost the order of the arguments. BUG=webm:1205 Change-Id: Ic629bfdd06acc04bc5a7227309f36bba54dad8b1
2016-06-17Disable neon for Xcode versions < v6.3.Tom Finegan
vtbl1_u8 is marked unavailable prior to Xcode v6.3. BUG=webm:1154 Change-Id: I08bd34f712ab7da72658c89d8b606658c1348923
2016-06-16Remove ios-version.shJohann
The logic can be incorporated into configure.sh Removes a dependency on ios-version.sh which was not part of DIST-SRCS and removes a warning from 'make dist' sub builds: ../src/build/make/configure.sh: line 787: ../src/build/make/ios-version.sh: No such file or directory Change-Id: Ic38314708eb278dd9d2a9769a670da32f6126637
2016-06-07Merge changes I999ef597,Ic6dc9f53Johann Koenig
* changes: configure: Add -mstackrealign flags to CFLAGS on OS/2 vpx: Add OS/2-specific threading codes
2016-05-24Move git version extras out of iOS shared framework bundle versionBrion Vibber
Apple's version format specification is strictly checked on app store submission, even for embedded frameworks: http://apple.co/1WgelY1 The build version number should be a string comprised of three non-negative, period-separated integers with the first integer being greater than zero. The string should only contain numeric (0-9) and period (.) characters. So that's room for "1.5.0" but not for "1.5.0-906-g656f9c4". The full version returned from 'version.sh --bare' is now embedded under a 'VPXFullVersion' custom key in the Info.plist, so it can still be extracted from the resulting framework. Change-Id: If34a58d02e407379d1f1859fda533ef7f983170b
2016-05-22configure: Add -mstackrealign flags to CFLAGS on OS/2KO Myung-Hun
Many codes require -mstackrealign flags. Although -mstackrealign has been already added to CFLAGS of some modules, SIGSEGV occurs in other modules than those modules. The best way may be to find causes and to fix them. However, we cannot know those causes until SIGSEGV occur really. In addition, if SIGSEGV occurs in other programs, it will be fatal. So adding -mstackrealign flags to CFLAGS unconditionally is reasonable. Change-Id: I999ef597a6afe97f5e7cc7bffaa866537c3eedd2
2016-05-12Add --enable-shared option to iosbuild.sh to build dynamic frameworkBrion Vibber
Also allows use of --enable-shared when configuring for Mac OS X, producing a bare .dylib. Enabling the shared framework bumps the iOS deployment target to 8.0, the minimum required to support dynamic framework deployment in apps. When not using --enable-shared, a static library for iOS 6.0+ will still be built. Minimum version settings have been moved into ios-version.sh so they can be updated in a single place. As with the static build, unless header search paths are manually tweaked, users must add a VPX prefix on includes, such as: #include <VPX/vpx/vpx_decoder.h> A module map for headers is not yet included as inttypes.h is not modular; this means that VPX cannot be used directly in Swift code, but can still be pulled in through an Objective-C wrapper. BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1092 Change-Id: I28fb06ce65e48ed167a88c14a7bfb2861989317e
2016-05-04Fix for version.sh when libvpx is checked out as git submoduleBrion Vibber
When using git submodules, .git may be a file instead of a directory. The -d test was failing in that case; switched to -e. BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1215 Change-Id: Iedf0e92bfeb003b28a415945dc729e6ce58c4fe4
2016-05-04Merge "iosbuild.sh: Verify fat library targets."Tom Finegan
2016-05-02iosbuild.sh: Verify fat library targets.Tom Finegan
- Make sure VPX.framework/VPX actually contains requested targets before reporting success. - Removes a TODO. Change-Id: I2344d6e2bb502bf533ce0e4c6f159118e4fe3bdf
2016-05-02configure.sh: Remove armv6-darwin target.Tom Finegan
- iOS SDKs no longer ship with armv6 support. - Our minimum iOS version means all target devices have neon. - Remove armv6 darwin LD workaround. - This removes a TODO. Change-Id: I2fcb5b82c96213364275475be021c7dd8459d5c0
2016-04-29configure.sh: prefer 'which' over 'hash'James Zern
hash may trigger a bashism warning; which is already depended on by this script Change-Id: Ibe0e7d1132d72f03aaf5b7d4c6180b59e92aceff
2016-04-27msvs_common.sh: make fix_file_list genericJames Zern
take an array name as the first parameter and operate on the reference; removes a TODO Change-Id: I9d63a31d7a7625123f0d64f212b4e702813cc01b
2016-04-12configure: Detect aarch64 toolchains automaticallyMartin Storsjo
Change-Id: Icafda81dbc3323fa0afdba5f1c8758e812cc592a
2016-04-08configure: Disable webm_io when target is VS 7/8/9.Tom Finegan
libwebm now requires stdint.h, and the noted Visual Studio versions omit it. Change-Id: I7e5de131c357cb7a99c33452b2b623882817df0f
2016-01-13configure: extend armv7 hf target autodetectJames Zern
Change-Id: I51d42a50288fc5224eb3ed7f895c916ae53239c8
2015-12-22configure: remove default CROSS for arm targetsJames Zern
arm-none-linux-gnueabi- is an anachronism and makes building on native arm platforms more difficult. further, many distros include alternative cross compilers, e.g., arm-linux-gnueabihf-, so the choice is best left up to the user. Change-Id: Id8aaf820ed112b85db2b8518d0e9d8abee1ad85c
2015-12-21configure: avoid default when CROSS is set to nullJames Zern
avoids picking up defaults if CROSS is forcibly set empty as in: $ CROSS= ./configure ... BUG=1121 Change-Id: I6af91959288dede01efe3e5945698ab249eb6ec3
2015-12-09iosbuild.sh: Support macosx targets in Xcode 7.Tom Finegan
Xcode 7 refuses to link to x86 and x86_64 code that's built for iphone sim, so add an extra command line flag that forces iosbuild to use darwin15 targets. Change-Id: I2228d458f5cccf4d26866040380a974f88d9d360
2015-11-17configure: simplify x86 asm dependenciesJames Zern
--disable-XXX has the effect of disabling all extensions above it, e.g., --disable-ssse3 disables ssse3-avx2. Change-Id: If02b44ca71ee12e4acb12010db8593a7989f2a9d
2015-11-02Add target for Mac OS X 10.11 'El Capitan'Alex Converse
Change-Id: I174f5b41be384894e41b8e2926cbf8fd0f8e21b2
2015-10-28Merge "Skip AS detection when using --enable-external-build"Johann Koenig
2015-10-27Only set sysroot when alt_libc finds a directoryJohann
Change-Id: Idc0a9adb4fb371272d6c8c98737f66c6cf209e37
2015-10-26Skip AS detection when using --enable-external-buildJohann
The option exists specifically to allow for configurations where the build environment is different from the configure environment. Change-Id: I95196fa3c49700251d10ff5d256dc7380e39d0c4
2015-09-25build/make/iosbuild.sh: Remove jobs argument.Tom Finegan
This can be handled via MAKEFLAGS. Change-Id: I3a58a8a41f6570cb3b80c7c97e51735b82bf4ec9
2015-09-25Merge "build/make/configure.sh: Embed bitcode in arm darwin targets."Tom Finegan
2015-09-25Merge "configure: reference the README for missing yasm"James Zern
2015-09-24build/make/configure.sh: Embed bitcode in arm darwin targets.Tom Finegan
When the iOS SDK major version is 9 or higher: - Pass -fembed-bitcode to compiler, assembler, and linker. - Add a warning for simulator targets since yasm doesn't know what -fembed-bitcode means, and exits with an error. BUG=https://code.google.com/p/webm/issues/detail?id=1075 Change-Id: I38c997a0225e53c5dd1b4ddf7935d21362953f76
2015-09-24Merge "build/make/configure.sh: Silence arm target Xcode7 link warnings."Tom Finegan
2015-09-24Merge "build/make/configure.sh: Fix armv7 builds in Xcode7."Tom Finegan
2015-09-23build/make/configure.sh: Silence arm target Xcode7 link warnings.Tom Finegan
Always add IOS_VERSION_MIN to darwin arm cflags. The warning occured because the default (9.0) does not match the value set by configure (6.0). BUG=https://code.google.com/p/webm/issues/detail?id=1075 Change-Id: Ia9085ceeca10e057f9eb781c14f07581bb6280a5