Closed Bug 930228 Opened 11 years ago Closed 11 years ago

Consolidate vorbis moz.build files

Categories

(Core :: Audio/Video, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: rillian, Assigned: rillian)

References

Details

(Whiteboard: [qa-])

Attachments

(2 files, 4 obsolete files)

media/libvorbis uses hierarchical moz.build files, and hides a Makefile.in with some build config in a subdirectory.

Consolidating these to a pair of files in the top-level source directory will be less confusing and parse faster.
Attached patch Consolidate vorbis build files (obsolete) — Splinter Review
Replace recursive build files with a single pair in the top
level source for better readability and parse time.
Attachment #821308 - Flags: review?(ted)
Comment on attachment 821308 [details] [diff] [review]
Consolidate vorbis build files

Review of attachment 821308 [details] [diff] [review]:
-----------------------------------------------------------------

::: media/libvorbis/Makefile.in
@@ +8,5 @@
> +VISIBILITY_FLAGS =
> +endif
> +
> +ifeq ($(OS_ARCH),AIX)
> +DEFINES += -Dalloca=__alloca

FYI there's not a lot of it in the tree yet, but you can put DEFINES in moz.build nowadays:
mxr.mozilla.org/mozilla-central/source/python/mozbuild/mozbuild/test/frontend/data/defines/moz.build
Attachment #821308 - Flags: review?(ted) → review+
Blocks: 930718
Attached patch Move solaris define to moz.build (obsolete) — Splinter Review
Follow up patch to move the define.
Attachment #821934 - Flags: review?(ted)
Comment on attachment 821934 [details] [diff] [review]
Move solaris define to moz.build

Review of attachment 821934 [details] [diff] [review]:
-----------------------------------------------------------------

::: media/libvorbis/moz.build
@@ +35,5 @@
>      'lib/vorbis_window.c',
>  ]
>  
> +if CONFIG['OS_ARCH'] == 'AIX':
> +  DEFINES['alloca'] = '__alloca'

4-space indent in moz.build files.
Attachment #821934 - Flags: review?(ted) → review+
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #4)

> 4-space indent in moz.build files.

Always? Ok thanks. vim was doing a confusing combination of 2- and 4-space indents when I was editing.
Rebase on top of bugs 930674, 929905 and 914270. Carrying forward r=ted
Attachment #821308 - Attachment is obsolete: true
Attached patch Move AIX define to moz.build v2 (obsolete) — Splinter Review
Rebase, carrying forward r=ted.
Attachment #821934 - Attachment is obsolete: true
Part 1: Consolidate vorbis build files v3

Fix a rebase error. Carrying forward same r=ted.
Attachment #823781 - Attachment is obsolete: true
Fix indent.
Attachment #823782 - Attachment is obsolete: true
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: