Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Issue 1119113002: bluetooth: Initial JNI setup for device/bluetooth. (Closed)

Created:
5 years, 7 months ago by scheib
Modified:
5 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, scheib+watch_chromium.org, jam, ortuno
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Initial JNI setup for device/bluetooth. BUG=471536 Committed: https://crrev.com/1f48f15dda8892c7d57e8155a011d9b4395299ba Cr-Commit-Position: refs/heads/master@{#328678}

Patch Set 1 : #

Total comments: 18

Patch Set 2 : addressed armansito comments #

Total comments: 4

Patch Set 3 : Merge GN files, removes circular includes. #

Total comments: 2

Patch Set 4 : Additional comment on RegisterBluetoothJni #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -16 lines) Patch
M content/app/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M content/app/android/library_loader_hooks.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M content/content.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M content/content_browser.gypi View 1 chunk +2 lines, -2 lines 0 comments Download
M device/bluetooth/BUILD.gn View 1 2 5 chunks +24 lines, -3 lines 0 comments Download
M device/bluetooth/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A device/bluetooth/android/bluetooth_jni_registrar.h View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A + device/bluetooth/android/bluetooth_jni_registrar.cc View 1 2 1 chunk +7 lines, -7 lines 0 comments Download
A device/bluetooth/android/java/src/org/chromium/device/bluetooth/BluetoothAdapter.java View 1 chunk +42 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth.gyp View 2 chunks +37 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_android.h View 1 3 chunks +12 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_adapter_android.cc View 1 3 chunks +18 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_adapter_android_unittest.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M device/device_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M device/test/run_all_unittests.cc View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (15 generated)
scheib
5 years, 7 months ago (2015-05-05 01:02:28 UTC) #2
scheib
5 years, 7 months ago (2015-05-05 04:22:16 UTC) #4
scheib
armansito: PTAL device/* jam: PTAL content/*
5 years, 7 months ago (2015-05-05 04:24:05 UTC) #6
jam
lgtm
5 years, 7 months ago (2015-05-05 14:58:09 UTC) #10
armansito
mostly nits. https://codereview.chromium.org/1119113002/diff/70001/content/app/android/library_loader_hooks.cc File content/app/android/library_loader_hooks.cc (right): https://codereview.chromium.org/1119113002/diff/70001/content/app/android/library_loader_hooks.cc#newcode69 content/app/android/library_loader_hooks.cc:69: if (!device::android::RegisterBluetoothJni(env)) Can you document somewhere that ...
5 years, 7 months ago (2015-05-06 01:57:07 UTC) #11
scheib
Thanks armansito@. timvolodine@, this JNI infrastructure setup mostly follows the example from your vibration patch ...
5 years, 7 months ago (2015-05-06 04:30:15 UTC) #13
scheib
Correction on the vibration patch with related, that's https://codereview.chromium.org/583663003
5 years, 7 months ago (2015-05-06 16:35:51 UTC) #18
scheib
cjhopman@, PTAL as someone more familar with JNI/GN setup, armansito@'s requested someone with more familiarity ...
5 years, 7 months ago (2015-05-06 16:42:39 UTC) #20
cjhopman
https://codereview.chromium.org/1119113002/diff/90001/device/bluetooth/BUILD.gn File device/bluetooth/BUILD.gn (right): https://codereview.chromium.org/1119113002/diff/90001/device/bluetooth/BUILD.gn#newcode131 device/bluetooth/BUILD.gn:131: allow_circular_includes_from = [ "//device/bluetooth/android" ] It looks like you ...
5 years, 7 months ago (2015-05-06 16:56:14 UTC) #21
timvolodine
I am not an owner here, but looks lgtm to me modulo 'circular include'. https://codereview.chromium.org/1119113002/diff/90001/device/bluetooth/BUILD.gn ...
5 years, 7 months ago (2015-05-06 17:27:10 UTC) #22
cjhopman
https://codereview.chromium.org/1119113002/diff/90001/device/bluetooth/BUILD.gn File device/bluetooth/BUILD.gn (right): https://codereview.chromium.org/1119113002/diff/90001/device/bluetooth/BUILD.gn#newcode131 device/bluetooth/BUILD.gn:131: allow_circular_includes_from = [ "//device/bluetooth/android" ] On 2015/05/06 17:27:10, timvolodine ...
5 years, 7 months ago (2015-05-06 17:51:21 UTC) #23
scheib
Thanks, PTAL with merged GN targets. cjhopman, also please take a look at the .java ...
5 years, 7 months ago (2015-05-06 19:14:08 UTC) #25
cjhopman
lgtm
5 years, 7 months ago (2015-05-06 20:29:02 UTC) #26
armansito
lgtm with one nit. Thanks! https://codereview.chromium.org/1119113002/diff/210001/device/bluetooth/android/bluetooth_jni_registrar.h File device/bluetooth/android/bluetooth_jni_registrar.h (right): https://codereview.chromium.org/1119113002/diff/210001/device/bluetooth/android/bluetooth_jni_registrar.h#newcode16 device/bluetooth/android/bluetooth_jni_registrar.h:16: // See https://www.chromium.org/developers/design-documents/android-jni nit: ...
5 years, 7 months ago (2015-05-06 22:00:39 UTC) #27
scheib
Thanks https://codereview.chromium.org/1119113002/diff/210001/device/bluetooth/android/bluetooth_jni_registrar.h File device/bluetooth/android/bluetooth_jni_registrar.h (right): https://codereview.chromium.org/1119113002/diff/210001/device/bluetooth/android/bluetooth_jni_registrar.h#newcode16 device/bluetooth/android/bluetooth_jni_registrar.h:16: // See https://www.chromium.org/developers/design-documents/android-jni On 2015/05/06 22:00:39, armansito wrote: ...
5 years, 7 months ago (2015-05-06 22:57:11 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1119113002/230001
5 years, 7 months ago (2015-05-06 22:58:35 UTC) #31
commit-bot: I haz the power
Committed patchset #4 (id:230001)
5 years, 7 months ago (2015-05-07 01:59:34 UTC) #32
commit-bot: I haz the power
5 years, 7 months ago (2015-05-07 02:00:31 UTC) #33
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1f48f15dda8892c7d57e8155a011d9b4395299ba
Cr-Commit-Position: refs/heads/master@{#328678}

Powered by Google App Engine
This is Rietveld 408576698