Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: webrtc/media/media.gyp

Issue 1715883002: Remove DeviceManager and DeviceInfo. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/media/media.gyp
diff --git a/webrtc/media/media.gyp b/webrtc/media/media.gyp
index 53716bd8f9d2ccd6619160a8be8f703a868a770c..4235a9fca4ef6f34f219efc636ca07f73e33af90 100644
--- a/webrtc/media/media.gyp
+++ b/webrtc/media/media.gyp
@@ -76,7 +76,6 @@
'base/videorenderer.h',
'base/yuvframegenerator.cc',
'base/yuvframegenerator.h',
- 'devices/deviceinfo.h',
'devices/videorendererfactory.h',
'engine/nullwebrtcvideoengine.h',
'engine/simulcast.cc',
@@ -121,17 +120,6 @@
4389, # signed/unsigned mismatch.
],
'conditions': [
- ['include_internal_device_management==1', {
- 'sources': [
- 'devices/devicemanager.cc',
- 'devices/devicemanager.h',
- ],
- }, {
- 'sources': [
- 'devices/dummydevicemanager.cc',
- 'devices/dummydevicemanager.h',
- ],
- }],
['build_libyuv==1', {
'dependencies': ['<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',],
}],
@@ -170,9 +158,6 @@
'sources': [
'devices/libudevsymboltable.cc',
'devices/libudevsymboltable.h',
- 'devices/linuxdeviceinfo.cc',
- 'devices/linuxdevicemanager.cc',
- 'devices/linuxdevicemanager.h',
'devices/v4llookup.cc',
'devices/v4llookup.h',
],
@@ -207,51 +192,6 @@
},
},
}],
- ['OS=="win" and include_internal_device_management==1', {
- 'sources': [
- 'devices/win32deviceinfo.cc',
- 'devices/win32devicemanager.cc',
- 'devices/win32devicemanager.h',
- ],
- 'msvs_settings': {
- 'VCLibrarianTool': {
- 'AdditionalDependencies': [
- 'winmm.lib',
- ],
- },
- },
- }],
- ['OS=="mac" and include_internal_device_management==1', {
- 'sources': [
- 'devices/macdeviceinfo.cc',
- 'devices/macdevicemanager.cc',
- 'devices/macdevicemanager.h',
- 'devices/macdevicemanagermm.mm',
- ],
- 'xcode_settings': {
- 'WARNING_CFLAGS': [
- # TODO(perkj): Update macdevicemanager.cc to stop using
- # deprecated functions and remove this flag.
- '-Wno-deprecated-declarations',
- ],
- # Disable partial availability warning to prevent errors
- # in macdevicemanagermm.mm using AVFoundation.
- # https://code.google.com/p/webrtc/issues/detail?id=4695
- 'WARNING_CFLAGS!': ['-Wpartial-availability'],
- },
- 'link_settings': {
- 'xcode_settings': {
- 'OTHER_LDFLAGS': [
- '-weak_framework AVFoundation',
- '-framework Cocoa',
- '-framework CoreAudio',
- '-framework CoreVideo',
- '-framework OpenGL',
- '-framework QTKit',
- ],
- },
- },
- }],
['OS=="mac" and target_arch=="ia32"', {
'sources': [
'devices/carbonvideorenderer.cc',
@@ -265,36 +205,11 @@
},
},
}],
- ['OS=="ios" and include_internal_device_management==1', {
- 'sources': [
- 'devices/mobiledevicemanager.cc',
- ],
- 'include_dirs': [
- # TODO(sjlee) Remove when vp8 is building for iOS. vp8 pulls in
- # libjpeg which pulls in libyuv which currently disabled.
- '../../third_party/libyuv/include',
- ],
- # TODO(kjellander): Make the code compile without disabling these.
- # See https://bugs.chromium.org/p/webrtc/issues/detail?id=3307
- 'cflags': [
- '-Wno-unused-const-variable',
- ],
- 'xcode_settings': {
- 'WARNING_CFLAGS': [
- '-Wno-unused-const-variable',
- ],
- },
- }],
['OS=="ios" or (OS=="mac" and target_arch!="ia32")', {
'defines': [
'CARBON_DEPRECATED=YES',
],
}],
- ['OS=="android" and include_internal_device_management==1', {
- 'sources': [
- 'devices/mobiledevicemanager.cc',
- ],
- }],
],
}, # target rtc_media
], # targets.

Powered by Google App Engine
This is Rietveld 408576698