Commit 45b1297
[ObjC] Remove
Since protobuf now has `import option` the original idea around this
is reduced; but more importantly, using the option can run into
problems if a build system wants to do layering checks on the
generated code. So...
- Document the problem
- Remove the warning
It may make sense to flip the default on this option back in the future and even deprecated/eventually remove it. The other choice would be to figure out how to make the generation work with the
transitive `import public` problem.
PiperOrigin-RevId: 820681829generate_minimal_imports generation option warning1 parent 566c800 commit 45b1297
File tree
2 files changed
+11
-13
lines changed- src/google/protobuf/compiler/objectivec
2 files changed
+11
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
836 | 836 | | |
837 | 837 | | |
838 | 838 | | |
839 | | - | |
840 | | - | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
841 | 850 | | |
842 | 851 | | |
843 | 852 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | 347 | | |
359 | 348 | | |
360 | 349 | | |
| |||
0 commit comments