Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(824)

Issue 136073002: android: Set gcc_version in build/common.gypi instead of in envsetup. (Closed)

Created:
6 years, 11 months ago by Nico
Modified:
6 years, 11 months ago
Reviewers:
Torne
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org, brettw
Visibility:
Public.

Description

android: Set gcc_version in build/common.gypi instead of in envsetup. BUG=330631 R=torne@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244615

Patch Set 1 #

Patch Set 2 : gn #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -11 lines) Patch
M build/android/envsetup_functions.sh View 2 chunks +0 lines, -4 lines 0 comments Download
M build/common.gypi View 2 chunks +8 lines, -6 lines 1 comment Download
M build/gyp_chromium View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Nico
https://codereview.chromium.org/136073002/diff/40001/build/common.gypi File build/common.gypi (left): https://codereview.chromium.org/136073002/diff/40001/build/common.gypi#oldcode3833 build/common.gypi:3833: '-Wno-error=c++0x-compat', (I'm hoping the trybots will tell me if ...
6 years, 11 months ago (2014-01-12 23:50:46 UTC) #1
Torne
Are we really using gcc 4.6 to build Chrome on Android? I thought the latest ...
6 years, 11 months ago (2014-01-13 18:41:56 UTC) #2
Nico
On 2014/01/13 18:41:56, Torne wrote: > Are we really using gcc 4.6 to build Chrome ...
6 years, 11 months ago (2014-01-13 18:42:43 UTC) #3
Torne
On 2014/01/13 18:42:43, Nico wrote: > On 2014/01/13 18:41:56, Torne wrote: > > Are we ...
6 years, 11 months ago (2014-01-13 19:34:13 UTC) #4
Nico
Thanks!
6 years, 11 months ago (2014-01-13 19:41:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/136073002/40001
6 years, 11 months ago (2014-01-13 19:43:17 UTC) #6
Nico
Committed patchset #2 manually as r244615 (presubmit successful).
6 years, 11 months ago (2014-01-14 00:14:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/136073002/40001
6 years, 11 months ago (2014-01-14 00:42:55 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-14 00:42:58 UTC) #9
Message was sent while issue was closed.
Failed to apply patch for build/android/envsetup_functions.sh:
While running patch -p1 --forward --force --no-backup-if-mismatch;
  patching file build/android/envsetup_functions.sh
  Hunk #1 FAILED at 44.
  Hunk #2 FAILED at 86.
  2 out of 2 hunks FAILED -- saving rejects to file
build/android/envsetup_functions.sh.rej

Patch:       build/android/envsetup_functions.sh
Index: build/android/envsetup_functions.sh
diff --git a/build/android/envsetup_functions.sh
b/build/android/envsetup_functions.sh
index
29cf44f19b8ca2288236859104f1c899bc8226b2..612e154cd2bb43ccd525342d9e435f14e19ce16c
100755
--- a/build/android/envsetup_functions.sh
+++ b/build/android/envsetup_functions.sh
@@ -44,9 +44,6 @@ common_vars_defines() {
   esac
 
   toolchain_version="4.6"
-  # We directly set the gcc_version since we know what we use, and it should
-  # be set to xx instead of x.x. Refer the output of compiler_version.py.
-  gcc_version="46"
   toolchain_target=$(basename \
     ${ANDROID_NDK_ROOT}/toolchains/${toolchain_arch}-${toolchain_version})
   toolchain_path="${ANDROID_NDK_ROOT}/toolchains/${toolchain_target}"\
@@ -86,7 +83,6 @@ ${ANDROID_SDK_BUILD_TOOLS_VERSION}
   # to canonicalize them (remove double '/', remove trailing '/', etc).
   DEFINES="OS=android"
   DEFINES+=" host_os=${host_os}"
-  DEFINES+=" gcc_version=${gcc_version}"
 
   if [[ -n "$CHROME_ANDROID_OFFICIAL_BUILD" ]]; then
     DEFINES+=" branding=Chrome"

Powered by Google App Engine
This is Rietveld 408576698