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

Issue 1265263002: Use new GN features in the build. (Closed)

Created:
5 years, 4 months ago by brettw
Modified:
5 years, 4 months ago
Reviewers:
Dirk Pranke, Peng
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use new GN features in the build. Uses forward_variables_from for some obvious cases not including the Android build, and use the template() function in the component() definition. Remove uses of component_mode since I want to delete that. Committed: https://crrev.com/a09029884e02a3c027a485877886cf75969f6b3d Cr-Commit-Position: refs/heads/master@{#341767}

Patch Set 1 #

Patch Set 2 : Android #

Total comments: 3

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -385 lines) Patch
M build/config/BUILDCONFIG.gn View 1 2 2 chunks +11 lines, -187 lines 1 comment Download
M build/config/linux/pkg_config.gni View 1 chunk +5 lines, -6 lines 0 comments Download
M build/config/win/manifest.gni View 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/chrome_repack_locales.gni View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/test/base/js2gtest.gni View 1 chunk +5 lines, -6 lines 0 comments Download
M chrome/version.gni View 2 chunks +2 lines, -6 lines 0 comments Download
M skia/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
M testing/test.gni View 1 4 chunks +30 lines, -158 lines 0 comments Download
M third_party/protobuf/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/protobuf/proto_library.gni View 1 chunk +6 lines, -9 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
brettw
5 years, 4 months ago (2015-08-04 16:14:25 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265263002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265263002/1
5 years, 4 months ago (2015-08-04 16:14:38 UTC) #4
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/115844)
5 years, 4 months ago (2015-08-04 16:22:20 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265263002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265263002/20001
5 years, 4 months ago (2015-08-04 16:39:13 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-04 17:05:07 UTC) #10
Dirk Pranke
lgtm. Nice cleanup! https://codereview.chromium.org/1265263002/diff/20001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/1265263002/diff/20001/build/config/BUILDCONFIG.gn#newcode607 build/config/BUILDCONFIG.gn:607: # TODO(brettw) Convert this to being ...
5 years, 4 months ago (2015-08-04 18:19:22 UTC) #11
brettw
https://codereview.chromium.org/1265263002/diff/20001/build/config/linux/pkg_config.gni File build/config/linux/pkg_config.gni (right): https://codereview.chromium.org/1265263002/diff/20001/build/config/linux/pkg_config.gni#newcode80 build/config/linux/pkg_config.gni:80: ]) I agree, we should fix the autoformatter at ...
5 years, 4 months ago (2015-08-04 19:10:26 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265263002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265263002/40001
5 years, 4 months ago (2015-08-04 19:11:38 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-04 19:50:39 UTC) #16
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a09029884e02a3c027a485877886cf75969f6b3d Cr-Commit-Position: refs/heads/master@{#341767}
5 years, 4 months ago (2015-08-04 19:53:06 UTC) #17
Peng
https://codereview.chromium.org/1265263002/diff/40001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/1265263002/diff/40001/build/config/BUILDCONFIG.gn#newcode617 build/config/BUILDCONFIG.gn:617: target(component_mode, target_name) { Build error for mandoline at this ...
5 years, 4 months ago (2015-08-05 18:45:38 UTC) #19
brettw
On 2015/08/05 18:45:38, Peng wrote: > https://codereview.chromium.org/1265263002/diff/40001/build/config/BUILDCONFIG.gn > File build/config/BUILDCONFIG.gn (right): > > https://codereview.chromium.org/1265263002/diff/40001/build/config/BUILDCONFIG.gn#newcode617 > ...
5 years, 4 months ago (2015-08-05 20:05:34 UTC) #20
Peng
On 2015/08/05 20:05:34, brettw wrote: > On 2015/08/05 18:45:38, Peng wrote: > > > https://codereview.chromium.org/1265263002/diff/40001/build/config/BUILDCONFIG.gn ...
5 years, 4 months ago (2015-08-05 20:08:11 UTC) #21
brettw
gclient sync should give it to you. Did you do anything to disable hooks?
5 years, 4 months ago (2015-08-05 20:11:09 UTC) #22
Peng
On 2015/08/05 20:08:11, Peng wrote: > On 2015/08/05 20:05:34, brettw wrote: > > On 2015/08/05 ...
5 years, 4 months ago (2015-08-05 20:27:49 UTC) #23
brettw
5 years, 4 months ago (2015-08-05 22:00:34 UTC) #24
Message was sent while issue was closed.
You need to run hooks. If you don't want to run GYP, export
GYP_CHROMIUM_NO_ACTION=1

YOu seem to be running a configuration that's not compiled anywhere. I'm
guessing views on Android?
  ./chrome/browser/ui/views/infobars/confirm_infobar.cc
  ./chrome/browser/ui/android/infobars/confirm_infobar.cc
you probably need to decide which of these you mean to be compiling.

Powered by Google App Engine
This is Rietveld 408576698