m42_build_instructions

Last modified by Rob Garth on 2016/03/16 18:00

Instructions for m42 branch

You can build m42 as a stand-alone APK or build bits to integrate in the Android Build as a system package.
For each of these, the following steps are common:

  1. Copy a .gclient file to the workspace root
  2. Sync the code and runhooks
  3. Build the appropriate target corresponding to system-package or stand-alone apk followed by instructions in that section below

.gclient

solutions = [
  { "name"        : "src",
   "url"         : "git://codeaurora.org/quic/chrome4sdp/chromium/src.git@refs/remotes/origin/m42",
   "deps_file"   : "DEPS",
   "managed"     : True,
   "safesync_url": "",
  },
]
target_os = ["android"]

Sync

gclient sync -n
cd src
. build/android/envsetup.sh

Branding

Follow instructions at Browser Customization and Features for branding the browser. Most of the documentation is under Common Changes and 'Channels' section for the same.

Runhooks

Build with GCC
GYP_DEFINES="$GYP_DEFINES clang=0 OS=android" gclient runhooks -v

Build SWE as standalone package(ninja)

ninja -C out/Release swe_android_browser_apk
Tags:
Created by Rob Garth on 2015/06/01 21:17
   
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 7.4.3 - Documentation