{"action":"created","issue":{"url":"https://api.github.com/repos/crosswalk-project/crosswalk/issues/3768","repository_url":"https://api.github.com/repos/crosswalk-project/crosswalk","labels_url":"https://api.github.com/repos/crosswalk-project/crosswalk/issues/3768/labels{/name}","comments_url":"https://api.github.com/repos/crosswalk-project/crosswalk/issues/3768/comments","events_url":"https://api.github.com/repos/crosswalk-project/crosswalk/issues/3768/events","html_url":"https://github.com/crosswalk-project/crosswalk/pull/3768","id":163125268,"number":3768,"title":"Add GN build support in Crosswalk.","user":{"login":"heke123","id":3487569,"avatar_url":"https://avatars.githubusercontent.com/u/3487569?v=3","gravatar_id":"","url":"https://api.github.com/users/heke123","html_url":"https://github.com/heke123","followers_url":"https://api.github.com/users/heke123/followers","following_url":"https://api.github.com/users/heke123/following{/other_user}","gists_url":"https://api.github.com/users/heke123/gists{/gist_id}","starred_url":"https://api.github.com/users/heke123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heke123/subscriptions","organizations_url":"https://api.github.com/users/heke123/orgs","repos_url":"https://api.github.com/users/heke123/repos","events_url":"https://api.github.com/users/heke123/events{/privacy}","received_events_url":"https://api.github.com/users/heke123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-06-30T09:48:57Z","updated_at":"2016-07-06T09:33:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/crosswalk-project/crosswalk/pulls/3768","html_url":"https://github.com/crosswalk-project/crosswalk/pull/3768","diff_url":"https://github.com/crosswalk-project/crosswalk/pull/3768.diff","patch_url":"https://github.com/crosswalk-project/crosswalk/pull/3768.patch"},"body":"    Now it can build Crosswalk for Android and Linux\r\n\r\n    Authors:\r\n      peter.h.wang@intel.com,  ke.he@intel.com\r\n\r\n    Usage:\r\n      In Chromium src\r\n           python xwalk/gn_xwalk --target-os='android' --is-debug=false\r\n      See more info by run:\r\n           python xwalk/gn_xwalk -h\r\n\r\n      By default, the target_cpu is set as x86, the .ninja files are generated in folder is\r\n      'out/Default'. Then\r\n           ninja -C out/Default xwalk_builder\r\n\r\n    Explanation of patch:\r\n      1) The neccessary changes in source files are enclosed by macro \"GN_BUILDING\"\r\n      2) Some utilities scripts for GN are added to \"build/android/gn\"\r\n         We will clean gyp-special scripts once transferring to GN is succesess\r\n      3) 'BUILD.gn's are ditributing in correspondent sub-folders.\r\n         Followings show the relationship between main targets:\r\n\r\n                  xwalk_core_shell_apk (runtime/android/core_shell/BUILD.gn)\r\n               _______________|________________________________\r\n               |                   |                           |\r\n               |                   |         xwalk_core_internal_java (runtime/android/core_internal/BUILD.gn)\r\n               |             xwalk_core_java (runtime/android/core/BUILD.gn)\r\n               |\r\n         libxwalkcore (android/BUILD.gn)\r\n               |\r\n         xwalk_runtime (./BUILD.gn)\r\n\r\n                              xwalk (./BUILD.gn)\r\n               _________________|_________________________\r\n               |                                          |\r\n         xwalk_runtime (./BUILD.gn)                   xwalk_main.cc\r\n        _______|___________________________________________________\r\n        |                     |                                    |\r\n     Chromium's target    extensions (extensions/BUILD.gn)   sysapps (sysapps/BUILD.gn)\r\n\r\n    TODO:\r\n      1) Building for Windows.\r\n      2) Features for Android: Add LZMA support.\r\n      3) Features for Linux, such as nacl, file picker etc.\r\n\r\n    BUG=XWALK-3674"},"comment":{"url":"https://api.github.com/repos/crosswalk-project/crosswalk/issues/comments/230724314","html_url":"https://github.com/crosswalk-project/crosswalk/pull/3768#issuecomment-230724314","issue_url":"https://api.github.com/repos/crosswalk-project/crosswalk/issues/3768","id":230724314,"user":{"login":"crosswalk-trybot","id":6804778,"avatar_url":"https://avatars.githubusercontent.com/u/6804778?v=3","gravatar_id":"","url":"https://api.github.com/users/crosswalk-trybot","html_url":"https://github.com/crosswalk-trybot","followers_url":"https://api.github.com/users/crosswalk-trybot/followers","following_url":"https://api.github.com/users/crosswalk-trybot/following{/other_user}","gists_url":"https://api.github.com/users/crosswalk-trybot/gists{/gist_id}","starred_url":"https://api.github.com/users/crosswalk-trybot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crosswalk-trybot/subscriptions","organizations_url":"https://api.github.com/users/crosswalk-trybot/orgs","repos_url":"https://api.github.com/users/crosswalk-trybot/repos","events_url":"https://api.github.com/users/crosswalk-trybot/events{/privacy}","received_events_url":"https://api.github.com/users/crosswalk-trybot/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T09:33:16Z","updated_at":"2016-07-06T09:33:16Z","body":"The patch series with heke123/crosswalk@71efea76fbed016416ff03fb399eed5d9946178a as head will be tested soon."}}
{"actor":{"display_login":"crosswalk-trybot"}}