mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Backed out changeset 01334319137e (bug 880419) to fix bustage on b2g-device Builds on a CLOSED TREE
This commit is contained in:
parent
b6b569cf47
commit
7923627f8a
@ -95,8 +95,6 @@ if CONFIG['ARM_ARCH']:
|
||||
# CPU detection for ARM works on Android only. armv7 always uses CPU
|
||||
# detection, so we have to set armv7=0 for non-Android target
|
||||
gyp_vars['armv7'] = 0
|
||||
# For libyuv
|
||||
gyp_vars['arm_version'] = CONFIG['ARM_ARCH']
|
||||
|
||||
# Don't try to compile ssse3/sse4.1 code if toolchain doesn't support
|
||||
if CONFIG['INTEL_ARCHITECTURE']:
|
||||
|
@ -196,15 +196,11 @@
|
||||
# Python version.
|
||||
'python_ver%': '2.6',
|
||||
|
||||
# Set ARM version (for libyuv)
|
||||
'arm_version%': 6,
|
||||
|
||||
# Set ARM-v7 compilation flags
|
||||
'armv7%': 0,
|
||||
|
||||
# Set Neon compilation flags (only meaningful if armv7==1).
|
||||
'arm_neon%': 1,
|
||||
'arm_neon_optional%': 0,
|
||||
|
||||
# The system root for cross-compiles. Default: none.
|
||||
'sysroot%': '',
|
||||
@ -626,10 +622,8 @@
|
||||
'fastbuild%': '<(fastbuild)',
|
||||
'dcheck_always_on%': '<(dcheck_always_on)',
|
||||
'python_ver%': '<(python_ver)',
|
||||
'arm_version%': '<(arm_version)',
|
||||
'armv7%': '<(armv7)',
|
||||
'arm_neon%': '<(arm_neon)',
|
||||
'arm_neon_optional%': '<(arm_neon_optional)',
|
||||
'sysroot%': '<(sysroot)',
|
||||
'system_libdir%': '<(system_libdir)',
|
||||
'component%': '<(component)',
|
||||
|
@ -13,26 +13,12 @@
|
||||
|
||||
#include <stddef.h> // for NULL, size_t
|
||||
|
||||
#if !(defined(_MSC_VER) && (_MSC_VER < 1600))
|
||||
#if defined(__ANDROID__) || (defined(_MSC_VER) && (_MSC_VER < 1600))
|
||||
#include <sys/types.h> // for uintptr_t on x86
|
||||
#else
|
||||
#include <stdint.h> // for uintptr_t
|
||||
#endif
|
||||
|
||||
typedef uint64_t uint64;
|
||||
typedef int64_t int64;
|
||||
#if defined(_MSC_VER)
|
||||
// nsprpub/pr/include/obsolete/protypes.h defines these weirdly
|
||||
typedef long int32;
|
||||
typedef unsigned long uint32;
|
||||
#else
|
||||
typedef uint32_t uint32;
|
||||
typedef int32_t int32;
|
||||
#endif
|
||||
typedef uint16_t uint16;
|
||||
typedef int16_t int16;
|
||||
typedef uint8_t uint8;
|
||||
typedef int8_t int8;
|
||||
#define INT_TYPES_DEFINED 1
|
||||
|
||||
#ifndef GG_LONGLONG
|
||||
#ifndef INT_TYPES_DEFINED
|
||||
#define INT_TYPES_DEFINED
|
||||
|
23
media/webrtc/trunk/third_party/libyuv/libyuv.gyp
vendored
23
media/webrtc/trunk/third_party/libyuv/libyuv.gyp
vendored
@ -12,7 +12,6 @@
|
||||
],
|
||||
'variables': {
|
||||
'use_system_libjpeg%': 0,
|
||||
'yuv_disable_asm%': 0,
|
||||
'build_neon': 0,
|
||||
'conditions': [
|
||||
['target_arch == "arm" and arm_version >= 7 and (arm_neon == 1 or arm_neon_optional == 1)', {
|
||||
@ -68,10 +67,10 @@
|
||||
# Change type to 'shared_library' to build .so or .dll files.
|
||||
'type': 'static_library',
|
||||
# Allows libyuv.a redistributable library without external dependencies.
|
||||
# 'standalone_static_library': 1,
|
||||
'standalone_static_library': 1,
|
||||
'conditions': [
|
||||
# TODO(fbarchard): Use gyp define to enable jpeg.
|
||||
[ 'OS != "ios" and build_with_mozilla!=1', {
|
||||
[ 'OS != "ios"', {
|
||||
'defines': [
|
||||
'HAVE_JPEG'
|
||||
],
|
||||
@ -103,24 +102,6 @@
|
||||
'LIBYUV_NEON',
|
||||
]
|
||||
}],
|
||||
[ 'yuv_disable_asm!=0', {
|
||||
'defines': [
|
||||
# Enable the following 3 macros to turn off assembly for specified CPU.
|
||||
'LIBYUV_DISABLE_X86',
|
||||
'LIBYUV_DISABLE_NEON',
|
||||
'LIBYUV_DISABLE_MIPS',
|
||||
],
|
||||
}],
|
||||
['build_with_mozilla==1', {
|
||||
'include_dirs': [
|
||||
'$(DEPTH)/dist/include',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'$(DEPTH)/dist/include',
|
||||
],
|
||||
},
|
||||
}],
|
||||
],
|
||||
'defines': [
|
||||
# Enable the following 3 macros to turn off assembly for specified CPU.
|
||||
|
Loading…
Reference in New Issue
Block a user