Closed Bug 940129 Opened 11 years ago Closed 11 years ago

Build part of widget/gonk in unified mode

Categories

(Core Graveyard :: Widget: Gonk, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
mozilla28

People

(Reporter: bjacob, Assigned: bjacob)

References

Details

Attachments

(3 files)

      No description provided.
:roc for actual code changes, :ehsan for build changes.

This is only a partial builds. Some parts like libdisplay and nsWindow.cpp gave me too much trouble with android LOG macros getting redefined, so I just left them out rather than making a too complicated patch.
Attachment #8334325 - Flags: review?(roc)
Attachment #8334325 - Flags: review?(ehsan)
Summary: Build widget/gonk in unified mode → Build part of widget/gonk in unified mode
Comment on attachment 8334325 [details] [diff] [review]
Build part of widget/gonk in unified mode

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

::: widget/gonk/nsAppShell.cpp
@@ -75,5 @@
>  # define VERBOSE_LOG(args...)                   \
>      (void)0
>  #endif
>  
> -using namespace android;

I think you should just build this file in SOURCES instead of adding android:: prefixes everywhere.
Attachment #8334325 - Flags: review?(roc) → review-
Comment on attachment 8334325 [details] [diff] [review]
Build part of widget/gonk in unified mode

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

r=me with what roc suggested.

::: widget/gonk/moz.build
@@ +65,5 @@
>  ]
>  
> +# nsWindow.cpp gave me weird build errors then I tried to put it in UNIFIED_SOURCES.
> +# Apparently due to LOG or related logging macros being redefined.
> +# Worth re-trying at some point.

Please rewrite this comment in passive voice.  :-)
Attachment #8334325 - Flags: review?(ehsan) → review+
Attached patch v2Splinter Review
Attachment #8334772 - Flags: review?(roc)
https://tbpl.mozilla.org/?tree=Try&rev=3bf3468d3471

still failing; giving up, the scope of this porting was very limited anyways.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Depends on: 957398
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: