|
|
Chromium Code Reviews|
Created:
4 years, 3 months ago by François Beaufort Modified:
4 years, 2 months ago CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionDisable chrome.bluetoothLowEnergy on non linux platforms
BUG=648212
Committed: https://crrev.com/ff04ae6fa1e2205b096566aabab1fffbf81090e5
Cr-Commit-Position: refs/heads/master@{#421505}
Patch Set 1 #
Total comments: 1
Patch Set 2 : get rid of all these child features #Patch Set 3 : Fix tests #Patch Set 4 : Add build specific rules to the BUILD.gn #Patch Set 5 : Add build specific rules to the BUILD.gn #2 #
Total comments: 2
Patch Set 6 : Address steel@ feedback #Messages
Total messages: 37 (19 generated)
beaufort.francois@gmail.com changed reviewers: + rdevlin.cronin@chromium.org
Hello, This patch is about disabling properly chrome.bluetoothLowEnergy on non linux platforms as it is not officially supported.
https://codereview.chromium.org/2353483002/diff/1/extensions/common/api/_api_... File extensions/common/api/_api_features.json (right): https://codereview.chromium.org/2353483002/diff/1/extensions/common/api/_api_... extensions/common/api/_api_features.json:98: "bluetoothLowEnergy.createService": { Can we get rid of all these child features, since they now match the parent?
beaufort.francois@gmail.com changed reviewers: + steel@chromium.org
I've got rid of all the child features since they now match the parent. Adding steel@ as well then.
lgtm
The CQ bit was checked by beaufort.francois@gmail.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
Looks like a number of bluetooth tests need to be updated to only run on supported platforms.
The CQ bit was checked by fbeaufort@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
On 2016/09/21 16:18:19, Devlin (OOO until sep 26) wrote: > Looks like a number of bluetooth tests need to be updated to only run on > supported platforms. I've updated tests. steeel@ WDYT?
This will only run the API tests on Chrome OS, which is not what we want. This needs to be fixed by adding build specific rules to the BUILD.gn to only add the _apitest.cc file when we're on either Chrome OS, or on linux with use_dbus==1
The CQ bit was checked by fbeaufort@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by fbeaufort@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
On 2016/09/23 18:42:33, Rahul Chaturvedi wrote: > This will only run the API tests on Chrome OS, which is not what we want. This > needs to be fixed by adding build specific rules to the BUILD.gn to only add the > _apitest.cc file when we're on either Chrome OS, or on linux with use_dbus==1 Rahul, Devlin does that latest patch look good to you?
lgtm. Rahul's more familiar with build files nowadays, so I'll let him comment definitively on that. https://codereview.chromium.org/2353483002/diff/80001/chrome/test/BUILD.gn File chrome/test/BUILD.gn (right): https://codereview.chromium.org/2353483002/diff/80001/chrome/test/BUILD.gn#ne... chrome/test/BUILD.gn:1830: if ((is_chromeos || is_linux) && use_dbus) { nit: it looks like most of the platform-specific additions are below this block. Maybe add this there?
https://codereview.chromium.org/2353483002/diff/80001/chrome/test/BUILD.gn File chrome/test/BUILD.gn (right): https://codereview.chromium.org/2353483002/diff/80001/chrome/test/BUILD.gn#ne... chrome/test/BUILD.gn:1830: if ((is_chromeos || is_linux) && use_dbus) { Should be, if (is_chromeos || (is_linux && use_dbus)) { I am not particular where this gets places - this entire file is such a mess anyway. Additionally, bluetooth tests are one of the first few we're looking to move into //extensions anyway.
On 2016/09/26 18:21:22, Rahul Chaturvedi wrote: > https://codereview.chromium.org/2353483002/diff/80001/chrome/test/BUILD.gn > File chrome/test/BUILD.gn (right): > > https://codereview.chromium.org/2353483002/diff/80001/chrome/test/BUILD.gn#ne... > chrome/test/BUILD.gn:1830: if ((is_chromeos || is_linux) && use_dbus) { > Should be, > if (is_chromeos || (is_linux && use_dbus)) { > > I am not particular where this gets places - this entire file is such a mess > anyway. Additionally, bluetooth tests are one of the first few we're looking to > move into //extensions anyway. Feedback is addressed. Thanks everyone!
The CQ bit was checked by beaufort.francois@gmail.com
The patchset sent to the CQ was uploaded after l-g-t-m from steel@chromium.org, rdevlin.cronin@chromium.org Link to the patchset: https://codereview.chromium.org/2353483002/#ps100001 (title: "Address steel@ feedback")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #6 (id:100001)
Message was sent while issue was closed.
Description was changed from ========== Disable chrome.bluetoothLowEnergy on non linux platforms BUG=648212 ========== to ========== Disable chrome.bluetoothLowEnergy on non linux platforms BUG=648212 Committed: https://crrev.com/ff04ae6fa1e2205b096566aabab1fffbf81090e5 Cr-Commit-Position: refs/heads/master@{#421505} ==========
Message was sent while issue was closed.
Patchset 6 (id:??) landed as https://crrev.com/ff04ae6fa1e2205b096566aabab1fffbf81090e5 Cr-Commit-Position: refs/heads/master@{#421505}
Message was sent while issue was closed.
Next time, please wait for re-l g t m after major changes before committing.
Message was sent while issue was closed.
On 2016/09/28 17:32:00, Rahul Chaturvedi wrote: > Next time, please wait for re-l g t m after major changes before committing. Sorry for that. It won't happen again. |
