Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions mobile/android/android-components/.buildconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,10 @@ projects:
- components:ui-icons
- components:ui-tabcounter
- components:ui-widgets
components:concept-accelerometer:
description: An abstract definition of an accelerometer.
path: components/concept/accelerometer
publish: true
components:concept-awesomebar:
description: An abstract definition of an awesomebar component.
path: components/concept/awesomebar
Expand Down Expand Up @@ -461,6 +465,10 @@ projects:
- components:support-base
- components:support-test
- components:tooling-lint
components:concept-llm:
description: An abstract definition of an LLM request.
path: components/concept/llm
publish: true
components:concept-menu:
description: An abstract definition of a browser menu component.
path: components/concept/menu
Expand Down Expand Up @@ -1373,6 +1381,10 @@ projects:
- components:ui-icons
- components:ui-tabcounter
- components:ui-widgets
components:feature-summarize:
description: A feature that handles displaying summarized browser content
path: components/feature/summarize
publish: true
components:feature-syncedtabs:
description: Feature that provides access to other devices' tabs in the same account.
path: components/feature/syncedtabs
Expand Down Expand Up @@ -1628,6 +1640,11 @@ projects:
- components:ui-icons
- components:ui-tabcounter
- components:ui-widgets
components:lib-accelerometer-sensormanager:
description: An implementation of the accelerometer concept that uses the Android
SensorManager
path: components/lib/accelerometer-sensormanager
publish: true
components:lib-auth:
description: A component for various kinds of authentication mechanisms.
path: components/lib/auth
Expand Down Expand Up @@ -1702,6 +1719,15 @@ projects:
publish: true
upstream_dependencies:
- components:tooling-lint
components:lib-llm-gemini-nano:
description: A Gemini Nano implementation of the LLM concept.
path: components/lib/llm-gemini-nano
publish: true
components:lib-llm-mlpa:
description: A off-device implementation of the LLM concept that uses the MLPA
proxy server
path: components/lib/llm-mlpa
publish: true
components:lib-publicsuffixlist:
description: A library for reading and using the public suffix list.
path: components/lib/publicsuffixlist
Expand All @@ -1723,6 +1749,10 @@ projects:
- components:support-base
- components:support-test
- components:tooling-lint
components:lib-shake:
description: A library to detect shake gestures from accelerometer data
path: components/lib/shake
publish: true
components:lib-state:
description: A library for maintaining application state.
path: components/lib/state
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Android Components](../../../README.md) > Concept > Accelerometer



## License

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

plugins {
alias(libs.plugins.dependency.analysis)
}

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
defaultConfig {
buildConfigField("String", "LIBRARY_VERSION", "\"" + config.componentsVersion + "\"")
}

buildFeatures {
buildConfig = true
}

namespace = 'mozilla.components.concept.accelerometer'
}

dependencies {
testImplementation libs.androidx.test.junit
}

apply from: '../../../common-config.gradle'
apply from: '../../../publish.gradle'
ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">

</issues>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<manifest />
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package mozilla.components.concept.accelerometer

class Example {
fun hello(): String {
return "hello"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package mozilla.components.concept.accelerometer

import org.junit.Assert.assertEquals
import org.junit.Test

class ExampleTest {
@Test
fun testHello() {
assertEquals("hello", Example().hello())
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Android Components](../../../README.md) > Concept > LLM



## License

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

plugins {
alias(libs.plugins.dependency.analysis)
}

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
defaultConfig {
buildConfigField("String", "LIBRARY_VERSION", "\"" + config.componentsVersion + "\"")
}

buildFeatures {
buildConfig = true
}

namespace = 'mozilla.components.concept.llm'
}

dependencies {
testImplementation libs.androidx.test.junit
}

apply from: '../../../common-config.gradle'
apply from: '../../../publish.gradle'
ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">

</issues>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<manifest />
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package mozilla.components.concept.llm

class Example {
fun hello(): String {
return "hello"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package mozilla.components.concept.llm

import org.junit.Assert.assertEquals
import org.junit.Test

class ExampleTest {
@Test
fun testHello() {
assertEquals("hello", Example().hello())
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Android Components](../../../README.md) > Feature > SUMMARIZE



## License

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

plugins {
alias(libs.plugins.dependency.analysis)
}

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
defaultConfig {
buildConfigField("String", "LIBRARY_VERSION", "\"" + config.componentsVersion + "\"")
}

buildFeatures {
buildConfig = true
}

namespace = 'mozilla.components.feature.summarize'
}

dependencies {
testImplementation libs.androidx.test.junit
}

apply from: '../../../common-config.gradle'
apply from: '../../../publish.gradle'
ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">

</issues>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<manifest />
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package mozilla.components.feature.summarize

class Example {
fun hello(): String {
return "hello"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package mozilla.components.feature.summarize

import org.junit.Assert.assertEquals
import org.junit.Test

class ExampleTest {
@Test
fun testHello() {
assertEquals("hello", Example().hello())
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Android Components](../../../README.md) > Lib > ACCELEROMETER-SENSORMANAGER



## License

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

plugins {
alias(libs.plugins.dependency.analysis)
}

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
defaultConfig {
buildConfigField("String", "LIBRARY_VERSION", "\"" + config.componentsVersion + "\"")
}

buildFeatures {
buildConfig = true
}

namespace = 'mozilla.components.lib.accelerometer.sensormanager'
}

dependencies {
testImplementation libs.androidx.test.junit
}

apply from: '../../../common-config.gradle'
apply from: '../../../publish.gradle'
ext.configurePublish(config.componentsGroupId, project.name, project.ext.description)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">

</issues>
Loading