{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/45577374","id":45577374,"diff_hunk":"@@ -146,6 +146,32 @@ SystemAppBuilder.prototype.enableFirefoxSync = function(options) {\n   preprocessor.execute(options, 'FIREFOX_SYNC', fileList);\n };\n \n+SystemAppBuilder.prototype.disableBluetoothFeatures = function(options) {\n+  var fileList = {\n+    process: [\n+      ['index.html'],\n+      ['js', 'quick_settings.js']\n+    ],\n+    remove: {\n+      'ifdef': [\n+        ['js', 'bluetooth_core.js'],\n+        ['js', 'bluetooth_headphone_icon.js'],\n+        ['js', 'bluetooth_icon.js'],\n+        ['js', 'bluetooth_transfer.js'],\n+        ['js', 'bluetooth_transfer_icon.js'],\n+        ['js', 'bluetooth_v2.js'],\n+        ['test', 'unit', 'bluetooth_core_v2_test.js'],\n+        ['test', 'unit', 'bluetooth_headphone_icon_test.js'],\n+        ['test', 'unit', 'bluetooth_icon_test.js'],\n+        ['test', 'unit', 'bluetooth_transfer_icon_test.js'],\n+        ['test', 'unit', 'bluetooth_transfer_test.js'],\n+        ['test', 'unit', 'bluetooth_v2_test.js']","path":"apps/system/build/build.js","position":23,"original_position":23,"commit_id":"cd56386969f208635fafa7992856e70f06723377","original_commit_id":"cd56386969f208635fafa7992856e70f06723377","user":{"login":"gasolin","id":748808,"avatar_url":"https://avatars.githubusercontent.com/u/748808?v=3","gravatar_id":"","url":"https://api.github.com/users/gasolin","html_url":"https://github.com/gasolin","followers_url":"https://api.github.com/users/gasolin/followers","following_url":"https://api.github.com/users/gasolin/following{/other_user}","gists_url":"https://api.github.com/users/gasolin/gists{/gist_id}","starred_url":"https://api.github.com/users/gasolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gasolin/subscriptions","organizations_url":"https://api.github.com/users/gasolin/orgs","repos_url":"https://api.github.com/users/gasolin/repos","events_url":"https://api.github.com/users/gasolin/events{/privacy}","received_events_url":"https://api.github.com/users/gasolin/received_events","type":"User","site_admin":false},"body":"`style/bluetooth_transfer/bluetooth_transfer.css` and images/","created_at":"2015-11-23T07:42:44Z","updated_at":"2015-11-23T07:42:44Z","html_url":"https://github.com/mozilla-b2g/gaia/pull/33048#discussion_r45577374","pull_request_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/33048","_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/45577374"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/33048#discussion_r45577374"},"pull_request":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/33048"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/33048","id":49977181,"html_url":"https://github.com/mozilla-b2g/gaia/pull/33048","diff_url":"https://github.com/mozilla-b2g/gaia/pull/33048.diff","patch_url":"https://github.com/mozilla-b2g/gaia/pull/33048.patch","issue_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/33048","number":33048,"state":"open","locked":false,"title":"Bug 1204095 - Disable bluetooth quick settings for FxOS Dev Preview","user":{"login":"samgiles","id":840334,"avatar_url":"https://avatars.githubusercontent.com/u/840334?v=3","gravatar_id":"","url":"https://api.github.com/users/samgiles","html_url":"https://github.com/samgiles","followers_url":"https://api.github.com/users/samgiles/followers","following_url":"https://api.github.com/users/samgiles/following{/other_user}","gists_url":"https://api.github.com/users/samgiles/gists{/gist_id}","starred_url":"https://api.github.com/users/samgiles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samgiles/subscriptions","organizations_url":"https://api.github.com/users/samgiles/orgs","repos_url":"https://api.github.com/users/samgiles/repos","events_url":"https://api.github.com/users/samgiles/events{/privacy}","received_events_url":"https://api.github.com/users/samgiles/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-06T16:53:01Z","updated_at":"2015-11-23T07:42:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"192e3f240224a14ee2ae59330213a55e0eeae465","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/33048/commits","review_comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/33048/comments","review_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/33048/comments","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/cd56386969f208635fafa7992856e70f06723377","head":{"label":"samgiles:no-bluetooth","ref":"no-bluetooth","sha":"cd56386969f208635fafa7992856e70f06723377","user":{"login":"samgiles","id":840334,"avatar_url":"https://avatars.githubusercontent.com/u/840334?v=3","gravatar_id":"","url":"https://api.github.com/users/samgiles","html_url":"https://github.com/samgiles","followers_url":"https://api.github.com/users/samgiles/followers","following_url":"https://api.github.com/users/samgiles/following{/other_user}","gists_url":"https://api.github.com/users/samgiles/gists{/gist_id}","starred_url":"https://api.github.com/users/samgiles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samgiles/subscriptions","organizations_url":"https://api.github.com/users/samgiles/orgs","repos_url":"https://api.github.com/users/samgiles/repos","events_url":"https://api.github.com/users/samgiles/events{/privacy}","received_events_url":"https://api.github.com/users/samgiles/received_events","type":"User","site_admin":false},"repo":{"id":45078177,"name":"gaia","full_name":"samgiles/gaia","owner":{"login":"samgiles","id":840334,"avatar_url":"https://avatars.githubusercontent.com/u/840334?v=3","gravatar_id":"","url":"https://api.github.com/users/samgiles","html_url":"https://github.com/samgiles","followers_url":"https://api.github.com/users/samgiles/followers","following_url":"https://api.github.com/users/samgiles/following{/other_user}","gists_url":"https://api.github.com/users/samgiles/gists{/gist_id}","starred_url":"https://api.github.com/users/samgiles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samgiles/subscriptions","organizations_url":"https://api.github.com/users/samgiles/orgs","repos_url":"https://api.github.com/users/samgiles/repos","events_url":"https://api.github.com/users/samgiles/events{/privacy}","received_events_url":"https://api.github.com/users/samgiles/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samgiles/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see","fork":true,"url":"https://api.github.com/repos/samgiles/gaia","forks_url":"https://api.github.com/repos/samgiles/gaia/forks","keys_url":"https://api.github.com/repos/samgiles/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samgiles/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samgiles/gaia/teams","hooks_url":"https://api.github.com/repos/samgiles/gaia/hooks","issue_events_url":"https://api.github.com/repos/samgiles/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/samgiles/gaia/events","assignees_url":"https://api.github.com/repos/samgiles/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/samgiles/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/samgiles/gaia/tags","blobs_url":"https://api.github.com/repos/samgiles/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samgiles/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samgiles/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/samgiles/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samgiles/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/samgiles/gaia/languages","stargazers_url":"https://api.github.com/repos/samgiles/gaia/stargazers","contributors_url":"https://api.github.com/repos/samgiles/gaia/contributors","subscribers_url":"https://api.github.com/repos/samgiles/gaia/subscribers","subscription_url":"https://api.github.com/repos/samgiles/gaia/subscription","commits_url":"https://api.github.com/repos/samgiles/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/samgiles/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/samgiles/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/samgiles/gaia/issues/comments{/number}","contents_url":"https://api.github.com/repos/samgiles/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/samgiles/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samgiles/gaia/merges","archive_url":"https://api.github.com/repos/samgiles/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samgiles/gaia/downloads","issues_url":"https://api.github.com/repos/samgiles/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/samgiles/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/samgiles/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/samgiles/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samgiles/gaia/labels{/name}","releases_url":"https://api.github.com/repos/samgiles/gaia/releases{/id}","created_at":"2015-10-28T00:17:48Z","updated_at":"2015-10-28T00:19:00Z","pushed_at":"2015-11-17T17:40:45Z","git_url":"git://github.com/samgiles/gaia.git","ssh_url":"git@github.com:samgiles/gaia.git","clone_url":"https://github.com/samgiles/gaia.git","svn_url":"https://github.com/samgiles/gaia","homepage":"https://wiki.mozilla.org/B2G","size":996204,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla-b2g:master","ref":"master","sha":"5bb6cd1ff4191b4e963fb141cb6a5f1530653ecb","user":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"repo":{"id":2317369,"name":"gaia","full_name":"mozilla-b2g/gaia","owner":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-b2g/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see","fork":false,"url":"https://api.github.com/repos/mozilla-b2g/gaia","forks_url":"https://api.github.com/repos/mozilla-b2g/gaia/forks","keys_url":"https://api.github.com/repos/mozilla-b2g/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-b2g/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-b2g/gaia/teams","hooks_url":"https://api.github.com/repos/mozilla-b2g/gaia/hooks","issue_events_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-b2g/gaia/events","assignees_url":"https://api.github.com/repos/mozilla-b2g/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-b2g/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/tags","blobs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-b2g/gaia/languages","stargazers_url":"https://api.github.com/repos/mozilla-b2g/gaia/stargazers","contributors_url":"https://api.github.com/repos/mozilla-b2g/gaia/contributors","subscribers_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscribers","subscription_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscription","commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-b2g/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-b2g/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-b2g/gaia/merges","archive_url":"https://api.github.com/repos/mozilla-b2g/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-b2g/gaia/downloads","issues_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-b2g/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-b2g/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-b2g/gaia/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-b2g/gaia/releases{/id}","created_at":"2011-09-03T01:38:46Z","updated_at":"2015-11-21T20:16:52Z","pushed_at":"2015-11-23T05:26:17Z","git_url":"git://github.com/mozilla-b2g/gaia.git","ssh_url":"git@github.com:mozilla-b2g/gaia.git","clone_url":"https://github.com/mozilla-b2g/gaia.git","svn_url":"https://github.com/mozilla-b2g/gaia","homepage":"https://wiki.mozilla.org/B2G","size":1182982,"stargazers_count":2012,"watchers_count":2012,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2544,"mirror_url":null,"open_issues_count":1292,"forks":2544,"open_issues":1292,"watchers":2012,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/33048"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/33048"},"issue":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/33048"},"comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/33048/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/33048/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/33048/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/cd56386969f208635fafa7992856e70f06723377"}}}}