Commit 8ea98b6
committed
Let FromGlobalGflags take an explicit default.
New features and the code paths enabling them are often gated behind
flags; initially, the defaults have these code paths disabled, i.e., the
flags are off by default. That default value is statically defined in
the flag's definition and FromGlobalGflags uses that static default.
In order to change this when ramping up exposure to the new feature, we
need to override this. Here, we add a new version of FromGlobalGflags
that lets a default be explicitly specified, and change
BoolFromGlobalGflags (only) to match.1 parent dab33c7 commit 8ea98b6
File tree
2 files changed
+20
-2
lines changed- base/cvd/cuttlefish/host/commands/assemble_cvd/flags
2 files changed
+20
-2
lines changedLines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
60 | 69 | | |
61 | 70 | | |
62 | 71 | | |
| |||
65 | 74 | | |
66 | 75 | | |
67 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
68 | 84 | | |
69 | 85 | | |
70 | 86 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
0 commit comments