From owner-freebsd-chromium@freebsd.org Mon Jun 17 05:07:41 2019 Return-Path: Delivered-To: freebsd-chromium@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6245D15D383C for ; Mon, 17 Jun 2019 05:07:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CFB0E77187 for ; Mon, 17 Jun 2019 05:07:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8E7B915D383B; Mon, 17 Jun 2019 05:07:40 +0000 (UTC) Delivered-To: chromium@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5150B15D383A for ; Mon, 17 Jun 2019 05:07:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C7E3F77186 for ; Mon, 17 Jun 2019 05:07:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0E06514FC for ; Mon, 17 Jun 2019 05:07:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5H57cmY062457 for ; Mon, 17 Jun 2019 05:07:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5H57cIO062426 for chromium@FreeBSD.org; Mon, 17 Jun 2019 05:07:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: chromium@FreeBSD.org Subject: [Bug 226526] devel/chromium-gn: current_os should return "freebsd" Date: Mon, 17 Jun 2019 05:07:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pizzamig@freebsd.org X-Bugzilla-Flags: maintainer-feedback+ maintainer-feedback? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2019 05:07:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226526 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|Open |Closed --- Comment #2 from Jan Beich --- (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.=