mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Merge inbound to mozilla-central. a=merge
This commit is contained in:
commit
166bce1123
@ -628,6 +628,12 @@ MarkupView.prototype = {
|
||||
"node-inserted"
|
||||
];
|
||||
|
||||
// If the user performed an action with a keyboard, move keyboard focus to
|
||||
// the markup tree container.
|
||||
if (reason && reason.endsWith("-keyboard")) {
|
||||
this.getContainer(this._rootNode).elt.focus();
|
||||
}
|
||||
|
||||
if (reasonsToNavigate.includes(reason)) {
|
||||
this.getContainer(this._rootNode).elt.focus();
|
||||
this.navigate(this.getContainer(nodeFront));
|
||||
|
@ -80,6 +80,7 @@ support-files =
|
||||
skip-if = os == "mac" # Full keyboard navigation on OSX only works if Full Keyboard Access setting is set to All Control in System Keyboard Preferences
|
||||
[browser_markup_accessibility_navigation.js]
|
||||
skip-if = os == "mac" # Full keyboard navigation on OSX only works if Full Keyboard Access setting is set to All Control in System Keyboard Preferences
|
||||
[browser_markup_accessibility_new_selection.js]
|
||||
[browser_markup_accessibility_navigation_after_edit.js]
|
||||
skip-if = os == "mac" # Full keyboard navigation on OSX only works if Full Keyboard Access setting is set to All Control in System Keyboard Preferences
|
||||
[browser_markup_accessibility_semantics.js]
|
||||
|
@ -0,0 +1,26 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
"use strict";
|
||||
|
||||
// Test inspector markup view handling new node selection that is triggered by
|
||||
// the user keyboard action. In this case markup tree container must receive
|
||||
// keyboard focus so that further interactions continue within the markup tree.
|
||||
|
||||
add_task(function* () {
|
||||
let { inspector } = yield openInspectorForURL(
|
||||
"data:text/html;charset=utf-8,<h1>foo</h1><span>bar</span>");
|
||||
let markup = inspector.markup;
|
||||
let doc = markup.doc;
|
||||
let rootContainer = markup.getContainer(markup._rootNode);
|
||||
|
||||
is(doc.activeElement, doc.body, "Keyboard focus by default is on document body");
|
||||
|
||||
yield selectNode("span", inspector, "test");
|
||||
is(doc.activeElement, doc.body, "Keyboard focus remains on document body.");
|
||||
|
||||
yield selectNode("h1", inspector, "test-keyboard");
|
||||
is(doc.activeElement, rootContainer.elt,
|
||||
"Keyboard focus must be on the markup tree conainer.");
|
||||
});
|
@ -26,41 +26,6 @@
|
||||
#include "nsIFile.h"
|
||||
#include "nsUnicharUtils.h"
|
||||
|
||||
#include <shlwapi.h>
|
||||
#define SHOCKWAVE_BASE_FILENAME L"np32dsw"
|
||||
/**
|
||||
* Determines whether or not SetDllDirectory should be called for this plugin.
|
||||
*
|
||||
* @param pluginFilePath The full path of the plugin file
|
||||
* @return true if SetDllDirectory can be called for the plugin
|
||||
*/
|
||||
bool
|
||||
ShouldProtectPluginCurrentDirectory(char16ptr_t pluginFilePath)
|
||||
{
|
||||
LPCWSTR passedInFilename = PathFindFileName(pluginFilePath);
|
||||
if (!passedInFilename) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Somewhere in the middle of 11.6 version of Shockwave, naming of the DLL
|
||||
// after its version number is introduced.
|
||||
if (!wcsicmp(passedInFilename, SHOCKWAVE_BASE_FILENAME L".dll")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Shockwave versions before 1202122 will break if you call SetDllDirectory
|
||||
const uint64_t kFixedShockwaveVersion = 1202122;
|
||||
uint64_t version;
|
||||
int found = swscanf(passedInFilename, SHOCKWAVE_BASE_FILENAME L"_%llu.dll",
|
||||
&version);
|
||||
if (found && version < kFixedShockwaveVersion) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// We always want to call SetDllDirectory otherwise
|
||||
return true;
|
||||
}
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
/* Local helper functions */
|
||||
@ -283,12 +248,8 @@ nsresult nsPluginFile::LoadPlugin(PRLibrary **outLibrary)
|
||||
if (!mPlugin)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
bool protectCurrentDirectory = true;
|
||||
|
||||
nsAutoString pluginFilePath;
|
||||
mPlugin->GetPath(pluginFilePath);
|
||||
protectCurrentDirectory =
|
||||
ShouldProtectPluginCurrentDirectory(pluginFilePath.BeginReading());
|
||||
|
||||
nsAutoString pluginFolderPath = pluginFilePath;
|
||||
int32_t idx = pluginFilePath.RFindChar('\\');
|
||||
@ -304,17 +265,14 @@ nsresult nsPluginFile::LoadPlugin(PRLibrary **outLibrary)
|
||||
NS_ASSERTION(restoreOrigDir, "Error in Loading plugin");
|
||||
}
|
||||
|
||||
if (protectCurrentDirectory) {
|
||||
SetDllDirectory(nullptr);
|
||||
}
|
||||
// Temporarily add the current directory back to the DLL load path.
|
||||
SetDllDirectory(nullptr);
|
||||
|
||||
nsresult rv = mPlugin->Load(outLibrary);
|
||||
if (NS_FAILED(rv))
|
||||
*outLibrary = nullptr;
|
||||
|
||||
if (protectCurrentDirectory) {
|
||||
SetDllDirectory(L"");
|
||||
}
|
||||
SetDllDirectory(L"");
|
||||
|
||||
if (restoreOrigDir) {
|
||||
DebugOnly<BOOL> bCheck = SetCurrentDirectoryW(aOrigDir);
|
||||
|
@ -23,7 +23,6 @@ extern "C" CGError CGSSetDebugOptions(int options);
|
||||
#endif
|
||||
|
||||
#ifdef XP_WIN
|
||||
bool ShouldProtectPluginCurrentDirectory(char16ptr_t pluginFilePath);
|
||||
#if defined(MOZ_SANDBOX)
|
||||
#include "mozilla/sandboxTarget.h"
|
||||
#endif
|
||||
@ -32,14 +31,12 @@ bool ShouldProtectPluginCurrentDirectory(char16ptr_t pluginFilePath);
|
||||
using mozilla::ipc::IOThreadChild;
|
||||
|
||||
#ifdef OS_WIN
|
||||
#include "nsSetDllDirectory.h"
|
||||
#include <algorithm>
|
||||
#endif
|
||||
|
||||
namespace mozilla {
|
||||
namespace plugins {
|
||||
|
||||
|
||||
bool
|
||||
PluginProcessChild::Init(int aArgc, char* aArgv[])
|
||||
{
|
||||
@ -111,20 +108,15 @@ PluginProcessChild::Init(int aArgc, char* aArgv[])
|
||||
CommandLine::ForCurrentProcess()->GetLooseValues();
|
||||
MOZ_ASSERT(values.size() >= 1, "not enough loose args");
|
||||
|
||||
if (ShouldProtectPluginCurrentDirectory(values[0].c_str())) {
|
||||
SanitizeEnvironmentVariables();
|
||||
SetDllDirectory(L"");
|
||||
}
|
||||
|
||||
pluginFilename = WideToUTF8(values[0]);
|
||||
|
||||
// We don't initialize XPCOM but we need the thread manager and the
|
||||
// logging framework for the FunctionBroker.
|
||||
NS_SetMainThread();
|
||||
mozilla::TimeStamp::Startup();
|
||||
NS_LogInit();
|
||||
NS_SetMainThread();
|
||||
mozilla::TimeStamp::Startup();
|
||||
NS_LogInit();
|
||||
mozilla::LogModule::Init();
|
||||
nsThreadManager::get().Init();
|
||||
nsThreadManager::get().Init();
|
||||
|
||||
#if defined(MOZ_SANDBOX)
|
||||
// This is probably the earliest we would want to start the sandbox.
|
||||
@ -162,14 +154,14 @@ void
|
||||
PluginProcessChild::CleanUp()
|
||||
{
|
||||
#if defined(OS_WIN)
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
// Shutdown components we started in Init. Note that KillClearOnShutdown
|
||||
// is an event that is regularly part of XPCOM shutdown. We do not
|
||||
// call XPCOM's shutdown but we need this event to be sent to avoid
|
||||
// leaking objects labeled as ClearOnShutdown.
|
||||
nsThreadManager::get().Shutdown();
|
||||
mozilla::KillClearOnShutdown(ShutdownPhase::ShutdownFinal);
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
// Shutdown components we started in Init. Note that KillClearOnShutdown
|
||||
// is an event that is regularly part of XPCOM shutdown. We do not
|
||||
// call XPCOM's shutdown but we need this event to be sent to avoid
|
||||
// leaking objects labeled as ClearOnShutdown.
|
||||
nsThreadManager::get().Shutdown();
|
||||
mozilla::KillClearOnShutdown(ShutdownPhase::ShutdownFinal);
|
||||
NS_LogTerm();
|
||||
#endif
|
||||
|
||||
|
@ -298,7 +298,7 @@ nsXBLDocumentInfo::WritePrototypeBindings()
|
||||
rv = NewBufferFromStorageStream(storageStream, &buf, &len);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
return startupCache->PutBuffer(spec.get(), buf.get(), len);
|
||||
return startupCache->PutBuffer(spec.get(), Move(buf), len);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -446,7 +446,7 @@ nsXULPrototypeCache::FinishOutputStream(nsIURI* uri)
|
||||
rv = PathifyURI(uri, spec);
|
||||
if (NS_FAILED(rv))
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
rv = sc->PutBuffer(spec.get(), buf.get(), len);
|
||||
rv = sc->PutBuffer(spec.get(), Move(buf), len);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
mOutputStreamTable.Remove(uri);
|
||||
mStartupCacheURITable.PutEntry(uri);
|
||||
@ -591,7 +591,7 @@ nsXULPrototypeCache::BeginCaching(nsIURI* aURI)
|
||||
buf = MakeUnique<char[]>(len);
|
||||
rv = inputStream->Read(buf.get(), len, &amtRead);
|
||||
if (NS_SUCCEEDED(rv) && len == amtRead)
|
||||
rv = startupCache->PutBuffer(kXULCacheInfoKey, buf.get(), len);
|
||||
rv = startupCache->PutBuffer(kXULCacheInfoKey, Move(buf), len);
|
||||
else {
|
||||
rv = NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
|
@ -199,6 +199,7 @@ nsXULPrototypeDocument::Read(nsIObjectInputStream* aStream)
|
||||
tmp = aStream->Read32(&type);
|
||||
if (NS_FAILED(tmp)) {
|
||||
rv = tmp;
|
||||
break;
|
||||
}
|
||||
|
||||
if ((nsXULPrototypeNode::Type)type == nsXULPrototypeNode::eType_PI) {
|
||||
|
@ -59,7 +59,8 @@ WebRenderCommandBuilder::BuildWebRenderCommands(wr::DisplayListBuilder& aBuilder
|
||||
nsDisplayList* aDisplayList,
|
||||
nsDisplayListBuilder* aDisplayListBuilder,
|
||||
WebRenderScrollData& aScrollData,
|
||||
wr::LayoutSize& aContentSize)
|
||||
wr::LayoutSize& aContentSize,
|
||||
const nsTArray<wr::WrFilterOp>& aFilters)
|
||||
{
|
||||
{ // scoping for StackingContextHelper RAII
|
||||
|
||||
@ -72,7 +73,7 @@ WebRenderCommandBuilder::BuildWebRenderCommands(wr::DisplayListBuilder& aBuilder
|
||||
mScrollingHelper.BeginBuild(mManager, aBuilder);
|
||||
|
||||
{
|
||||
StackingContextHelper pageRootSc(sc, aBuilder);
|
||||
StackingContextHelper pageRootSc(sc, aBuilder, aFilters);
|
||||
CreateWebRenderCommandsFromDisplayList(aDisplayList, aDisplayListBuilder,
|
||||
pageRootSc, aBuilder, aResourceUpdates);
|
||||
}
|
||||
|
@ -51,7 +51,8 @@ public:
|
||||
nsDisplayList* aDisplayList,
|
||||
nsDisplayListBuilder* aDisplayListBuilder,
|
||||
WebRenderScrollData& aScrollData,
|
||||
wr::LayoutSize& aContentSize);
|
||||
wr::LayoutSize& aContentSize,
|
||||
const nsTArray<wr::WrFilterOp>& aFilters);
|
||||
|
||||
Maybe<wr::ImageKey> CreateImageKey(nsDisplayItem* aItem,
|
||||
ImageContainer* aContainer,
|
||||
|
@ -249,7 +249,8 @@ WebRenderLayerManager::EndTransaction(DrawPaintedLayerCallback aCallback,
|
||||
|
||||
void
|
||||
WebRenderLayerManager::EndTransactionWithoutLayer(nsDisplayList* aDisplayList,
|
||||
nsDisplayListBuilder* aDisplayListBuilder)
|
||||
nsDisplayListBuilder* aDisplayListBuilder,
|
||||
const nsTArray<wr::WrFilterOp>& aFilters)
|
||||
{
|
||||
MOZ_ASSERT(aDisplayList && aDisplayListBuilder);
|
||||
WrBridge()->RemoveExpiredFontKeys();
|
||||
@ -282,7 +283,8 @@ WebRenderLayerManager::EndTransactionWithoutLayer(nsDisplayList* aDisplayList,
|
||||
aDisplayList,
|
||||
aDisplayListBuilder,
|
||||
mScrollData,
|
||||
contentSize);
|
||||
contentSize,
|
||||
aFilters);
|
||||
|
||||
mWidget->AddWindowOverlayWebRenderCommands(WrBridge(), builder, resourceUpdates);
|
||||
mWindowOverlayChanged = false;
|
||||
|
@ -69,7 +69,8 @@ public:
|
||||
virtual bool BeginTransaction() override;
|
||||
virtual bool EndEmptyTransaction(EndTransactionFlags aFlags = END_DEFAULT) override;
|
||||
void EndTransactionWithoutLayer(nsDisplayList* aDisplayList,
|
||||
nsDisplayListBuilder* aDisplayListBuilder);
|
||||
nsDisplayListBuilder* aDisplayListBuilder,
|
||||
const nsTArray<wr::WrFilterOp>& aFilters = nsTArray<wr::WrFilterOp>());
|
||||
virtual void EndTransaction(DrawPaintedLayerCallback aCallback,
|
||||
void* aCallbackData,
|
||||
EndTransactionFlags aFlags = END_DEFAULT) override;
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include "mozilla/UniquePtr.h"
|
||||
#include "mozilla/UniquePtrExtensions.h"
|
||||
#include "nsIInputStream.h"
|
||||
#include "nsReadableUtils.h"
|
||||
|
||||
#include "nsXULAppAPI.h"
|
||||
#include <dirent.h>
|
||||
@ -726,7 +727,9 @@ public:
|
||||
buf.AppendInt(entry->mFilesize);
|
||||
buf.Append(';');
|
||||
}
|
||||
mCache->PutBuffer(CACHE_KEY, buf.get(), buf.Length() + 1);
|
||||
|
||||
mCache->PutBuffer(CACHE_KEY,
|
||||
UniquePtr<char[]>(ToNewCString(buf)), buf.Length() + 1);
|
||||
}
|
||||
|
||||
// This may be called more than once (if we re-load the font list).
|
||||
@ -1568,8 +1571,12 @@ gfxFT2FontList::WillShutdown()
|
||||
mozilla::scache::StartupCache* cache =
|
||||
mozilla::scache::StartupCache::GetSingleton();
|
||||
if (cache && mJarModifiedTime > 0) {
|
||||
const size_t bufSize = sizeof(mJarModifiedTime);
|
||||
auto buf = MakeUnique<char[]>(bufSize);
|
||||
memcpy(buf.get(), &mJarModifiedTime, bufSize);
|
||||
|
||||
cache->PutBuffer(JAR_LAST_MODIFED_TIME,
|
||||
(char*)&mJarModifiedTime, sizeof(mJarModifiedTime));
|
||||
Move(buf), bufSize);
|
||||
}
|
||||
mFontNameCache = nullptr;
|
||||
}
|
||||
|
@ -370,6 +370,7 @@ pub enum WrFilterOpType {
|
||||
Saturate = 7,
|
||||
Sepia = 8,
|
||||
DropShadow = 9,
|
||||
ColorMatrix = 10,
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
@ -379,6 +380,7 @@ pub struct WrFilterOp {
|
||||
argument: c_float, // holds radius for DropShadow; value for other filters
|
||||
offset: LayoutVector2D, // only used for DropShadow
|
||||
color: ColorF, // only used for DropShadow
|
||||
matrix: [f32;20], // only used in ColorMatrix
|
||||
}
|
||||
|
||||
/// cbindgen:derive-eq=false
|
||||
@ -1424,6 +1426,7 @@ pub extern "C" fn wr_dp_push_stacking_context(state: &mut WrState,
|
||||
WrFilterOpType::DropShadow => FilterOp::DropShadow(c_filter.offset,
|
||||
c_filter.argument,
|
||||
c_filter.color),
|
||||
WrFilterOpType::ColorMatrix => FilterOp::ColorMatrix(c_filter.matrix),
|
||||
}
|
||||
}).collect();
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* Generated with cbindgen:0.4.4 */
|
||||
/* Generated with cbindgen:0.5.0 */
|
||||
|
||||
/* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen.
|
||||
* To generate this file:
|
||||
@ -223,6 +223,7 @@ enum class WrFilterOpType : uint32_t {
|
||||
Saturate = 7,
|
||||
Sepia = 8,
|
||||
DropShadow = 9,
|
||||
ColorMatrix = 10,
|
||||
|
||||
Sentinel /* this must be last for serialization purposes. */
|
||||
};
|
||||
@ -676,13 +677,7 @@ struct WrFilterOp {
|
||||
float argument;
|
||||
LayoutVector2D offset;
|
||||
ColorF color;
|
||||
|
||||
bool operator==(const WrFilterOp& aOther) const {
|
||||
return filter_type == aOther.filter_type &&
|
||||
argument == aOther.argument &&
|
||||
offset == aOther.offset &&
|
||||
color == aOther.color;
|
||||
}
|
||||
float matrix[20];
|
||||
};
|
||||
|
||||
struct FontInstanceKey {
|
||||
|
@ -11,10 +11,7 @@
|
||||
#ifdef XP_WIN
|
||||
#include <windows.h>
|
||||
// we want a wmain entry point
|
||||
// but we don't want its DLL load protection, because we'll handle it here
|
||||
#define XRE_DONT_PROTECT_DLL_LOAD
|
||||
#include "nsWindowsWMain.cpp"
|
||||
#include "nsSetDllDirectory.h"
|
||||
#else
|
||||
// FIXME/cjones testing
|
||||
#include <unistd.h>
|
||||
@ -50,16 +47,6 @@ content_process_main(mozilla::Bootstrap* bootstrap, int argc, char* argv[])
|
||||
|
||||
bootstrap->XRE_SetProcessType(argv[--argc]);
|
||||
|
||||
#ifdef XP_WIN
|
||||
// For plugins, this is done in PluginProcessChild::Init, as we need to
|
||||
// avoid it for unsupported plugins. See PluginProcessChild::Init for
|
||||
// the details.
|
||||
if (bootstrap->XRE_GetProcessType() != GeckoProcessType_Plugin) {
|
||||
mozilla::SanitizeEnvironmentVariables();
|
||||
SetDllDirectoryW(L"");
|
||||
}
|
||||
#endif
|
||||
|
||||
nsresult rv = bootstrap->XRE_InitChildProcess(argc, argv, &childData);
|
||||
return NS_FAILED(rv);
|
||||
}
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "irregexp/RegExpEngine.h"
|
||||
#include "irregexp/RegExpParser.h"
|
||||
#endif
|
||||
#include "jit/BaselineJIT.h"
|
||||
#include "jit/InlinableNatives.h"
|
||||
#include "js/Debug.h"
|
||||
#include "js/HashTable.h"
|
||||
@ -37,6 +38,8 @@
|
||||
#include "js/UniquePtr.h"
|
||||
#include "js/Vector.h"
|
||||
#include "js/Wrapper.h"
|
||||
#include "vm/AsyncFunction.h"
|
||||
#include "vm/AsyncIteration.h"
|
||||
#include "vm/Debugger.h"
|
||||
#include "vm/GlobalObject.h"
|
||||
#include "vm/Interpreter.h"
|
||||
@ -278,6 +281,17 @@ GetBuildConfiguration(JSContext* cx, unsigned argc, Value* vp)
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
ReturnStringCopy(JSContext* cx, CallArgs& args, const char* message)
|
||||
{
|
||||
JSString* str = JS_NewStringCopyZ(cx, message);
|
||||
if (!str)
|
||||
return false;
|
||||
|
||||
args.rval().setString(str);
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
GC(JSContext* cx, unsigned argc, Value* vp)
|
||||
{
|
||||
@ -327,11 +341,7 @@ GC(JSContext* cx, unsigned argc, Value* vp)
|
||||
SprintfLiteral(buf, "before %zu, after %zu\n",
|
||||
preBytes, cx->runtime()->gc.usage.gcBytes());
|
||||
#endif
|
||||
JSString* str = JS_NewStringCopyZ(cx, buf);
|
||||
if (!str)
|
||||
return false;
|
||||
args.rval().setString(str);
|
||||
return true;
|
||||
return ReturnStringCopy(cx, args, buf);
|
||||
}
|
||||
|
||||
static bool
|
||||
@ -986,11 +996,7 @@ GCState(JSContext* cx, unsigned argc, Value* vp)
|
||||
}
|
||||
|
||||
const char* state = StateName(cx->runtime()->gc.state());
|
||||
JSString* str = JS_NewStringCopyZ(cx, state);
|
||||
if (!str)
|
||||
return false;
|
||||
args.rval().setString(str);
|
||||
return true;
|
||||
return ReturnStringCopy(cx, args, state);
|
||||
}
|
||||
|
||||
static bool
|
||||
@ -2507,24 +2513,12 @@ testingFunc_inJit(JSContext* cx, unsigned argc, Value* vp)
|
||||
{
|
||||
CallArgs args = CallArgsFromVp(argc, vp);
|
||||
|
||||
if (!jit::IsBaselineEnabled(cx)) {
|
||||
JSString* error = JS_NewStringCopyZ(cx, "Baseline is disabled.");
|
||||
if(!error)
|
||||
return false;
|
||||
|
||||
args.rval().setString(error);
|
||||
return true;
|
||||
}
|
||||
if (!jit::IsBaselineEnabled(cx))
|
||||
return ReturnStringCopy(cx, args, "Baseline is disabled.");
|
||||
|
||||
JSScript* script = cx->currentScript();
|
||||
if (script && script->getWarmUpResetCount() >= 20) {
|
||||
JSString* error = JS_NewStringCopyZ(cx, "Compilation is being repeatedly prevented. Giving up.");
|
||||
if (!error)
|
||||
return false;
|
||||
|
||||
args.rval().setString(error);
|
||||
return true;
|
||||
}
|
||||
if (script && script->getWarmUpResetCount() >= 20)
|
||||
return ReturnStringCopy(cx, args, "Compilation is being repeatedly prevented. Giving up.");
|
||||
|
||||
args.rval().setBoolean(cx->currentlyRunningInJit());
|
||||
return true;
|
||||
@ -2535,14 +2529,8 @@ testingFunc_inIon(JSContext* cx, unsigned argc, Value* vp)
|
||||
{
|
||||
CallArgs args = CallArgsFromVp(argc, vp);
|
||||
|
||||
if (!jit::IsIonEnabled(cx)) {
|
||||
JSString* error = JS_NewStringCopyZ(cx, "Ion is disabled.");
|
||||
if (!error)
|
||||
return false;
|
||||
|
||||
args.rval().setString(error);
|
||||
return true;
|
||||
}
|
||||
if (!jit::IsIonEnabled(cx))
|
||||
return ReturnStringCopy(cx, args, "Ion is disabled.");
|
||||
|
||||
if (cx->activation()->hasWasmExitFP()) {
|
||||
// Exited through wasm. Note this is false when the fast wasm->jit exit
|
||||
@ -2560,14 +2548,8 @@ testingFunc_inIon(JSContext* cx, unsigned argc, Value* vp)
|
||||
} else {
|
||||
// Check if we missed multiple attempts at compiling the innermost script.
|
||||
JSScript* script = cx->currentScript();
|
||||
if (script && script->getWarmUpResetCount() >= 20) {
|
||||
JSString* error = JS_NewStringCopyZ(cx, "Compilation is being repeatedly prevented. Giving up.");
|
||||
if (!error)
|
||||
return false;
|
||||
|
||||
args.rval().setString(error);
|
||||
return true;
|
||||
}
|
||||
if (script && script->getWarmUpResetCount() >= 20)
|
||||
return ReturnStringCopy(cx, args, "Compilation is being repeatedly prevented. Giving up.");
|
||||
}
|
||||
|
||||
args.rval().setBoolean(!iter.done() && iter.isIon());
|
||||
@ -3229,19 +3211,14 @@ ObjectAddress(JSContext* cx, unsigned argc, Value* vp)
|
||||
|
||||
#ifdef JS_MORE_DETERMINISTIC
|
||||
args.rval().setInt32(0);
|
||||
return true;
|
||||
#else
|
||||
void* ptr = js::UncheckedUnwrap(&args[0].toObject(), true);
|
||||
char buffer[64];
|
||||
SprintfLiteral(buffer, "%p", ptr);
|
||||
|
||||
JSString* str = JS_NewStringCopyZ(cx, buffer);
|
||||
if (!str)
|
||||
return false;
|
||||
|
||||
args.rval().setString(str);
|
||||
return ReturnStringCopy(cx, args, buffer);
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
@ -3334,12 +3311,7 @@ GetBacktrace(JSContext* cx, unsigned argc, Value* vp)
|
||||
if (!buf)
|
||||
return false;
|
||||
|
||||
RootedString str(cx);
|
||||
if (!(str = JS_NewStringCopyZ(cx, buf.get())))
|
||||
return false;
|
||||
|
||||
args.rval().setString(str);
|
||||
return true;
|
||||
return ReturnStringCopy(cx, args, buf.get());
|
||||
}
|
||||
|
||||
static bool
|
||||
@ -4829,13 +4801,8 @@ GetTimeZone(JSContext* cx, unsigned argc, Value* vp)
|
||||
|
||||
std::time_t now = std::time(nullptr);
|
||||
if (now != static_cast<std::time_t>(-1)) {
|
||||
if (const char* tz = getTimeZone(&now)) {
|
||||
JSString* str = JS_NewStringCopyZ(cx, tz);
|
||||
if (!str)
|
||||
return false;
|
||||
args.rval().setString(str);
|
||||
return true;
|
||||
}
|
||||
if (const char* tz = getTimeZone(&now))
|
||||
return ReturnStringCopy(cx, args, tz);
|
||||
}
|
||||
|
||||
args.rval().setUndefined();
|
||||
@ -4993,6 +4960,129 @@ DisableExpressionClosures(JSContext* cx, unsigned argc, Value* vp)
|
||||
return true;
|
||||
}
|
||||
|
||||
JSScript*
|
||||
js::TestingFunctionArgumentToScript(JSContext* cx,
|
||||
HandleValue v,
|
||||
JSFunction** funp /* = nullptr */)
|
||||
{
|
||||
if (v.isString()) {
|
||||
// To convert a string to a script, compile it. Parse it as an ES6 Program.
|
||||
RootedLinearString linearStr(cx, StringToLinearString(cx, v.toString()));
|
||||
if (!linearStr)
|
||||
return nullptr;
|
||||
size_t len = GetLinearStringLength(linearStr);
|
||||
AutoStableStringChars linearChars(cx);
|
||||
if (!linearChars.initTwoByte(cx, linearStr))
|
||||
return nullptr;
|
||||
const char16_t* chars = linearChars.twoByteRange().begin().get();
|
||||
|
||||
RootedScript script(cx);
|
||||
CompileOptions options(cx);
|
||||
if (!JS::Compile(cx, options, chars, len, &script))
|
||||
return nullptr;
|
||||
return script;
|
||||
}
|
||||
|
||||
RootedFunction fun(cx, JS_ValueToFunction(cx, v));
|
||||
if (!fun)
|
||||
return nullptr;
|
||||
|
||||
// Unwrap bound functions.
|
||||
while (fun->isBoundFunction()) {
|
||||
JSObject* target = fun->getBoundFunctionTarget();
|
||||
if (target && target->is<JSFunction>())
|
||||
fun = &target->as<JSFunction>();
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
// Get unwrapped async function.
|
||||
if (IsWrappedAsyncFunction(fun))
|
||||
fun = GetUnwrappedAsyncFunction(fun);
|
||||
if (IsWrappedAsyncGenerator(fun))
|
||||
fun = GetUnwrappedAsyncGenerator(fun);
|
||||
|
||||
if (!fun->isInterpreted()) {
|
||||
JS_ReportErrorNumberASCII(cx, GetErrorMessage, nullptr, JSMSG_TESTING_SCRIPTS_ONLY);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
JSScript* script = JSFunction::getOrCreateScript(cx, fun);
|
||||
if (!script)
|
||||
return nullptr;
|
||||
|
||||
if (funp)
|
||||
*funp = fun;
|
||||
|
||||
return script;
|
||||
}
|
||||
|
||||
static bool
|
||||
BaselineCompile(JSContext* cx, unsigned argc, Value* vp)
|
||||
{
|
||||
CallArgs args = CallArgsFromVp(argc, vp);
|
||||
RootedObject callee(cx, &args.callee());
|
||||
|
||||
RootedScript script(cx);
|
||||
if (args.length() == 0) {
|
||||
NonBuiltinScriptFrameIter iter(cx);
|
||||
if (iter.done()) {
|
||||
ReportUsageErrorASCII(cx, callee, "no script argument and no script caller");
|
||||
return false;
|
||||
}
|
||||
script = iter.script();
|
||||
} else {
|
||||
script = TestingFunctionArgumentToScript(cx, args[0]);
|
||||
if (!script)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool forceDebug = false;
|
||||
if (args.length() > 1) {
|
||||
if (args.length() > 2) {
|
||||
ReportUsageErrorASCII(cx, callee, "too many arguments");
|
||||
return false;
|
||||
}
|
||||
if (!args[1].isBoolean() && !args[1].isUndefined()) {
|
||||
ReportUsageErrorASCII(cx, callee, "forceDebugInstrumentation argument should be boolean");
|
||||
return false;
|
||||
}
|
||||
forceDebug = ToBoolean(args[1]);
|
||||
}
|
||||
|
||||
if (script->hasBaselineScript()) {
|
||||
if (forceDebug && !script->baselineScript()->hasDebugInstrumentation()) {
|
||||
// There isn't an easy way to do this for a script that might be on
|
||||
// stack right now. See js::jit::RecompileOnStackBaselineScriptsForDebugMode.
|
||||
ReportUsageErrorASCII(cx, callee,
|
||||
"unsupported case: recompiling script for debug mode");
|
||||
return false;
|
||||
}
|
||||
|
||||
args.rval().setUndefined();
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!jit::IsBaselineEnabled(cx))
|
||||
return ReturnStringCopy(cx, args, "baseline disabled");
|
||||
if (!script->canBaselineCompile())
|
||||
return ReturnStringCopy(cx, args, "can't compile");
|
||||
|
||||
jit::MethodStatus status = jit::BaselineCompile(cx, script, forceDebug);
|
||||
switch (status) {
|
||||
case jit::Method_Error:
|
||||
return false;
|
||||
case jit::Method_CantCompile:
|
||||
return ReturnStringCopy(cx, args, "can't compile");
|
||||
case jit::Method_Skipped:
|
||||
return ReturnStringCopy(cx, args, "skipped");
|
||||
case jit::Method_Compiled:
|
||||
args.rval().setUndefined();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static const JSFunctionSpecWithHelp TestingFunctions[] = {
|
||||
JS_FN_HELP("gc", ::GC, 0, 0,
|
||||
"gc([obj] | 'zone' [, 'shrinking'])",
|
||||
@ -5622,6 +5712,15 @@ gc::ZealModeHelpText),
|
||||
"disableExpressionClosures()",
|
||||
" Disables the deprecated, non-standard expression closures.\n"),
|
||||
|
||||
JS_FN_HELP("baselineCompile", BaselineCompile, 2, 0,
|
||||
"baselineCompile([fun/code], forceDebugInstrumentation=false)",
|
||||
" Baseline-compiles the given JS function or script.\n"
|
||||
" Without arguments, baseline-compiles the caller's script; but note\n"
|
||||
" that extra boilerplate is needed afterwards to cause the VM to start\n"
|
||||
" running the jitcode rather than staying in the interpreter:\n"
|
||||
" baselineCompile(); for (var i=0; i<1; i++) {} ...\n"
|
||||
" The interpreter will enter the new jitcode at the loop header.\n"),
|
||||
|
||||
JS_FS_HELP_END
|
||||
};
|
||||
|
||||
|
@ -20,6 +20,9 @@ testingFunc_assertFloat32(JSContext* cx, unsigned argc, Value* vp);
|
||||
MOZ_MUST_USE bool
|
||||
testingFunc_assertRecoveredOnBailout(JSContext* cx, unsigned argc, Value* vp);
|
||||
|
||||
extern JSScript*
|
||||
TestingFunctionArgumentToScript(JSContext* cx, HandleValue v, JSFunction** funp = nullptr);
|
||||
|
||||
} /* namespace js */
|
||||
|
||||
#endif /* builtin_TestingFunctions_h */
|
||||
|
@ -182,7 +182,11 @@ js::AllocateString(JSContext* cx, InitialHeap heap)
|
||||
if (!rt->gc.checkAllocatorState<allowGC>(cx, kind))
|
||||
return nullptr;
|
||||
|
||||
if (cx->nursery().isEnabled() && heap != TenuredHeap && cx->nursery().canAllocateStrings()) {
|
||||
if (cx->nursery().isEnabled() &&
|
||||
heap != TenuredHeap &&
|
||||
cx->nursery().canAllocateStrings() &&
|
||||
cx->zone()->allocNurseryStrings)
|
||||
{
|
||||
auto str = static_cast<StringAllocT*>(rt->gc.tryNewNurseryString<allowGC>(cx, size, kind));
|
||||
if (str)
|
||||
return str;
|
||||
|
@ -123,7 +123,7 @@ js::Nursery::Nursery(JSRuntime* rt)
|
||||
, previousPromotionRate_(0)
|
||||
, profileThreshold_(0)
|
||||
, enableProfiling_(false)
|
||||
, canAllocateStrings_(false)
|
||||
, canAllocateStrings_(true)
|
||||
, reportTenurings_(0)
|
||||
, minorGCTriggerReason_(JS::gcreason::NO_REASON)
|
||||
, minorGcCount_(0)
|
||||
@ -132,9 +132,9 @@ js::Nursery::Nursery(JSRuntime* rt)
|
||||
, lastCanary_(nullptr)
|
||||
#endif
|
||||
{
|
||||
const char* env = getenv("MOZ_ENABLE_NURSERY_STRINGS");
|
||||
const char* env = getenv("MOZ_DISABLE_NURSERY_STRINGS");
|
||||
if (env && *env)
|
||||
canAllocateStrings_ = true;
|
||||
canAllocateStrings_ = false;
|
||||
}
|
||||
|
||||
bool
|
||||
@ -738,21 +738,40 @@ js::Nursery::collect(JS::gcreason::Reason reason)
|
||||
bool validPromotionRate;
|
||||
const float promotionRate = calcPromotionRate(&validPromotionRate);
|
||||
uint32_t pretenureCount = 0;
|
||||
if (validPromotionRate) {
|
||||
if (promotionRate > 0.8 || IsFullStoreBufferReason(reason)) {
|
||||
JSContext* cx = TlsContext.get();
|
||||
for (auto& entry : tenureCounts.entries) {
|
||||
if (entry.count >= 3000) {
|
||||
ObjectGroup* group = entry.group;
|
||||
if (group->canPreTenure() && group->zone()->group()->canEnterWithoutYielding(cx)) {
|
||||
AutoCompartment ac(cx, group);
|
||||
group->setShouldPreTenure(cx);
|
||||
pretenureCount++;
|
||||
}
|
||||
bool shouldPretenure = (validPromotionRate && promotionRate > 0.6) ||
|
||||
IsFullStoreBufferReason(reason);
|
||||
|
||||
if (shouldPretenure) {
|
||||
JSContext* cx = TlsContext.get();
|
||||
for (auto& entry : tenureCounts.entries) {
|
||||
if (entry.count >= 3000) {
|
||||
ObjectGroup* group = entry.group;
|
||||
if (group->canPreTenure() && group->zone()->group()->canEnterWithoutYielding(cx)) {
|
||||
AutoCompartment ac(cx, group);
|
||||
group->setShouldPreTenure(cx);
|
||||
pretenureCount++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
for (ZonesIter zone(rt, SkipAtoms); !zone.done(); zone.next()) {
|
||||
if (shouldPretenure && zone->allocNurseryStrings && zone->tenuredStrings >= 30 * 1000) {
|
||||
JSRuntime::AutoProhibitActiveContextChange apacc(rt);
|
||||
CancelOffThreadIonCompile(zone);
|
||||
bool preserving = zone->isPreservingCode();
|
||||
zone->setPreservingCode(false);
|
||||
zone->discardJitCode(rt->defaultFreeOp());
|
||||
zone->setPreservingCode(preserving);
|
||||
for (CompartmentsInZoneIter c(zone); !c.done(); c.next()) {
|
||||
if (jit::JitCompartment* jitComp = c->jitCompartment()) {
|
||||
jitComp->discardStubs();
|
||||
jitComp->stringsCanBeInNursery = false;
|
||||
}
|
||||
}
|
||||
zone->allocNurseryStrings = false;
|
||||
}
|
||||
zone->tenuredStrings = 0;
|
||||
}
|
||||
endProfile(ProfileKey::Pretenure);
|
||||
|
||||
// We ignore gcMaxBytes when allocating for minor collection. However, if we
|
||||
@ -1086,7 +1105,7 @@ js::Nursery::setStartPosition()
|
||||
void
|
||||
js::Nursery::maybeResizeNursery(JS::gcreason::Reason reason)
|
||||
{
|
||||
static const double GrowThreshold = 0.05;
|
||||
static const double GrowThreshold = 0.03;
|
||||
static const double ShrinkThreshold = 0.01;
|
||||
unsigned newMaxNurseryChunks;
|
||||
|
||||
|
@ -46,6 +46,8 @@ JS::Zone::Zone(JSRuntime* rt, ZoneGroup* group)
|
||||
usage(&rt->gc.usage),
|
||||
threshold(),
|
||||
gcDelayBytes(0),
|
||||
tenuredStrings(group, 0),
|
||||
allocNurseryStrings(group, true),
|
||||
propertyTree_(group, this),
|
||||
baseShapes_(group, this),
|
||||
initialShapes_(group, this),
|
||||
|
@ -482,6 +482,9 @@ struct Zone : public JS::shadow::Zone,
|
||||
// the current GC.
|
||||
js::UnprotectedData<size_t> gcDelayBytes;
|
||||
|
||||
js::ZoneGroupData<uint32_t> tenuredStrings;
|
||||
js::ZoneGroupData<bool> allocNurseryStrings;
|
||||
|
||||
private:
|
||||
// Shared Shape property tree.
|
||||
js::ZoneGroupData<js::PropertyTree> propertyTree_;
|
||||
|
@ -13,8 +13,10 @@ function f() {
|
||||
{
|
||||
for (var len of [ 3, 30, 300, 3000, 30000 ]) {
|
||||
var arr = new ctor(len);
|
||||
for (var i = 0; i < arr.length; i++)
|
||||
assertEq(arr[i], 0, "index " + i + " of " + ctor.name + " len " + len);
|
||||
for (var i = 0; i < arr.length; i++) {
|
||||
if (arr[i] != 0)
|
||||
assertEq(arr[i], 0, "index " + i + " of " + ctor.name + " len " + len);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
20
js/src/jit-test/tests/self-test/baselineCompile.js
Normal file
20
js/src/jit-test/tests/self-test/baselineCompile.js
Normal file
@ -0,0 +1,20 @@
|
||||
// Check that the help text for baselineCompile() is accurate.
|
||||
|
||||
if (typeof inJit == "function" && typeof baselineCompile == "function") {
|
||||
if (!inJit()) {
|
||||
|
||||
baselineCompile(); // compile the current script
|
||||
|
||||
assertEq(inJit(), false,
|
||||
"We have compiled this script to baseline jitcode, but shouldn't " +
|
||||
"be running it yet, according to the help text for baselineCompile() " +
|
||||
"in TestingFunctions.cpp. If you fail this assertion, nice work, and " +
|
||||
"please update the help text!");
|
||||
|
||||
for (var i=0; i<1; i++) {} // exact boilerplate suggested by the help text
|
||||
|
||||
assertEq(inJit(), true,
|
||||
"help text in TestingFunctions.cpp claims the above loop causes " +
|
||||
"the interpreter to start running the new baseline jitcode");
|
||||
}
|
||||
}
|
@ -205,7 +205,9 @@ CompileZone::addressOfStringNurseryCurrentEnd()
|
||||
bool
|
||||
CompileZone::canNurseryAllocateStrings()
|
||||
{
|
||||
return nurseryExists() && zone()->group()->nursery().canAllocateStrings();
|
||||
return nurseryExists() &&
|
||||
zone()->group()->nursery().canAllocateStrings() &&
|
||||
zone()->allocNurseryStrings;
|
||||
}
|
||||
|
||||
bool
|
||||
|
@ -610,6 +610,13 @@ class JitCompartment
|
||||
return stringConcatStub_;
|
||||
}
|
||||
|
||||
void discardStubs() {
|
||||
stringConcatStub_ = nullptr;
|
||||
regExpMatcherStub_ = nullptr;
|
||||
regExpSearcherStub_ = nullptr;
|
||||
regExpTesterStub_ = nullptr;
|
||||
}
|
||||
|
||||
JitCode* regExpMatcherStubNoBarrier() const {
|
||||
return regExpMatcherStub_;
|
||||
}
|
||||
|
@ -111,6 +111,24 @@ CodeGeneratorMIPSShared::branchToBlock(Assembler::FloatFormat fmt, FloatRegister
|
||||
}
|
||||
}
|
||||
|
||||
FrameSizeClass
|
||||
FrameSizeClass::FromDepth(uint32_t frameDepth)
|
||||
{
|
||||
return FrameSizeClass::None();
|
||||
}
|
||||
|
||||
FrameSizeClass
|
||||
FrameSizeClass::ClassLimit()
|
||||
{
|
||||
return FrameSizeClass(0);
|
||||
}
|
||||
|
||||
uint32_t
|
||||
FrameSizeClass::frameSize() const
|
||||
{
|
||||
MOZ_CRASH("MIPS does not use frame size classes");
|
||||
}
|
||||
|
||||
void
|
||||
OutOfLineBailout::accept(CodeGeneratorMIPSShared* codegen)
|
||||
{
|
||||
@ -1507,6 +1525,17 @@ CodeGeneratorMIPSShared::visitWasmTruncateToInt32(LWasmTruncateToInt32* lir)
|
||||
masm.bind(ool->rejoin());
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
CodeGeneratorMIPSShared::visitOutOfLineBailout(OutOfLineBailout* ool)
|
||||
{
|
||||
// Push snapshotOffset and make sure stack is aligned.
|
||||
masm.subPtr(Imm32(sizeof(Value)), StackPointer);
|
||||
masm.storePtr(ImmWord(ool->snapshot()->snapshotOffset()), Address(StackPointer, 0));
|
||||
|
||||
masm.jump(&deoptLabel_);
|
||||
}
|
||||
|
||||
void
|
||||
CodeGeneratorMIPSShared::visitOutOfLineWasmTruncateCheck(OutOfLineWasmTruncateCheck* ool)
|
||||
{
|
||||
@ -1563,7 +1592,7 @@ CodeGeneratorMIPSShared::visitCopySignD(LCopySignD* ins)
|
||||
void
|
||||
CodeGeneratorMIPSShared::visitValue(LValue* value)
|
||||
{
|
||||
const ValueOperand out = ToOutValue(value);
|
||||
const ValueOperand out = GetValueOutput(value);
|
||||
|
||||
masm.moveValue(value->value(), out);
|
||||
}
|
||||
|
@ -12,9 +12,12 @@
|
||||
namespace js {
|
||||
namespace jit {
|
||||
|
||||
class CodeGeneratorMIPSShared;
|
||||
class OutOfLineBailout;
|
||||
class OutOfLineTableSwitch;
|
||||
|
||||
using OutOfLineWasmTruncateCheck = OutOfLineWasmTruncateCheckBase<CodeGeneratorMIPSShared>;
|
||||
|
||||
class CodeGeneratorMIPSShared : public CodeGeneratorShared
|
||||
{
|
||||
friend class MoveResolverMIPS;
|
||||
@ -189,14 +192,11 @@ class CodeGeneratorMIPSShared : public CodeGeneratorShared
|
||||
void visitWasmTruncateToInt32(LWasmTruncateToInt32* lir);
|
||||
|
||||
// Out of line visitors.
|
||||
virtual void visitOutOfLineBailout(OutOfLineBailout* ool) = 0;
|
||||
void visitOutOfLineBailout(OutOfLineBailout* ool);
|
||||
void visitOutOfLineWasmTruncateCheck(OutOfLineWasmTruncateCheck* ool);
|
||||
void visitCopySignD(LCopySignD* ins);
|
||||
void visitCopySignF(LCopySignF* ins);
|
||||
|
||||
protected:
|
||||
virtual ValueOperand ToOutValue(LInstruction* ins) = 0;
|
||||
|
||||
public:
|
||||
CodeGeneratorMIPSShared(MIRGenerator* gen, LIRGraph* graph, MacroAssembler* masm);
|
||||
|
||||
|
@ -47,16 +47,6 @@ class js::jit::OutOfLineTableSwitch : public OutOfLineCodeBase<CodeGeneratorMIPS
|
||||
}
|
||||
};
|
||||
|
||||
void
|
||||
CodeGeneratorMIPS::visitOutOfLineBailout(OutOfLineBailout* ool)
|
||||
{
|
||||
// Push snapshotOffset and make sure stack is aligned.
|
||||
masm.subPtr(Imm32(2 * sizeof(void*)), StackPointer);
|
||||
masm.storePtr(ImmWord(ool->snapshot()->snapshotOffset()), Address(StackPointer, 0));
|
||||
|
||||
masm.jump(&deoptLabel_);
|
||||
}
|
||||
|
||||
void
|
||||
CodeGeneratorMIPS::visitOutOfLineTableSwitch(OutOfLineTableSwitch* ool)
|
||||
{
|
||||
@ -109,33 +99,6 @@ CodeGeneratorMIPS::emitTableSwitchDispatch(MTableSwitch* mir, Register index,
|
||||
masm.branch(address);
|
||||
}
|
||||
|
||||
static const uint32_t FrameSizes[] = { 128, 256, 512, 1024 };
|
||||
|
||||
FrameSizeClass
|
||||
FrameSizeClass::FromDepth(uint32_t frameDepth)
|
||||
{
|
||||
for (uint32_t i = 0; i < mozilla::ArrayLength(FrameSizes); i++) {
|
||||
if (frameDepth < FrameSizes[i])
|
||||
return FrameSizeClass(i);
|
||||
}
|
||||
|
||||
return FrameSizeClass::None();
|
||||
}
|
||||
|
||||
FrameSizeClass
|
||||
FrameSizeClass::ClassLimit()
|
||||
{
|
||||
return FrameSizeClass(mozilla::ArrayLength(FrameSizes));
|
||||
}
|
||||
|
||||
uint32_t
|
||||
FrameSizeClass::frameSize() const
|
||||
{
|
||||
MOZ_ASSERT(class_ != NO_FRAME_SIZE_CLASS_ID);
|
||||
MOZ_ASSERT(class_ < mozilla::ArrayLength(FrameSizes));
|
||||
|
||||
return FrameSizes[class_];
|
||||
}
|
||||
|
||||
ValueOperand
|
||||
CodeGeneratorMIPS::ToValue(LInstruction* ins, size_t pos)
|
||||
|
@ -46,14 +46,6 @@ class js::jit::OutOfLineTableSwitch : public OutOfLineCodeBase<CodeGeneratorMIPS
|
||||
}
|
||||
};
|
||||
|
||||
void
|
||||
CodeGeneratorMIPS64::visitOutOfLineBailout(OutOfLineBailout* ool)
|
||||
{
|
||||
masm.push(ImmWord(ool->snapshot()->snapshotOffset()));
|
||||
|
||||
masm.jump(&deoptLabel_);
|
||||
}
|
||||
|
||||
void
|
||||
CodeGeneratorMIPS64::visitOutOfLineTableSwitch(OutOfLineTableSwitch* ool)
|
||||
{
|
||||
@ -111,24 +103,6 @@ CodeGeneratorMIPS64::emitTableSwitchDispatch(MTableSwitch* mir, Register index,
|
||||
masm.branch(address);
|
||||
}
|
||||
|
||||
FrameSizeClass
|
||||
FrameSizeClass::FromDepth(uint32_t frameDepth)
|
||||
{
|
||||
return FrameSizeClass::None();
|
||||
}
|
||||
|
||||
FrameSizeClass
|
||||
FrameSizeClass::ClassLimit()
|
||||
{
|
||||
return FrameSizeClass(0);
|
||||
}
|
||||
|
||||
uint32_t
|
||||
FrameSizeClass::frameSize() const
|
||||
{
|
||||
MOZ_CRASH("MIPS64 does not use frame size classes");
|
||||
}
|
||||
|
||||
ValueOperand
|
||||
CodeGeneratorMIPS64::ToValue(LInstruction* ins, size_t pos)
|
||||
{
|
||||
|
@ -482,6 +482,9 @@ MSG_DEF(JSMSG_DEBUG_PROMISE_NOT_FULFILLED, 0, JSEXN_TYPEERR, "Promise hasn't bee
|
||||
MSG_DEF(JSMSG_DEBUG_PROMISE_NOT_REJECTED, 0, JSEXN_TYPEERR, "Promise hasn't been rejected")
|
||||
MSG_DEF(JSMSG_DEBUG_NO_BINARY_SOURCE, 0, JSEXN_ERR, "WebAssembly binary source is not available")
|
||||
|
||||
// Testing functions
|
||||
MSG_DEF(JSMSG_TESTING_SCRIPTS_ONLY, 0, JSEXN_TYPEERR, "only works on scripts")
|
||||
|
||||
// Tracelogger
|
||||
MSG_DEF(JSMSG_TRACELOGGER_ENABLE_FAIL, 1, JSEXN_ERR, "enabling tracelogger failed: {0}")
|
||||
|
||||
|
@ -13,7 +13,6 @@ MSG_DEF(JSSMSG_CANT_OPEN, 2, JSEXN_ERR, "can't open {0}: {1}")
|
||||
MSG_DEF(JSSMSG_LINE2PC_USAGE, 0, JSEXN_ERR, "usage: line2pc [fun] line")
|
||||
MSG_DEF(JSSMSG_FILE_SCRIPTS_ONLY, 0, JSEXN_ERR, "only works on JS scripts read from files")
|
||||
MSG_DEF(JSSMSG_UNEXPECTED_EOF, 1, JSEXN_ERR, "unexpected EOF in {0}")
|
||||
MSG_DEF(JSSMSG_SCRIPTS_ONLY, 0, JSEXN_ERR, "only works on scripts")
|
||||
MSG_DEF(JSSMSG_NOT_ENOUGH_ARGS, 1, JSEXN_ERR, "{0}: not enough arguments")
|
||||
MSG_DEF(JSSMSG_TOO_MANY_ARGS, 1, JSEXN_ERR, "{0}: too many arguments")
|
||||
MSG_DEF(JSSMSG_ASSERT_EQ_FAILED, 2, JSEXN_ERR, "Assertion failed: got {0}, expected {1}")
|
||||
|
@ -92,8 +92,6 @@
|
||||
#include "threading/Thread.h"
|
||||
#include "util/Windows.h"
|
||||
#include "vm/ArgumentsObject.h"
|
||||
#include "vm/AsyncFunction.h"
|
||||
#include "vm/AsyncIteration.h"
|
||||
#include "vm/Compression.h"
|
||||
#include "vm/Debugger.h"
|
||||
#include "vm/HelperThreads.h"
|
||||
@ -2452,61 +2450,6 @@ AssertEq(JSContext* cx, unsigned argc, Value* vp)
|
||||
return true;
|
||||
}
|
||||
|
||||
static JSScript*
|
||||
ValueToScript(JSContext* cx, HandleValue v, JSFunction** funp = nullptr)
|
||||
{
|
||||
if (v.isString()) {
|
||||
// To convert a string to a script, compile it. Parse it as an ES6 Program.
|
||||
RootedLinearString linearStr(cx, StringToLinearString(cx, v.toString()));
|
||||
if (!linearStr)
|
||||
return nullptr;
|
||||
size_t len = GetLinearStringLength(linearStr);
|
||||
AutoStableStringChars linearChars(cx);
|
||||
if (!linearChars.initTwoByte(cx, linearStr))
|
||||
return nullptr;
|
||||
const char16_t* chars = linearChars.twoByteRange().begin().get();
|
||||
|
||||
RootedScript script(cx);
|
||||
CompileOptions options(cx);
|
||||
if (!JS::Compile(cx, options, chars, len, &script))
|
||||
return nullptr;
|
||||
return script;
|
||||
}
|
||||
|
||||
RootedFunction fun(cx, JS_ValueToFunction(cx, v));
|
||||
if (!fun)
|
||||
return nullptr;
|
||||
|
||||
// Unwrap bound functions.
|
||||
while (fun->isBoundFunction()) {
|
||||
JSObject* target = fun->getBoundFunctionTarget();
|
||||
if (target && target->is<JSFunction>())
|
||||
fun = &target->as<JSFunction>();
|
||||
else
|
||||
break;
|
||||
}
|
||||
|
||||
// Get unwrapped async function.
|
||||
if (IsWrappedAsyncFunction(fun))
|
||||
fun = GetUnwrappedAsyncFunction(fun);
|
||||
if (IsWrappedAsyncGenerator(fun))
|
||||
fun = GetUnwrappedAsyncGenerator(fun);
|
||||
|
||||
if (!fun->isInterpreted()) {
|
||||
JS_ReportErrorNumberASCII(cx, my_GetErrorMessage, nullptr, JSSMSG_SCRIPTS_ONLY);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
JSScript* script = JSFunction::getOrCreateScript(cx, fun);
|
||||
if (!script)
|
||||
return nullptr;
|
||||
|
||||
if (funp)
|
||||
*funp = fun;
|
||||
|
||||
return script;
|
||||
}
|
||||
|
||||
static JSScript*
|
||||
GetTopScript(JSContext* cx)
|
||||
{
|
||||
@ -2525,7 +2468,7 @@ GetScriptAndPCArgs(JSContext* cx, CallArgs& args, MutableHandleScript scriptp,
|
||||
unsigned intarg = 0;
|
||||
if (v.isObject() &&
|
||||
JS_GetClass(&v.toObject()) == Jsvalify(&JSFunction::class_)) {
|
||||
script = ValueToScript(cx, v);
|
||||
script = TestingFunctionArgumentToScript(cx, v);
|
||||
if (!script)
|
||||
return false;
|
||||
intarg++;
|
||||
@ -2558,7 +2501,7 @@ LineToPC(JSContext* cx, unsigned argc, Value* vp)
|
||||
RootedScript script(cx, GetTopScript(cx));
|
||||
int32_t lineArg = 0;
|
||||
if (args[0].isObject() && args[0].toObject().is<JSFunction>()) {
|
||||
script = ValueToScript(cx, args[0]);
|
||||
script = TestingFunctionArgumentToScript(cx, args[0]);
|
||||
if (!script)
|
||||
return false;
|
||||
lineArg++;
|
||||
@ -2764,7 +2707,7 @@ Notes(JSContext* cx, unsigned argc, Value* vp)
|
||||
return false;
|
||||
|
||||
for (unsigned i = 0; i < args.length(); i++) {
|
||||
RootedScript script (cx, ValueToScript(cx, args[i]));
|
||||
RootedScript script (cx, TestingFunctionArgumentToScript(cx, args[i]));
|
||||
if (!script)
|
||||
return false;
|
||||
|
||||
@ -3002,7 +2945,7 @@ DisassembleToSprinter(JSContext* cx, unsigned argc, Value* vp, Sprinter* sprinte
|
||||
if (value.isObject() && value.toObject().is<ModuleObject>())
|
||||
script = value.toObject().as<ModuleObject>().script();
|
||||
else
|
||||
script = ValueToScript(cx, value, fun.address());
|
||||
script = TestingFunctionArgumentToScript(cx, value, fun.address());
|
||||
if (!script)
|
||||
return false;
|
||||
if (!DisassembleScript(cx, script, fun, p.lines, p.recursive, p.sourceNotes, sprinter))
|
||||
@ -3122,7 +3065,7 @@ DisassWithSrc(JSContext* cx, unsigned argc, Value* vp)
|
||||
|
||||
RootedScript script(cx);
|
||||
for (unsigned i = 0; i < args.length(); i++) {
|
||||
script = ValueToScript(cx, args[i]);
|
||||
script = TestingFunctionArgumentToScript(cx, args[i]);
|
||||
if (!script)
|
||||
return false;
|
||||
|
||||
@ -3317,7 +3260,7 @@ GetSLX(JSContext* cx, unsigned argc, Value* vp)
|
||||
CallArgs args = CallArgsFromVp(argc, vp);
|
||||
RootedScript script(cx);
|
||||
|
||||
script = ValueToScript(cx, args.get(0));
|
||||
script = TestingFunctionArgumentToScript(cx, args.get(0));
|
||||
if (!script)
|
||||
return false;
|
||||
args.rval().setInt32(GetScriptLineExtent(script));
|
||||
@ -9140,7 +9083,7 @@ main(int argc, char** argv, char** envp)
|
||||
|| !op.addBoolOption('\0', "no-ggc", "Disable Generational GC")
|
||||
|| !op.addBoolOption('\0', "no-cgc", "Disable Compacting GC")
|
||||
|| !op.addBoolOption('\0', "no-incremental-gc", "Disable Incremental GC")
|
||||
|| !op.addBoolOption('\0', "nursery-strings", "Allocate strings in the nursery")
|
||||
|| !op.addBoolOption('\0', "no-nursery-strings", "Do not allocate strings in the nursery")
|
||||
|| !op.addIntOption('\0', "available-memory", "SIZE",
|
||||
"Select GC settings based on available memory (MB)", 0)
|
||||
|| !op.addStringOption('\0', "arm-hwcap", "[features]",
|
||||
@ -9288,8 +9231,8 @@ main(int argc, char** argv, char** envp)
|
||||
|
||||
js::UseInternalJobQueues(cx);
|
||||
|
||||
if (op.getBoolOption("nursery-strings"))
|
||||
cx->runtime()->gc.nursery().enableStrings();
|
||||
if (op.getBoolOption("no-nursery-strings"))
|
||||
cx->runtime()->gc.nursery().disableStrings();
|
||||
|
||||
if (!JS::InitSelfHostedCode(cx))
|
||||
return 1;
|
||||
|
@ -219,6 +219,7 @@ GetSelectorRuntime(const CompilationSelector& selector)
|
||||
{
|
||||
JSRuntime* match(JSScript* script) { return script->runtimeFromActiveCooperatingThread(); }
|
||||
JSRuntime* match(JSCompartment* comp) { return comp->runtimeFromActiveCooperatingThread(); }
|
||||
JSRuntime* match(Zone* zone) { return zone->runtimeFromActiveCooperatingThread(); }
|
||||
JSRuntime* match(ZonesInState zbs) { return zbs.runtime; }
|
||||
JSRuntime* match(JSRuntime* runtime) { return runtime; }
|
||||
JSRuntime* match(AllCompilations all) { return nullptr; }
|
||||
@ -235,6 +236,7 @@ JitDataStructuresExist(const CompilationSelector& selector)
|
||||
{
|
||||
bool match(JSScript* script) { return !!script->compartment()->jitCompartment(); }
|
||||
bool match(JSCompartment* comp) { return !!comp->jitCompartment(); }
|
||||
bool match(Zone* zone) { return !!zone->jitZone(); }
|
||||
bool match(ZonesInState zbs) { return zbs.runtime->hasJitRuntime(); }
|
||||
bool match(JSRuntime* runtime) { return runtime->hasJitRuntime(); }
|
||||
bool match(AllCompilations all) { return true; }
|
||||
@ -253,6 +255,7 @@ IonBuilderMatches(const CompilationSelector& selector, jit::IonBuilder* builder)
|
||||
|
||||
bool match(JSScript* script) { return script == builder_->script(); }
|
||||
bool match(JSCompartment* comp) { return comp == builder_->script()->compartment(); }
|
||||
bool match(Zone* zone) { return zone == builder_->script()->zone(); }
|
||||
bool match(JSRuntime* runtime) { return runtime == builder_->script()->runtimeFromAnyThread(); }
|
||||
bool match(AllCompilations all) { return true; }
|
||||
bool match(ZonesInState zbs) {
|
||||
|
@ -519,6 +519,7 @@ struct CompilationsUsingNursery { JSRuntime* runtime; };
|
||||
|
||||
using CompilationSelector = mozilla::Variant<JSScript*,
|
||||
JSCompartment*,
|
||||
Zone*,
|
||||
ZonesInState,
|
||||
JSRuntime*,
|
||||
CompilationsUsingNursery,
|
||||
@ -542,6 +543,12 @@ CancelOffThreadIonCompile(JSCompartment* comp)
|
||||
CancelOffThreadIonCompile(CompilationSelector(comp), true);
|
||||
}
|
||||
|
||||
inline void
|
||||
CancelOffThreadIonCompile(Zone* zone)
|
||||
{
|
||||
CancelOffThreadIonCompile(CompilationSelector(zone), true);
|
||||
}
|
||||
|
||||
inline void
|
||||
CancelOffThreadIonCompile(JSRuntime* runtime, JS::Zone::GCState state)
|
||||
{
|
||||
|
@ -62,8 +62,11 @@ WriteCachedScript(StartupCache* cache, nsACString& uri, JSContext* cx,
|
||||
size_t size = buffer.length();
|
||||
if (size > UINT32_MAX)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
// Move the vector buffer into a unique pointer buffer.
|
||||
UniquePtr<char[]> buf(reinterpret_cast<char*>(buffer.extractOrCopyRawBuffer()));
|
||||
nsresult rv = cache->PutBuffer(PromiseFlatCString(uri).get(),
|
||||
reinterpret_cast<char*>(buffer.begin()),
|
||||
Move(buf),
|
||||
size);
|
||||
return rv;
|
||||
}
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include <shlobj.h>
|
||||
|
||||
// we want a wmain entry point
|
||||
#define XRE_DONT_PROTECT_DLL_LOAD
|
||||
#define XRE_WANT_ENVIRON
|
||||
#include "nsWindowsWMain.cpp"
|
||||
#ifdef MOZ_SANDBOX
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -7,147 +7,147 @@
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
DIRS += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn",
|
||||
"/media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn",
|
||||
"/media/webrtc/trunk/webrtc/call/call_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/media_file/media_file_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn",
|
||||
"/media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_video/common_video_gn",
|
||||
"/media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn",
|
||||
"/media/webrtc/trunk/webrtc/webrtc_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/utility/utility_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn",
|
||||
"/media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn",
|
||||
"/media/webrtc/trunk/webrtc/api/transport_api_gn",
|
||||
"/media/webrtc/trunk/webrtc/api/audio_mixer_api_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn",
|
||||
"/media/webrtc/trunk/webrtc/audio/audio_gn",
|
||||
"/media/webrtc/trunk/webrtc/api/call_api_gn",
|
||||
"/media/webrtc/trunk/webrtc/api/transport_api_gn",
|
||||
"/media/webrtc/trunk/webrtc/api/video_frame_api_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn",
|
||||
"/media/webrtc/trunk/webrtc/audio/audio_gn",
|
||||
"/media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/base/rtc_numerics_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn",
|
||||
"/media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn",
|
||||
"/media/webrtc/trunk/webrtc/voice_engine/file_player_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn",
|
||||
"/media/webrtc/trunk/webrtc/base/rtc_task_queue_gn",
|
||||
"/media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/pacing/pacing_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/call/call_interfaces_gn",
|
||||
"/media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn",
|
||||
"/media/webrtc/trunk/webrtc/base/rtc_base_approved_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn",
|
||||
"/media/webrtc/trunk/webrtc/base/gtest_prod_gn",
|
||||
"/media/webrtc/trunk/webrtc/video/video_gn",
|
||||
"/media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn",
|
||||
"/media/webrtc/trunk/webrtc/base/rtc_base_approved_gn",
|
||||
"/media/webrtc/trunk/webrtc/base/rtc_numerics_gn",
|
||||
"/media/webrtc/trunk/webrtc/base/rtc_task_queue_gn",
|
||||
"/media/webrtc/trunk/webrtc/call/call_gn",
|
||||
"/media/webrtc/trunk/webrtc/call/call_interfaces_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_video/common_video_gn",
|
||||
"/media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn",
|
||||
"/media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn",
|
||||
"/media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn",
|
||||
"/media/webrtc/trunk/webrtc/webrtc_common_gn"
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/media_file/media_file_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/pacing/pacing_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/utility/utility_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn",
|
||||
"/media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn",
|
||||
"/media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn",
|
||||
"/media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn",
|
||||
"/media/webrtc/trunk/webrtc/video/video_gn",
|
||||
"/media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn",
|
||||
"/media/webrtc/trunk/webrtc/voice_engine/file_player_gn",
|
||||
"/media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn",
|
||||
"/media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn",
|
||||
"/media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn",
|
||||
"/media/webrtc/trunk/webrtc/webrtc_common_gn",
|
||||
"/media/webrtc/trunk/webrtc/webrtc_gn"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DIRS += [
|
||||
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn"
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DIRS += [
|
||||
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/system_wrappers/cpu_features_linux_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn"
|
||||
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DIRS += [
|
||||
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/mac_portaudio_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn"
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DIRS += [
|
||||
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn"
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DIRS += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn"
|
||||
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DIRS += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn"
|
||||
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn"
|
||||
]
|
||||
|
@ -6,6 +6,17 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
@ -16,120 +27,109 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
Library("audio_mixer_api_gn")
|
||||
|
@ -6,6 +6,17 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
@ -16,120 +27,109 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
Library("call_api_gn")
|
||||
|
@ -6,6 +6,17 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
@ -16,116 +27,105 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
Library("transport_api_gn")
|
||||
|
@ -6,14 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/api/video/i420_buffer.cc",
|
||||
"/media/webrtc/trunk/webrtc/api/video/video_frame.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -22,145 +28,139 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/api/video/i420_buffer.cc",
|
||||
"/media/webrtc/trunk/webrtc/api/video/video_frame.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,16 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/audio/audio_receive_stream.cc",
|
||||
"/media/webrtc/trunk/webrtc/audio/audio_send_stream.cc",
|
||||
"/media/webrtc/trunk/webrtc/audio/audio_state.cc",
|
||||
"/media/webrtc/trunk/webrtc/audio/audio_transport_proxy.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -31,99 +35,53 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/include/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/audio/audio_receive_stream.cc",
|
||||
"/media/webrtc/trunk/webrtc/audio/audio_send_stream.cc",
|
||||
"/media/webrtc/trunk/webrtc/audio/audio_state.cc",
|
||||
"/media/webrtc/trunk/webrtc/audio/audio_transport_proxy.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
OS_LIBS += [
|
||||
"amstrmid",
|
||||
"dmoguids",
|
||||
"msdmo",
|
||||
"winmm",
|
||||
"wmcodecdspuuid"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
OS_LIBS += [
|
||||
"dl",
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log",
|
||||
"OpenSLES"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
OS_LIBS += [
|
||||
"-framework ApplicationServices",
|
||||
"-framework AudioToolbox",
|
||||
@ -132,61 +90,103 @@ if CONFIG["OS_TARGET"] == "Darwin":
|
||||
"-framework CoreVideo"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"dl",
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"amstrmid",
|
||||
"dmoguids",
|
||||
"msdmo",
|
||||
"winmm",
|
||||
"wmcodecdspuuid"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,13 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -20,137 +27,130 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,6 +6,17 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
@ -16,116 +27,105 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
Library("gtest_prod_gn")
|
||||
|
@ -6,9 +6,27 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/base64.cc",
|
||||
"/media/webrtc/trunk/webrtc/base/bitbuffer.cc",
|
||||
@ -41,163 +59,145 @@ UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/timeutils.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/file_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/base/win32.cc"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/file_posix.cc"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/file_posix.cc"
|
||||
]
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/file_posix.cc"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/file_posix.cc",
|
||||
"/media/webrtc/trunk/webrtc/base/logging_mac.mm",
|
||||
"/media/webrtc/trunk/webrtc/base/macutils.cc"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/file_posix.cc"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/file_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/base/win32.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,13 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/numerics/exp_filter.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -20,137 +27,130 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/numerics/exp_filter.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,14 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/sequenced_task_checker_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/base/weak_ptr.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -21,168 +27,162 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/sequenced_task_checker_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/base/weak_ptr.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/task_queue_win.cc"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/ipc/chromium/src/third_party/libevent/include/",
|
||||
"/ipc/chromium/src/third_party/libevent/linux/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc",
|
||||
"/media/webrtc/trunk/webrtc/base/task_queue_posix.cc"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/ipc/chromium/src/third_party/libevent/include/",
|
||||
"/ipc/chromium/src/third_party/libevent/linux/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc",
|
||||
"/media/webrtc/trunk/webrtc/base/task_queue_posix.cc"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc",
|
||||
"/media/webrtc/trunk/webrtc/base/task_queue_posix.cc"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/task_queue_gcd.cc",
|
||||
"/media/webrtc/trunk/webrtc/base/task_queue_posix.cc"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/ipc/chromium/src/third_party/libevent/include/",
|
||||
"/ipc/chromium/src/third_party/libevent/linux/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc",
|
||||
"/media/webrtc/trunk/webrtc/base/task_queue_posix.cc"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/base/task_queue_win.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,15 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/call/bitrate_allocator.cc",
|
||||
"/media/webrtc/trunk/webrtc/call/call.cc",
|
||||
"/media/webrtc/trunk/webrtc/call/flexfec_receive_stream_impl.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -22,99 +27,52 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/call/bitrate_allocator.cc",
|
||||
"/media/webrtc/trunk/webrtc/call/call.cc",
|
||||
"/media/webrtc/trunk/webrtc/call/flexfec_receive_stream_impl.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
OS_LIBS += [
|
||||
"amstrmid",
|
||||
"dmoguids",
|
||||
"msdmo",
|
||||
"winmm",
|
||||
"wmcodecdspuuid"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
OS_LIBS += [
|
||||
"dl",
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log",
|
||||
"OpenSLES"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
OS_LIBS += [
|
||||
"-framework ApplicationServices",
|
||||
"-framework AudioToolbox",
|
||||
@ -123,61 +81,103 @@ if CONFIG["OS_TARGET"] == "Darwin":
|
||||
"-framework CoreVideo"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"dl",
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"amstrmid",
|
||||
"dmoguids",
|
||||
"msdmo",
|
||||
"winmm",
|
||||
"wmcodecdspuuid"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,13 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/call/audio_send_stream_call.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -20,133 +27,126 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/call/audio_send_stream_call.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,9 +6,35 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/vad_core.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/webrtc_vad.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/fft4g.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/ring_buffer.c",
|
||||
@ -48,130 +74,123 @@ UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/vad_sp.c"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/vad_core.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/webrtc_vad.c"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse_arm.S",
|
||||
@ -179,26 +198,38 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor_arm.S"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse_arm.S",
|
||||
@ -206,47 +237,16 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor_arm.S"
|
||||
]
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
|
||||
]
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
Library("common_audio_c_gn")
|
||||
|
@ -6,9 +6,30 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/audio_converter.cc",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/audio_ring_buffer.cc",
|
||||
@ -31,155 +52,134 @@ UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/window_generator.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,15 +6,33 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/cross_correlation_neon.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/downsample_fast_neon.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/min_max_operations_neon.c"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -22,43 +40,29 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/cross_correlation_neon.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/downsample_fast_neon.c",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/min_max_operations_neon.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["NDEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
@ -67,11 +71,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
@ -80,8 +84,4 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
Library("common_audio_neon_c_gn")
|
||||
|
@ -6,14 +6,33 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/fir_filter_neon.cc",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/sinc_resampler_neon.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -21,43 +40,28 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/fir_filter_neon.cc",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/sinc_resampler_neon.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["NDEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
@ -66,11 +70,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
@ -79,8 +83,4 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
Library("common_audio_neon_gn")
|
||||
|
@ -6,14 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/fir_filter_sse.cc",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/sinc_resampler_sse.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -21,65 +27,22 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/fir_filter_sse.cc",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/sinc_resampler_sse.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
@ -87,18 +50,18 @@ if CONFIG["OS_TARGET"] == "Android":
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
@ -107,21 +70,58 @@ if CONFIG["OS_TARGET"] == "Darwin":
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
Library("common_audio_sse2_gn")
|
||||
|
@ -6,9 +6,30 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/libyuv/libyuv/include/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_video/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_video/libyuv/include/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_video/bitrate_adjuster.cc",
|
||||
"/media/webrtc/trunk/webrtc/common_video/h264/h264_bitstream_parser.cc",
|
||||
@ -25,102 +46,45 @@ UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/common_video/video_render_frames.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/libyuv/libyuv/include/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_video/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_video/libyuv/include/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
OS_LIBS += [
|
||||
"-framework CoreVideo"
|
||||
]
|
||||
@ -129,61 +93,97 @@ if CONFIG["OS_TARGET"] == "Darwin":
|
||||
"/media/webrtc/trunk/webrtc/common_video/corevideo_frame_buffer.cc"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,6 +6,17 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
@ -16,116 +27,105 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
Library("rtc_event_log_api_gn")
|
||||
|
@ -6,14 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/logging/rtc_event_log/rtc_event_log.cc",
|
||||
"/media/webrtc/trunk/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -21,151 +27,145 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/logging/rtc_event_log/rtc_event_log.cc",
|
||||
"/media/webrtc/trunk/webrtc/logging/rtc_event_log/rtc_event_log_helper_thread.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
OS_LIBS += [
|
||||
"-framework CoreVideo"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,15 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/media/base/videoadapter.cc",
|
||||
"/media/webrtc/trunk/webrtc/media/base/videobroadcaster.cc",
|
||||
"/media/webrtc/trunk/webrtc/media/base/videosourcebase.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -22,133 +27,128 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/media/base/videoadapter.cc",
|
||||
"/media/webrtc/trunk/webrtc/media/base/videobroadcaster.cc",
|
||||
"/media/webrtc/trunk/webrtc/media/base/videosourcebase.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,16 +6,22 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_CODEC_G722"] = True
|
||||
DEFINES["WEBRTC_CODEC_OPUS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receiver.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_resampler.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/audio_coding_module.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/call_statistics.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -37,65 +43,63 @@ SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/codec_manager.cc"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_CODEC_OPUS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["WEBRTC_CODEC_G722"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receiver.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_resampler.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/audio_coding_module.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/call_statistics.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
@ -105,119 +109,115 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
Library("audio_coding_gn")
|
||||
|
@ -6,6 +6,17 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
@ -16,120 +27,109 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
Library("audio_decoder_factory_interface_gn")
|
||||
|
@ -6,14 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/audio_decoder.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -21,137 +27,131 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/audio_decoder.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,13 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/audio_encoder.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -20,137 +27,130 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/audio_encoder.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,13 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/audio_format_conversion.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -20,137 +27,130 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/audio_format_conversion.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,13 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/audio_format.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -20,133 +27,126 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/audio_format.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,9 +6,30 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl.cc",
|
||||
@ -22,155 +43,134 @@ UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,13 +6,22 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_CODEC_G722"] = True
|
||||
DEFINES["WEBRTC_CODEC_OPUS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -25,65 +34,60 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_CODEC_OPUS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["WEBRTC_CODEC_G722"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
@ -93,119 +97,115 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
Library("builtin_audio_decoder_factory_gn")
|
||||
|
@ -6,14 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/cng/webrtc_cng.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -25,145 +31,139 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/cng/webrtc_cng.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,14 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/g711.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/g711_interface.c"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -21,133 +27,127 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/g711.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/g711_interface.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,14 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/audio_encoder_pcm.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -22,137 +28,131 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g711/audio_encoder_pcm.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,13 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g722/g722_interface.c"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -25,133 +32,126 @@ SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g722/g722_encode.c"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g722/g722_interface.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,14 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -22,137 +28,131 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,9 +6,32 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/arith_routines_hist.c",
|
||||
@ -40,158 +63,135 @@ UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/transform.c"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,13 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/locked_bandwidth_info.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -20,137 +27,130 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/locked_bandwidth_info.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,9 +6,36 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/arith_routines_hist.c",
|
||||
@ -37,205 +64,196 @@ UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_tables.c"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter.c"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_armv7.S",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_armv6.S"
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_armv7.S",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_armv6.S"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_armv7.S",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_armv6.S"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
@ -245,22 +263,4 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
|
||||
]
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
Library("isac_fix_c_gn")
|
||||
|
@ -6,14 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/audio_decoder_isacfix.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/audio_encoder_isacfix.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -26,145 +32,139 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/audio_decoder_isacfix.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/audio_encoder_isacfix.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,14 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/audio_decoder_isac.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -23,146 +29,140 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/audio_decoder_isac.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,17 +6,33 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding_neon.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_neon.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/filters_neon.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_neon.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_neon.c"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -33,43 +49,31 @@ OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding_neon.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_neon.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/filters_neon.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_neon.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/transform_neon.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["NDEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
@ -78,11 +82,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
@ -91,8 +95,4 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
Library("isac_neon_gn")
|
||||
|
@ -6,9 +6,43 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_CODEC_G722"] = True
|
||||
DEFINES["WEBRTC_CODEC_OPUS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/audio_vector.cc"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/accelerate.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc",
|
||||
@ -46,87 +80,58 @@ UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/audio_vector.cc"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_CODEC_OPUS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["WEBRTC_CODEC_G722"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
@ -136,104 +141,74 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_CODEC_ISACFX"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_CODEC_ISACFX"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
@ -241,16 +216,41 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_CODEC_ISACFX"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_CODEC_ISAC"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
Library("neteq_gn")
|
||||
|
@ -6,13 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.c"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -21,133 +28,126 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,14 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -23,137 +29,131 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/pcm16b/audio_encoder_pcm16b.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,14 +6,22 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_CODEC_G722"] = True
|
||||
DEFINES["WEBRTC_CODEC_OPUS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_codec_database.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/rent_a_codec.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -26,65 +34,61 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_CODEC_OPUS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["WEBRTC_CODEC_G722"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_codec_database.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/acm2/rent_a_codec.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
@ -94,119 +98,115 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
Library("rent_a_codec_gn")
|
||||
|
@ -6,13 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/opus_interface.c"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -21,137 +28,130 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/opus_interface.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,14 +6,21 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_OPUS_VARIABLE_COMPLEXITY"] = "0"
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -24,146 +31,139 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_OPUS_VARIABLE_COMPLEXITY"] = "0"
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,15 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/source/time_scheduler.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -24,146 +29,141 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/include/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/source/time_scheduler.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,20 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_buffer.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_generic.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/dummy/audio_device_dummy.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/dummy/file_audio_device.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/dummy/file_audio_device_factory.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/fine_audio_buffer.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/opensl/single_rw_fifo.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -33,106 +33,44 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/include/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_buffer.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_generic.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/dummy/audio_device_dummy.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/dummy/file_audio_device.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/dummy/file_audio_device_factory.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/fine_audio_buffer.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/opensl/single_rw_fifo.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/win/"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/win/audio_device_core_win.cc"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"amstrmid",
|
||||
"dmoguids",
|
||||
"msdmo",
|
||||
"winmm",
|
||||
"wmcodecdspuuid"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/win/audio_device_wave_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/win/audio_mixer_manager_win.cc"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_mixer_manager_pulse_linux.cc"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"dl",
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/latebindingsymboltable_linux.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/pulseaudiosymboltable_linux.cc"
|
||||
]
|
||||
|
||||
DEFINES["LINUX_PULSE"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/config/external/nspr/",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/android/",
|
||||
@ -140,10 +78,9 @@ if CONFIG["OS_TARGET"] == "Android":
|
||||
"/nsprpub/pr/include/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/android/build_info.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/android/opensles_common.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/android/opensles_recorder.cc"
|
||||
OS_LIBS += [
|
||||
"log",
|
||||
"OpenSLES"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
@ -153,27 +90,20 @@ if CONFIG["OS_TARGET"] == "Android":
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/android/opensles_player.cc"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"log",
|
||||
"OpenSLES"
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/android/build_info.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/android/opensles_common.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/android/opensles_recorder.cc"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/mac/"
|
||||
]
|
||||
@ -190,61 +120,131 @@ if CONFIG["OS_TARGET"] == "Darwin":
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/mac/audio_mixer_manager_mac.cc"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["LINUX_PULSE"] = True
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"dl",
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_pulse_linux.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_mixer_manager_pulse_linux.cc"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/latebindingsymboltable_linux.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/pulseaudiosymboltable_linux.cc"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/win/"
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"amstrmid",
|
||||
"dmoguids",
|
||||
"msdmo",
|
||||
"winmm",
|
||||
"wmcodecdspuuid"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/win/audio_device_core_win.cc"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/win/audio_device_wave_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/win/audio_mixer_manager_win.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,13 +6,25 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/mac/portaudio/pa_ringbuffer.c"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -20,28 +32,16 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_device/mac/portaudio/pa_ringbuffer.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
|
@ -6,13 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -20,137 +27,130 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,14 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_mixer/default_output_rate_calculator.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -21,146 +27,140 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_mixer/default_output_rate_calculator.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,13 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/digital_agc.c"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -27,64 +34,61 @@ SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/analog_agc.c"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/digital_agc.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
"log"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
@ -94,57 +98,56 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c",
|
||||
@ -152,15 +155,15 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c",
|
||||
@ -168,26 +171,37 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONF
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c",
|
||||
@ -195,29 +209,15 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONF
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
|
||||
]
|
||||
|
||||
CFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
Library("audio_processing_c_gn")
|
||||
|
@ -6,9 +6,49 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_INTELLIGIBILITY_ENHANCER"] = "0"
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/echo_cancellation.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_c.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/echo_control_mobile.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/beamformer/covariance_matrix_generator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/echo_cancellation_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/echo_control_mobile_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/echo_detector/normalized_covariance_estimator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/gain_control_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/noise_suppression_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/rms_level.cc"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_resampler.cc",
|
||||
@ -67,142 +107,108 @@ UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/voice_detection_impl.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/resampler/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/include/",
|
||||
"/media/webrtc/trunk/webrtc/common_audio/vad/include/",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/echo_cancellation.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_c.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/echo_control_mobile.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/beamformer/covariance_matrix_generator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/echo_cancellation_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/echo_control_mobile_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/echo_detector/normalized_covariance_estimator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/gain_control_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/noise_suppression_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/rms_level.cc"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INTELLIGIBILITY_ENHANCER"] = "0"
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_NS_FIXED"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
@ -213,30 +219,7 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_NS_FIXED"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_NS_FIXED"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_NS_FIXED"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_NS_FIXED"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
@ -244,7 +227,24 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
|
||||
DEFINES["WEBRTC_NS_FLOAT"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_NS_FIXED"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_NS_FIXED"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,13 +6,33 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_neon.c"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -24,43 +44,27 @@ OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_neon.c"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["NDEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
@ -69,11 +73,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CFLAGS += [
|
||||
"-mfpu=neon"
|
||||
@ -82,8 +86,4 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
Library("audio_processing_neon_c_gn")
|
||||
|
@ -6,15 +6,34 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core_neon.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_neon.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/utility/ooura_fft_neon.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -29,44 +48,29 @@ OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core_neon.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_neon.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/utility/ooura_fft_neon.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["NDEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
@ -75,11 +79,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
@ -88,8 +92,4 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
Library("audio_processing_neon_gn")
|
||||
|
@ -6,14 +6,21 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core_sse2.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/utility/ooura_fft_sse2.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -21,66 +28,22 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core_sse2.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/audio_processing/utility/ooura_fft_sse2.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
@ -88,18 +51,18 @@ if CONFIG["OS_TARGET"] == "Android":
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
@ -108,21 +71,58 @@ if CONFIG["OS_TARGET"] == "Darwin":
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
Library("audio_processing_sse2_gn")
|
||||
|
@ -6,14 +6,21 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0"
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -21,152 +28,145 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0"
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_impl.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
OS_LIBS += [
|
||||
"-framework CoreVideo"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,19 +6,21 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0"
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/delay_based_bwe.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/median_slope_estimator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/probe_controller.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/probing_interval_estimator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/transport_feedback_adapter.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -30,153 +32,151 @@ SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/trendline_estimator.cc"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["BWE_TEST_LOGGING_COMPILE_TIME_ENABLE"] = "0"
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/delay_based_bwe.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/median_slope_estimator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/probe_bitrate_estimator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/probe_controller.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/probing_interval_estimator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/congestion_controller/transport_feedback_adapter.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
|
||||
OS_LIBS += [
|
||||
"winmm"
|
||||
"log"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
OS_LIBS += [
|
||||
"-framework CoreVideo"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"m",
|
||||
"rt"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"log"
|
||||
"winmm"
|
||||
]
|
||||
|
||||
DEFINES["__GNU_SOURCE"] = "1"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["ANDROID_NDK_VERSION"] = "r12b"
|
||||
DEFINES["WEBRTC_ANDROID"] = True
|
||||
DEFINES["USE_OPENSSL_CERTS"] = "1"
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["WEBRTC_BUILD_LIBEVENT"] = True
|
||||
DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
|
||||
DEFINES["DISABLE_NACL"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
OS_LIBS += [
|
||||
"-framework CoreVideo"
|
||||
]
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"]:
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM64"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-mfpu=neon"
|
||||
]
|
||||
|
||||
DEFINES["WEBRTC_ARCH_ARM"] = True
|
||||
DEFINES["WEBRTC_ARCH_ARM_V7"] = True
|
||||
DEFINES["WEBRTC_HAS_NEON"] = True
|
||||
|
||||
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
|
@ -6,13 +6,20 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/differ_vector_sse2.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
@ -20,65 +27,21 @@ LOCAL_INCLUDES += [
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/differ_vector_sse2.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
CXXFLAGS += [
|
||||
@ -86,17 +49,54 @@ if CONFIG["OS_TARGET"] == "Darwin":
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
CXXFLAGS += [
|
||||
"-msse2"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
Library("desktop_capture_differ_sse2_gn")
|
||||
|
@ -6,9 +6,29 @@
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
DEFINES["MULTI_MONITOR_SCREENSHARE"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
|
||||
FINAL_LIBRARY = "webrtc"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/libyuv/libyuv/include/",
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/cropped_desktop_frame.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/cropping_window_capturer.cc",
|
||||
@ -23,99 +43,52 @@ UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_helper.cc"
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"/ipc/chromium/src",
|
||||
"/ipc/glue",
|
||||
"/media/libyuv/libyuv/include/",
|
||||
"/media/webrtc/trunk/"
|
||||
]
|
||||
|
||||
COMPILE_FLAGS["STL"] = []
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
DEFINES["WEBRTC_MOZILLA_BUILD"] = True
|
||||
DEFINES["V8_DEPRECATION_WARNINGS"] = True
|
||||
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True
|
||||
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True
|
||||
DEFINES["CHROMIUM_BUILD"] = True
|
||||
DEFINES["MULTI_MONITOR_SCREENSHARE"] = True
|
||||
DEFINES["EXPAT_RELATIVE_PATH"] = True
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NVALGRIND"] = True
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.cc"
|
||||
]
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
|
||||
OS_LIBS += [
|
||||
"d3d11",
|
||||
"dxgi",
|
||||
"winmm"
|
||||
"-framework AppKit",
|
||||
"-framework IOKit",
|
||||
"-framework OpenGL"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_frame_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/cursor.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/d3d_device.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/desktop.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/desktop_device_info_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_texture.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_texture_mapping.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_texture_staging.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/scoped_thread_desktop.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capture_utils.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/win_shared.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/window_capture_utils.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_win.cc"
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_mac.mm",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/desktop_configuration.mm",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/desktop_device_info_mac.mm",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/scoped_pixel_buffer_object.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/window_list_utils.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_mac.mm",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_mac.mm"
|
||||
]
|
||||
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
|
||||
OS_LIBS += [
|
||||
"rt",
|
||||
"X11",
|
||||
@ -142,45 +115,72 @@ if CONFIG["OS_TARGET"] == "Linux":
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc"
|
||||
]
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["WEBRTC_LINUX"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "1"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["WEBRTC_WIN"] = True
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_USING_V110_SDK71_"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
OS_LIBS += [
|
||||
"-framework AppKit",
|
||||
"-framework IOKit",
|
||||
"-framework OpenGL"
|
||||
"d3d11",
|
||||
"dxgi",
|
||||
"winmm"
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.cc"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_mac.mm",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/desktop_configuration.mm",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/desktop_device_info_mac.mm",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/full_screen_chrome_window_detector.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/scoped_pixel_buffer_object.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mac/window_list_utils.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_mac.mm",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_mac.mm"
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_frame_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/cursor.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/d3d_device.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/desktop.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/desktop_device_info_win.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_adapter_duplicator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_texture.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_texture_mapping.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/dxgi_texture_staging.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/scoped_thread_desktop.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capture_utils.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/win_shared.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/win/window_capture_utils.cc",
|
||||
"/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_win.cc"
|
||||
]
|
||||
|
||||
DEFINES["CR_XCODE_VERSION"] = "0920"
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0"
|
||||
DEFINES["NO_TCMALLOC"] = True
|
||||
DEFINES["WEBRTC_MAC"] = True
|
||||
DEFINES["WEBRTC_POSIX"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin" and not CONFIG["MOZ_DEBUG"]:
|
||||
if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_FORTIFY_SOURCE"] = "2"
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
Library("desktop_capture_gn")
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user