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

Issue 1368223002: [GN]: BUILD file housecleaning (Closed)

Created:
5 years, 2 months ago by Bons
Modified:
5 years, 2 months ago
Reviewers:
brettw
CC:
chromium-reviews, tfarina, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[GN]: BUILD file housecleaning + Turn on precompiled headers on Mac. + Change the toolchains to use asmflags instead of cflags and cflags_c. + Remove a TODO to hardcode the Mac SDK since the location of the SDK is not always guaranteed (on bots, for example). + GN: .S or .asm files no longer trigger cflags or cflags_c to be written to the ninja file. BUG=none Committed: https://crrev.com/7a73be6eb4963662a1e9455dcdab0d5130324901 Cr-Commit-Position: refs/heads/master@{#351202}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 8

Patch Set 6 : brett's comments #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -37 lines) Patch
M build/config/BUILD.gn View 1 chunk +2 lines, -4 lines 0 comments Download
M build/config/android/BUILD.gn View 1 2 3 4 5 3 chunks +6 lines, -0 lines 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 4 5 6 chunks +14 lines, -0 lines 0 comments Download
M build/config/mac/BUILD.gn View 3 4 1 chunk +1 line, -0 lines 0 comments Download
M build/config/mac/mac_sdk.gni View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M build/config/win/BUILD.gn View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M build/toolchain/gcc_toolchain.gni View 1 chunk +1 line, -1 line 0 comments Download
M build/toolchain/mac/BUILD.gn View 5 chunks +5 lines, -17 lines 0 comments Download
M build/toolchain/win/BUILD.gn View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M tools/gn/ninja_binary_target_writer.cc View 1 chunk +2 lines, -6 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1368223002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1368223002/1
5 years, 2 months ago (2015-09-27 05:24:51 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/9562)
5 years, 2 months ago (2015-09-27 05:28:11 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1368223002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1368223002/20001
5 years, 2 months ago (2015-09-27 05:31:14 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/137488)
5 years, 2 months ago (2015-09-27 05:44:04 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1368223002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1368223002/80001
5 years, 2 months ago (2015-09-28 02:53:44 UTC) #10
Bons
5 years, 2 months ago (2015-09-28 02:54:23 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/137542)
5 years, 2 months ago (2015-09-28 03:08:32 UTC) #14
brettw
https://codereview.chromium.org/1368223002/diff/80001/build/config/android/BUILD.gn File build/config/android/BUILD.gn (right): https://codereview.chromium.org/1368223002/diff/80001/build/config/android/BUILD.gn#newcode119 build/config/android/BUILD.gn:119: asmflags = cflags A comment here might be helpful ...
5 years, 2 months ago (2015-09-28 19:44:52 UTC) #15
Bons
https://codereview.chromium.org/1368223002/diff/80001/build/config/android/BUILD.gn File build/config/android/BUILD.gn (right): https://codereview.chromium.org/1368223002/diff/80001/build/config/android/BUILD.gn#newcode119 build/config/android/BUILD.gn:119: asmflags = cflags On 2015/09/28 19:44:52, brettw wrote: > ...
5 years, 2 months ago (2015-09-28 20:15:39 UTC) #16
brettw
lgtm
5 years, 2 months ago (2015-09-28 20:22:55 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1368223002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1368223002/120001
5 years, 2 months ago (2015-09-28 22:54:14 UTC) #19
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 2 months ago (2015-09-28 23:35:25 UTC) #20
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/7a73be6eb4963662a1e9455dcdab0d5130324901 Cr-Commit-Position: refs/heads/master@{#351202}
5 years, 2 months ago (2015-09-28 23:36:10 UTC) #21
agrieve
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/1381473003/ by agrieve@chromium.org. ...
5 years, 2 months ago (2015-09-30 14:12:50 UTC) #22
agrieve
5 years, 2 months ago (2015-09-30 14:31:04 UTC) #23
Message was sent while issue was closed.
On 2015/09/30 14:12:50, agrieve wrote:
> A revert of this CL (patchset #7 id:120001) has been created in
> https://codereview.chromium.org/1381473003/ by mailto:agrieve@chromium.org.
> 
> The reason for reverting is: [721/14633] ASM
> obj/third_party/openmax_dl/dl/openmax_dl_armv7/omxSP_FFTInv_CCSToR_F32_Sfs_s.o
> FAILED: /usr/local/google/home/agrieve/goma/gomacc
> ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF
>
obj/third_party/openmax_dl/dl/openmax_dl_armv7/omxSP_FFTInv_CCSToR_F32_Sfs_s.o.d
> -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DENABLE_NOTIFICATIONS
> -DENABLE_BROWSER_CDMS -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1
> -DENABLE_SPELLCHECK=1 -DUSE_BROWSER_SPELLCHECKER=1 -DDONT_EMBED_BUILD_METADATA
> -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -DNO_TCMALLOC -DDISABLE_NACL
> -DENABLE_CONFIGURATION_POLICY -DENABLE_SUPERVISED_USERS=1
> -DENABLE_AUTOFILL_DIALOG=1 -DUSE_PROPRIETARY_CODECS
> -DV8_USE_EXTERNAL_STARTUP_DATA -DVIDEO_HOLE=1 -DMOBILE_SAFE_BROWSING
> -DSAFE_BROWSING_DB_REMOTE -DSAFE_BROWSING_SERVICE -DCHROMIUM_BUILD
> -DENABLE_MEDIA_ROUTER=1 -DENABLE_WEBVR -DFIELDTRIAL_TESTING_ENABLED
> -DCR_CLANG_REVISION=247874-1 -D_FILE_OFFSET_BITS=64 -DANDROID -DHAVE_SYS_UIO_H
> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DCOMPONENT_BUILD
> -D__GNU_SOURCE=1 -D__compiler_offsetof=__builtin_offsetof -Dnan=__builtin_nan
> -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
> -DDL_ARM_NEON_OPTIONAL -I../.. -Igen -I../../third_party/openmax_dl
> -I../../third_party/android_tools/ndk/sources/android/cpufeatures
> -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-march=armv7-a
> -mfloat-abi=softfp -mthumb -mtune=generic-armv7-a -funwind-tables -fPIC -pipe
> -fcolor-diagnostics -mfpu=vfpv3-d16
>
--sysroot=/usr/local/google/home/agrieve/ssd/git/clankium1/src/third_party/android_tools/ndk/platforms/android-16/arch-arm
> -c
>
../../third_party/openmax_dl/dl/sp/src/arm/armv7/omxSP_FFTInv_CCSToR_F32_Sfs_s.S
> -o
> obj/third_party/openmax_dl/dl/openmax_dl_armv7/omxSP_FFTInv_CCSToR_F32_Sfs_s.o
> clang: warning: argument unused during compilation: '-mfloat-abi=softfp'
> clang: warning: argument unused during compilation: '-mthumb'
> clang: warning: argument unused during compilation: '-mfpu=vfpv3-d16'
> error: unknown target CPU 'armv7-a'.

Andy's going to look into fixing this, so let's hold off a revert for now. For
anyone hitting this locally you can work around it by by patching in
https://codereview.chromium.org/1381473003/

Powered by Google App Engine
This is Rietveld 408576698