tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: enabling WebRTC by default in firefox



OK, that one is easy to find:

if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "NetBSD":
    
    DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
    DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"

if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "NetBSD":
    
    CXXFLAGS += [
        "-msse2"
    ]
    
    DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"  
    DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"

if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "NetBSD":
    
    DEFINES["WEBRTC_USE_BUILTIN_ISAC_FIX"] = "0"
    DEFINES["WEBRTC_USE_BUILTIN_ISAC_FLOAT"] = "1"
    

I have no idea what "GN" source belongs to this file and why anyone would
make this api depend on CPU type (hard float vs. softfloat I could understand)
and add no default.

Robert, would you happen to know where to look?

Martin


Home | Main Index | Thread Index | Old Index