Closed Bug 1207193 Opened 9 years ago Closed 9 years ago

Clone FxOS HW headers into local checkouts

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-master fixed)

RESOLVED FIXED
FxOS-S10 (30Oct)
Tracking Status
b2g-master --- fixed

People

(Reporter: tzimmermann, Assigned: tzimmermann)

References

Details

Attachments

(1 file, 1 obsolete file)

Bluedroid's configuration headers move to https://github.com/mozilla-b2g/platform_hardware_libhardware_moz . Other headers will certainly follow.

The repository has to be cloned for all devices.
Depends on: 1207196
Attached file Github pull request (obsolete) —
Moving this pull request over from bug 1196148.
See Also: → 1197286
Attached file Github pull request
Attachment #8664266 - Attachment is obsolete: true
Attachment #8665839 - Flags: review?(seinlin.maung+bugs)
Thomas, The patch for manifest looks good if the concern of different device use the same repo and branch of 'platform_hardware_libhardware_moz' is clarified.

So I'd like go confirm something. The header file in 'platform_hardware_libhardware_moz' is more likely a device dependent file. Is it any concern for bluedroid if all device use the same repo and branch? 
Such as: not all devices support BLE, but BLE_INCLUDED is alway define as TRUE.
Flags: needinfo?(tzimmermann)
Hi!

Yes, it's OK. The repo is supposed to contain low-level, hardware-independent C interfaces and related files.

The Bluetooth header file is for configuration and is currently located in Gecko's repository. [1] So Bluedroid drivers on all our devices include it already.

Drivers don't include the file directly, but via a device-specific header file in the device repository, such as [2]. If there are systems with special requirements, we can override any settings there.

[1] https://dxr.mozilla.org/mozilla-central/source/dom/bluetooth/bluedroid/b2g_bdroid_buildcfg.h
[2] https://github.com/mozilla-b2g/device-flame/blob/kitkat/bluetooth/bdroid_buildcfg.h
Flags: needinfo?(tzimmermann)
Please see comment 4.
Flags: needinfo?(seinlin.maung+bugs)
Comment on attachment 8665839 [details] [review]
Github pull request

Looks good to me.
Attachment #8665839 - Flags: review?(seinlin.maung+bugs) → review+
Flags: needinfo?(seinlin.maung+bugs)
Comment on attachment 8665839 [details] [review]
Github pull request

Updated Github pull request

  - rebased onto latest master
Carsten,

I'm not sure if anything is missing here, but from my side this bug can be resolved as FIXED.
Flags: needinfo?(cbook)
ups forgot to mark the bug as fixed, sorry thomas
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(cbook)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: