Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2019 05:07:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        chromium@FreeBSD.org
Subject:   [Bug 226526] devel/chromium-gn: current_os should return "freebsd"
Message-ID:  <bug-226526-28929-Om6FRNhYi5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-226526-28929@https.bugs.freebsd.org/bugzilla/>
References:  <bug-226526-28929@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226526

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|Open                        |Closed

--- Comment #2 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Carlos J. Puga Medina from comment #1)
Thanks. It now works with
https://firefox-source-docs.mozilla.org/build/buildsystem/gn.html

$ pkg install python27
$ hash git 2>/dev/null || pkg install mercurial
$ hg clone https://hg.mozilla.org/mozilla-unified firefox ||
  git clone https://github.com/mozilla/gecko-dev firefox
$ cd firefox
$ hg update central || git checkout origin/master
$ echo "export CC=3Dclang80 CXX=3Dclang++80 # whichever mesa installs" >>.m=
ozconfig
$ echo "ac_add_options --disable-debug-symbols" >>.mozconfig
$ ./mach bootstrap # select Firefox for Desktop
$ ./mach build
$ ./mach run

$ pkg install chromium-gn
$ ./mach configure
$ ./mach build-backend -b GnConfigGen
 0:01.32 objdir/_virtualenvs/init/bin/python objdir/config.status --backend
GnConfigGen
Reticulating splines...
 0:00.76 File already read. Skipping: modules/brotli/moz.build
Running "/usr/local/bin/gn gen objdir/media/webrtc/trunk/webrtc/gn-output
--args=3Dis_debug=3Dfalse host_cpu=3D"x64" target_os=3D"freebsd" target_cpu=
=3D"x64"
--ide=3Djson"
Generating JSON projects took 24ms
Done. Made 205 targets from 80 files in 415ms
Wrote gn config to
objdir/media/webrtc/trunk/webrtc/gn-output/x64_False_x64_freebsd.json
 0:04.71 File already read. Skipping: gfx/angle/targets/angle_common/moz.bu=
ild
Finished reading 2067 moz.build files in 8.07s
Read 64 gyp files in parallel contributing 12.87s to total wall time
Processed into 10473 build config descriptors in 7.83s
GnConfigGen backend executed in 0.80s
  1 total backend files; 1 created; 0 updated; 0 unchanged; 0 deleted
Total wall time: 30.95s; CPU time: 7.68s; Efficiency: 25%; Untracked: 14.25s
$ hg diff 2>/dev/null || git diff

*** This bug has been marked as a duplicate of bug 234773 ***

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226526-28929-Om6FRNhYi5>