Skip to content

Commit

Permalink
Bug 1734028 - Update GeckoView Contributor Guide r=geckoview-reviewer…
Browse files Browse the repository at this point in the history
…s,agi,calu

Differential Revision: https://phabricator.services.mozilla.com/D127493
  • Loading branch information
owlishDeveloper committed Oct 6, 2021
1 parent a48c4c3 commit 710d07e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 19 deletions.
Binary file not shown.
Binary file modified mobile/android/docs/geckoview/assets/GeckoViewStructure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ in ``mozilla-central``. You will need to get set up as a contributor to
Firefox in order to contribute to GeckoView. To get set up with
``mozilla-central``, follow the `Quick Start Guide for Git
Users <mc-quick-start.html>`_, or the `Contributing to the Mozilla code
base <https://developer.mozilla.org/docs/Mozilla/Developer_guide/Introduction>`_
guide on `MDN <https://developer.mozilla.org/>`_ for Mercurial users.
base <https://firefox-source-docs.mozilla.org/setup/contributing_code.html>`_
guide and `Firefox Contributors’ Quick Reference
<https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html>`_
for Mercurial users.

Once you have a copy of ``mozilla-central``, you will need to build
GeckoView.
Expand Down Expand Up @@ -83,15 +85,6 @@ Build Using Android Studio

- Install `Android
Studio <https://developer.android.com/studio/install>`_.
- Disable Instant Run. This is because Fennec and the Geckoview Example
app cannot deploy with Instant Run on.

- Select Android Studio > Preferences from the menu bar
- Navigate to Build, Execution, Deployment > Instant Run.
- Uncheck the box that reads
``Enable Instant Run to hot swap code/resource changes on deploy``.

|alt text|
- Choose File->Open from the toolbar
- Navigate to the root of your ``mozilla-central`` source directory and
click “Open”
Expand All @@ -103,17 +96,12 @@ Build Using Android Studio
- Wait for the project to index and gradle to sync. Once synced, the
workspace will reconfigure to display the different projects.

- annotations contains custom annotations used inside GeckoView and
Fennec.
- app is Fennec - Firefox for Android. Here is where you will find
code specific to that app.
- annotations contains custom Java annotations used inside GeckoView
- app contains geckoview build settings and omnijar. omnijar contains
the parts of Gecko and GeckoView that are not written in Java or Kotlin
- geckoview is the GeckoView project. Here is all the Java files
related to GeckoView
- geckoview_example is an example browser built using GeckoView.
- omnijar contains the parts of Gecko and GeckoView that are not
written in Java or Kotlin
- thirdparty contains third party code that Fennec and GeckoView
use.

|alt text 1|

Expand Down

0 comments on commit 710d07e

Please sign in to comment.