Stand-alone version of the search activity that is built with Firefox for Android.
Перейти к файлу
Eric Edens 630eff9669 Merge pull request #17 from ericedens/fix_activity_lifecycle
Bug 1033686 - Pre-search and post-search are visible at the same time
2014-07-11 11:06:44 -07:00
app Tests 2014-07-09 08:30:42 -07:00
geckoView Ignore lint errors. 2014-06-26 15:23:32 -07:00
gradle/wrapper Fix gradle build issues 2014-06-23 16:34:47 -07:00
manifests Move manifest to manifests/; add manifests and strings grunt export tasks. 2014-06-26 17:28:18 -07:00
strings Bring a couple of styles back from pre-grunt 2014-06-26 17:01:40 -07:00
.gitignore Add grunt tasks. 2014-06-26 15:23:32 -07:00
Gruntfile.js Add Gruntfile target that exports a .mozbuild file for the build system to include. 2014-07-07 16:28:01 -07:00
LICENSE.md Add license and README. 2014-06-26 15:23:32 -07:00
README.md Add first cut at grunt documentation. 2014-06-26 17:28:31 -07:00
build.gradle Gradle update 2014-07-08 09:20:30 -07:00
gradle.properties Add IDE files. 2014-06-19 16:38:03 -07:00
gradlew Add IDE files. 2014-06-19 16:38:03 -07:00
gradlew.bat Add IDE files. 2014-06-19 16:38:03 -07:00
package.json Add grunt tasks. 2014-06-26 15:23:32 -07:00
settings.gradle Add GeckoView 2014-06-20 14:20:10 -07:00

README.md

Fennec Search Activity

grunt

The Search Activity repository uses grunt tasks to integrate with a Mozilla source tree such as fx-team or mozilla-inbound. All grunt tasks take such a source tree specified either via a command line argument like --tree=PATH or via the environment variable MC.

Getting started with grunt

First, install node.js and npm using your OS-level package manager or similar. Then, in the Search Activity repository root directory, execute

$ npm install

You can check that grunt is working and the local dependencies are installed by executing grunt --help. You should see a list of available tasks, including a default task.

Grunt tasks

preprocess (default)

The default task, executed when you run grunt, is to preprocess the Android manifest and Android string resources. The inputs have the suffix .in and the outputs are written into the source tree. (This is so that gradle and Android Studio can find them without having additional paths specified. We might change this in future.)

clean

Delete all of the preprocessed outputs created by the preprocess task.

export

Copy the current Java source code, Android resources, string definitions, and Android manifest snippets to the Mozilla source tree provided. Does not copy any preprocessed outputs. (Preprocessed outputs must be created by the Mozilla source tree's build system at Fennec build time.) Use this to update your Mozilla source tree with the changes you've made in your local Search Activity repository.