Skip to content

Commit 13890fd

Browse files
committed
Bug 2010695 - Add empty modules for S2S feature r=segun,boek
Pull request: #41
1 parent 55a5666 commit 13890fd

File tree

52 files changed

+777
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+777
-0
lines changed

mobile/android/android-components/.buildconfig.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,12 @@ projects:
417417
- components:ui-icons
418418
- components:ui-tabcounter
419419
- components:ui-widgets
420+
components:concept-accelerometer:
421+
description: An abstract definition of an accelerometer.
422+
path: components/concept/accelerometer
423+
publish: true
424+
upstream_dependencies:
425+
- components:tooling-lint
420426
components:concept-awesomebar:
421427
description: An abstract definition of an awesomebar component.
422428
path: components/concept/awesomebar
@@ -461,6 +467,12 @@ projects:
461467
- components:support-base
462468
- components:support-test
463469
- components:tooling-lint
470+
components:concept-llm:
471+
description: An abstract definition of an LLM request.
472+
path: components/concept/llm
473+
publish: true
474+
upstream_dependencies:
475+
- components:tooling-lint
464476
components:concept-menu:
465477
description: An abstract definition of a browser menu component.
466478
path: components/concept/menu
@@ -1373,6 +1385,12 @@ projects:
13731385
- components:ui-icons
13741386
- components:ui-tabcounter
13751387
- components:ui-widgets
1388+
components:feature-summarize:
1389+
description: A feature that handles displaying summarized browser content
1390+
path: components/feature/summarize
1391+
publish: true
1392+
upstream_dependencies:
1393+
- components:tooling-lint
13761394
components:feature-syncedtabs:
13771395
description: Feature that provides access to other devices' tabs in the same account.
13781396
path: components/feature/syncedtabs
@@ -1628,6 +1646,13 @@ projects:
16281646
- components:ui-icons
16291647
- components:ui-tabcounter
16301648
- components:ui-widgets
1649+
components:lib-accelerometer-sensormanager:
1650+
description: An implementation of the accelerometer concept that uses the Android
1651+
SensorManager
1652+
path: components/lib/accelerometer-sensormanager
1653+
publish: true
1654+
upstream_dependencies:
1655+
- components:tooling-lint
16311656
components:lib-auth:
16321657
description: A component for various kinds of authentication mechanisms.
16331658
path: components/lib/auth
@@ -1702,6 +1727,19 @@ projects:
17021727
publish: true
17031728
upstream_dependencies:
17041729
- components:tooling-lint
1730+
components:lib-llm-gemininano:
1731+
description: A Gemini Nano implementation of the LLM concept.
1732+
path: components/lib/llm-gemininano
1733+
publish: true
1734+
upstream_dependencies:
1735+
- components:tooling-lint
1736+
components:lib-llm-mlpa:
1737+
description: A off-device implementation of the LLM concept that uses the MLPA
1738+
proxy server
1739+
path: components/lib/llm-mlpa
1740+
publish: true
1741+
upstream_dependencies:
1742+
- components:tooling-lint
17051743
components:lib-publicsuffixlist:
17061744
description: A library for reading and using the public suffix list.
17071745
path: components/lib/publicsuffixlist
@@ -1723,6 +1761,12 @@ projects:
17231761
- components:support-base
17241762
- components:support-test
17251763
- components:tooling-lint
1764+
components:lib-shake:
1765+
description: A library to detect shake gestures from accelerometer data
1766+
path: components/lib/shake
1767+
publish: true
1768+
upstream_dependencies:
1769+
- components:tooling-lint
17261770
components:lib-state:
17271771
description: A library for maintaining application state.
17281772
path: components/lib/state
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# [Android Components](../../../README.md) > Concept > Accelerometer
2+
3+
An abstract definition of an accelerometer.
4+
5+
## License
6+
7+
This Source Code Form is subject to the terms of the Mozilla Public
8+
License, v. 2.0. If a copy of the MPL was not distributed with this
9+
file, You can obtain one at http://mozilla.org/MPL/2.0/
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
5+
plugins {
6+
alias(libs.plugins.dependency.analysis)
7+
}
8+
9+
apply plugin: 'com.android.library'
10+
apply plugin: 'kotlin-android'
11+
12+
android {
13+
defaultConfig {
14+
buildConfigField("String", "LIBRARY_VERSION", "\"" + config.componentsVersion + "\"")
15+
}
16+
17+
buildFeatures {
18+
buildConfig = true
19+
}
20+
21+
namespace = 'mozilla.components.concept.accelerometer'
22+
}
23+
24+
dependencies {
25+
testImplementation libs.androidx.test.junit
26+
}
27+
28+
apply from: '../../../common-config.gradle'
29+
apply from: '../../../publish.gradle'
30+
ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
3+
- License, v. 2.0. If a copy of the MPL was not distributed with this
4+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5+
<issues format="6" by="lint 8.13.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.13.0)" variant="all" version="8.13.0">
6+
7+
</issues>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<!-- This Source Code Form is subject to the terms of the Mozilla Public
2+
- License, v. 2.0. If a copy of the MPL was not distributed with this
3+
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
4+
<manifest />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
5+
package mozilla.components.concept.accelerometer
6+
7+
/**
8+
* An example class.
9+
*/
10+
class Example {
11+
/**
12+
* An example function.
13+
*/
14+
fun hello(user: String): String {
15+
return "hello $user"
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
5+
package mozilla.components.concept.accelerometer
6+
7+
import org.junit.Assert.assertEquals
8+
import org.junit.Test
9+
10+
class ExampleTest {
11+
@Test
12+
fun testHello() {
13+
assertEquals("hello user", Example().hello("user"))
14+
}
15+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# [Android Components](../../../README.md) > Concept > LLM
2+
3+
An abstract definition of an LLM request.
4+
5+
## License
6+
7+
This Source Code Form is subject to the terms of the Mozilla Public
8+
License, v. 2.0. If a copy of the MPL was not distributed with this
9+
file, You can obtain one at http://mozilla.org/MPL/2.0/
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
5+
plugins {
6+
alias(libs.plugins.dependency.analysis)
7+
}
8+
9+
apply plugin: 'com.android.library'
10+
apply plugin: 'kotlin-android'
11+
12+
android {
13+
defaultConfig {
14+
buildConfigField("String", "LIBRARY_VERSION", "\"" + config.componentsVersion + "\"")
15+
}
16+
17+
buildFeatures {
18+
buildConfig = true
19+
}
20+
21+
namespace = 'mozilla.components.concept.llm'
22+
}
23+
24+
dependencies {
25+
testImplementation libs.androidx.test.junit
26+
}
27+
28+
apply from: '../../../common-config.gradle'
29+
apply from: '../../../publish.gradle'
30+
ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)

0 commit comments

Comments
 (0)