Skip to content

Commit 257d427

Browse files
committed
Bug 2010695 - Add empty modules for S2S feature
1 parent 131497b commit 257d427

File tree

50 files changed

+632
-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.

50 files changed

+632
-0
lines changed

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,10 @@ 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
420424
components:concept-awesomebar:
421425
description: An abstract definition of an awesomebar component.
422426
path: components/concept/awesomebar
@@ -461,6 +465,10 @@ projects:
461465
- components:support-base
462466
- components:support-test
463467
- components:tooling-lint
468+
components:concept-llm:
469+
description: An abstract definition of an LLM request.
470+
path: components/concept/llm
471+
publish: true
464472
components:concept-menu:
465473
description: An abstract definition of a browser menu component.
466474
path: components/concept/menu
@@ -1373,6 +1381,10 @@ projects:
13731381
- components:ui-icons
13741382
- components:ui-tabcounter
13751383
- components:ui-widgets
1384+
components:feature-summarize:
1385+
description: A feature that handles displaying summarized browser content
1386+
path: components/feature/summarize
1387+
publish: true
13761388
components:feature-syncedtabs:
13771389
description: Feature that provides access to other devices' tabs in the same account.
13781390
path: components/feature/syncedtabs
@@ -1628,6 +1640,11 @@ projects:
16281640
- components:ui-icons
16291641
- components:ui-tabcounter
16301642
- components:ui-widgets
1643+
components:lib-accelerometer-sensormanager:
1644+
description: An implementation of the accelerometer concept that uses the Android
1645+
SensorManager
1646+
path: components/lib/accelerometer-sensormanager
1647+
publish: true
16311648
components:lib-auth:
16321649
description: A component for various kinds of authentication mechanisms.
16331650
path: components/lib/auth
@@ -1702,6 +1719,15 @@ projects:
17021719
publish: true
17031720
upstream_dependencies:
17041721
- components:tooling-lint
1722+
components:lib-llm-gemini-nano:
1723+
description: A Gemini Nano implementation of the LLM concept.
1724+
path: components/lib/llm-gemini-nano
1725+
publish: true
1726+
components:lib-llm-mlpa:
1727+
description: A off-device implementation of the LLM concept that uses the MLPA
1728+
proxy server
1729+
path: components/lib/llm-mlpa
1730+
publish: true
17051731
components:lib-publicsuffixlist:
17061732
description: A library for reading and using the public suffix list.
17071733
path: components/lib/publicsuffixlist
@@ -1723,6 +1749,10 @@ projects:
17231749
- components:support-base
17241750
- components:support-test
17251751
- components:tooling-lint
1752+
components:lib-shake:
1753+
description: A library to detect shake gestures from accelerometer data
1754+
path: components/lib/shake
1755+
publish: true
17261756
components:lib-state:
17271757
description: A library for maintaining application state.
17281758
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+
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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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">
3+
4+
</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,7 @@
1+
package mozilla.components.concept.accelerometer
2+
3+
class Example {
4+
fun hello(): String {
5+
return "hello"
6+
}
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package mozilla.components.concept.accelerometer
2+
3+
import org.junit.Assert.assertEquals
4+
import org.junit.Test
5+
6+
class ExampleTest {
7+
@Test
8+
fun testHello() {
9+
assertEquals("hello", Example().hello())
10+
}
11+
}
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+
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)