diff options
Diffstat (limited to 'base_product')
-rw-r--r-- | base_product/AndroidProducts.mk | 21 | ||||
-rw-r--r-- | base_product/devicesetup.sh | 17 | ||||
-rw-r--r-- | base_product/edison.mk | 26 | ||||
-rw-r--r-- | base_product/weaved.conf | 79 |
4 files changed, 143 insertions, 0 deletions
diff --git a/base_product/AndroidProducts.mk b/base_product/AndroidProducts.mk new file mode 100644 index 0000000..39d221f --- /dev/null +++ b/base_product/AndroidProducts.mk @@ -0,0 +1,21 @@ +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# This file is found by the build system. +# It defines the base product definition for device bring up. + +PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/edison.mk diff --git a/base_product/devicesetup.sh b/base_product/devicesetup.sh new file mode 100644 index 0000000..9638c51 --- /dev/null +++ b/base_product/devicesetup.sh @@ -0,0 +1,17 @@ +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +add_lunch_combo edison-eng diff --git a/base_product/edison.mk b/base_product/edison.mk new file mode 100644 index 0000000..00cfba8 --- /dev/null +++ b/base_product/edison.mk @@ -0,0 +1,26 @@ +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +$(call inherit-product, device/generic/brillo/brillo_base.mk) + +PRODUCT_NAME := edison +PRODUCT_BRAND := Brillo + +PRODUCT_DEVICE := edison + +# Install edison-specific config file for weaved. +PRODUCT_COPY_FILES += \ + device/intel/edison/base_product/weaved.conf:system/etc/weaved/weaved.conf diff --git a/base_product/weaved.conf b/base_product/weaved.conf new file mode 100644 index 0000000..0b8b8d6 --- /dev/null +++ b/base_product/weaved.conf @@ -0,0 +1,79 @@ +# +# Copyright 2015 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# OAuth 2.0 client id. +client_id=58855907228.apps.googleusercontent.com + +# OAuth 2.0 client secret. +client_secret=eHSAREAHrIqPsHBxCE9zPPBi + +# OAuth 2.0 API key. +api_key=AIzaSyDSq46gG-AxUnC3zoqD9COIPrjolFsMfMA + +# Human readable name of the device. +name=Edison Starter Board + +# Human readable description of the device. +# Defaults to empty string" +description=Intel Edison Board + +# Location of the device. +# location= + +# Manufacturer of the device. +oem_name=Intel + +# Model of the device. +# Defaults to Brillo. +model_name=Edison + +# Five character code assigned by the cloud registry of device models. +# Defaults to "AAAAA" (Unregistered model). +model_id=AAAAA + +# Maximum role for local anonymous user. +# local_anonymous_access_role=viewer + +# If true, allows local pairing using Privet API. +# local_pairing_enabled=true + +# If true, allows local discovery using mDns. +# local_discovery_enabled=true + +# GCD service polling interval in milliseconds. +# polling_period_ms=7000 + +# GCD service backup polling interval in milliseconds. +# backup_polling_period_ms=1800000 + +# Automatic mode causes buffet to automatically bring up a SoftAP for +# bootstrapping when it looses network connectivity for long enough, +# and on first boot. +# wifi_auto_setup_enabled=true + +# List of pairing modes supported by device. +# Values can be one of pinCode, embeddedCode, ultrasound32, audible32. +# Defaults to pinCode if embedded_code_path is empty, or embeddedCode otherwise. +pairing_modes=embeddedCode + +# Absolute path to file specifying an embedded pairing code. The file at +# embedded_code_path should be a file in key value format, with a key +# embedded_code. +# Defaults to empty path. +embedded_code_path=/etc/weaved/weaved.conf + +# Embedded code. +embedded_code=hello |