Skip to content

Commit

Permalink
Bug 1750663 [Linux] Move mozva library and va headers to media direct…
Browse files Browse the repository at this point in the history
…ory r=alwu,media-playback-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D136596
  • Loading branch information
stransky committed Jan 24, 2022
1 parent 95de1ee commit abf4251
Show file tree
Hide file tree
Showing 17 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .clang-format-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ media/libvorbis/.*
media/libvpx/.*
media/libwebp/.*
media/libyuv/.*
media/mozva/va/.*
media/openmax_dl/.*
media/openmax_il/.*
media/webrtc/signaling/src/sdp/sipcc/.*
Expand Down
2 changes: 1 addition & 1 deletion dom/media/platforms/ffmpeg/ffmpeg58/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ UNIFIED_SOURCES += [
]
LOCAL_INCLUDES += [
'..',
'/media/ffvpx',
'/media/mozva',
'include',
]

Expand Down
2 changes: 1 addition & 1 deletion dom/media/platforms/ffmpeg/ffvpx/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SOURCES += [
LOCAL_INCLUDES += [
"..",
"../ffmpeg58/include",
"/media/ffvpx",
"/media/mozva",
]

CXXFLAGS += ["-Wno-deprecated-declarations"]
Expand Down
1 change: 1 addition & 0 deletions media/ffvpx/libavcodec/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ if not CONFIG['MOZ_FFVPX_AUDIOONLY']:
'vp9recon.c'
]
if CONFIG['MOZ_WAYLAND']:
LOCAL_INCLUDES += ['/media/mozva']
SOURCES += [
'atsc_a53.c',
'libdav1d.c',
Expand Down
1 change: 1 addition & 0 deletions media/ffvpx/libavutil/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ if not CONFIG['MOZ_FFVPX_AUDIOONLY']:
'video_enc_params.c'
]
if CONFIG["MOZ_WAYLAND"]:
LOCAL_INCLUDES += ['/media/mozva']
SOURCES += [
'hwcontext_vaapi.c',
'mastering_display_metadata.c',
Expand Down
5 changes: 0 additions & 5 deletions media/ffvpx/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,3 @@ DIRS += [
'libavutil',
'libavcodec'
]

if CONFIG['MOZ_WAYLAND']:
DIRS += [
'mozva',
]
2 changes: 0 additions & 2 deletions media/ffvpx/mozva/moz.build → media/mozva/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ SOURCES += [
'mozva.c',
]

LOCAL_INCLUDES += ['/media/ffvpx']

Library('mozva')
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions toolkit/toolkit.mozbuild
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,7 @@ if CONFIG['ENABLE_TESTS']:

if CONFIG['FUZZING']:
DIRS += ['/tools/fuzzing']

if CONFIG['MOZ_WAYLAND']:
DIRS += ['/media/mozva']

1 change: 1 addition & 0 deletions tools/rewriting/ThirdPartyPaths.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ media/libvorbis/
media/libvpx/
media/libwebp/
media/libyuv/
media/mozva/va
media/mp4parse-rust/
media/openmax_dl/
media/openmax_il/
Expand Down

0 comments on commit abf4251

Please sign in to comment.