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

Issue 1480693003: Revert of New build flag system, convert Google Now flag (Closed)

Created:
5 years ago by brettw
Modified:
5 years ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, dbeam+watch-options_chromium.org, chromium-apps-reviews_chromium.org, michaelpg+watch-options_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of New build flag system, convert Google Now flag (patchset #2 id:20001 of https://codereview.chromium.org/1475513006/ ) Reason for revert: https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win%20x64%20Builder%20%28dbg%29/builds/69779/steps/compile/logs/stdio Original issue's description: > New build flag system, convert Google Now flag > > This generates headers with build flags rather than forcing them all to be global. It includes an accessor wrapper so that references to the flags will fail if the proper header is not included. > > Converts Google Now to use this and remove the global google now define and grit define. > > Adds support for grit define values of "true" and "false" for ease of integration with GN (they are mapped to the corresponding Python "True" and "False"). > > Adds dependencies from the main gyp targets to the new generated feature define target. Since GYP only does hard dependencies one level, this should reduce the chance that somebody adds more of these cases and forces to add a dependency. > > Reland of https://codereview.chromium.org/1458653002/ > TBR=mark@chromium.org > > Committed: https://crrev.com/cbc1cd295bc85219ad89326457cd7f5cf003d41c > Cr-Commit-Position: refs/heads/master@{#361741} TBR=mark@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Committed: https://crrev.com/c7cde6acb654b2c9cef527c0e8ac262d480c9f06 Cr-Commit-Position: refs/heads/master@{#361749}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -527 lines) Patch
D build/buildflag.h View 1 chunk +0 lines, -47 lines 0 comments Download
D build/buildflag_header.gni View 1 chunk +0 lines, -138 lines 0 comments Download
D build/buildflag_header.gypi View 1 chunk +0 lines, -118 lines 0 comments Download
M build/common.gypi View 6 chunks +12 lines, -0 lines 0 comments Download
M build/config/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
M build/config/features.gni View 1 chunk +2 lines, -0 lines 0 comments Download
M build/gypi_to_gn.py View 1 chunk +2 lines, -4 lines 0 comments Download
D build/write_buildflag_header.py View 1 chunk +0 lines, -95 lines 0 comments Download
M chrome/browser/BUILD.gn View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/component_loader.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/resources/BUILD.gn View 12 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/options_ui.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/chrome.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_android.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_child.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_common.gypi View 4 chunks +0 lines, -14 lines 0 comments Download
M chrome/chrome_debugger.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_exe.gypi View 1 chunk +1 line, -4 lines 0 comments Download
D chrome/chrome_features.gypi View 1 chunk +0 lines, -31 lines 0 comments Download
M chrome/chrome_plugin.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_renderer.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_resources.gyp View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/chrome_tests.gypi View 3 chunks +0 lines, -3 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/chrome_utility.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/BUILD.gn View 4 chunks +0 lines, -9 lines 0 comments Download
D chrome/common/features.gni View 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/common/pref_names.h View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/common/pref_names.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/common_constants.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M tools/grit/grit/util.py View 2 chunks +3 lines, -4 lines 0 comments Download
M tools/grit/grit_rule.gni View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
brettw
Created Revert of New build flag system, convert Google Now flag
5 years ago (2015-11-25 22:20:28 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1480693003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1480693003/1
5 years ago (2015-11-25 22:21:41 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-11-25 22:24:51 UTC) #3
commit-bot: I haz the power
5 years ago (2015-11-25 22:25:53 UTC) #5
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c7cde6acb654b2c9cef527c0e8ac262d480c9f06
Cr-Commit-Position: refs/heads/master@{#361749}

Powered by Google App Engine
This is Rietveld 408576698