Open Bug 1574229 Opened 5 years ago Updated 2 years ago

Enable including native code in GeckoView tests

Categories

(GeckoView :: General, enhancement, P3)

Unspecified
All
enhancement

Tracking

(Not tracked)

People

(Reporter: rbarker, Unassigned)

References

(Blocks 1 open bug)

Details

Currently in GeckoView API test, they can only use Java and Kotlin. But in order to test the GeckoVRManager, the tests need to be able to include native code.

Blocks: 1574231
Flags: needinfo?(agi)

WebVR tests require native VR code (bug 1574231). How do we include this native code in these tests? Another FxR test issue is that WebGL doesn't work in the Android emulator.

Priority: -- → P2
Whiteboard: [geckoview:fxr:p1]
Rank: 15
Whiteboard: [geckoview:fxr:p1]
No longer blocks: 1574231
Blocks: 1574231

I think this should Just Work using the built-in CMake-based native support that's integrated with the android gradle plugin. FxR builds all of its native code this way AFAIK.

That is how we do it in FxR, I just couldn't figure out how to do that with the m-c build system. For FxR AndroidStudio took care of setting that all up and it just worked.

(In reply to Randall Barker [:rbarker] from comment #3)

That is how we do it in FxR, I just couldn't figure out how to do that with the m-c build system. For FxR AndroidStudio took care of setting that all up and it just worked.

Right, we don't need to use the m-c build system. We should be able to set it up for the geckoview test project the same way FxR does it.

Rank: 15 → 3
Priority: P2 → P3
Flags: needinfo?(agi)
Severity: normal → S3
Rank: 3 → 333

Tasks and enhancements should have severity N/A.

Severity: S3 → N/A
You need to log in before you can comment on or make changes to this bug.