Description[Cronet] Enforce Cronet API never modified, only grown
Enforce that the Cronet API classes and methods are never modified or
removed, only added. Modifying or removing an API class or method
breaks backwards compatibility. This is enforced by:
1. Keep an updated dump of the Cronet API in components/cronet/android/api.txt
2. When building check that the Cronet API matches that in api.txt
3. Provide a script for updating api.txt; this script also enforces that
only additions are made to the API.
This change also maintains a version number for the Cronet API. Cronet
can use this to enforce, for example that the Cronet implementation is at
least as new as the Cronet API being used.
BUG=629299
R=kapishnikov
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester
Committed: https://crrev.com/2a6ee085bd4c2bd39625a867561c5cc39a1377db
Cr-Commit-Position: refs/heads/master@{#441455}
Patch Set 1 #Patch Set 2 : fix #Patch Set 3 : fix #
Total comments: 8
Patch Set 4 : rebase #Patch Set 5 : add some tests #Patch Set 6 : rebase #Patch Set 7 : address comments #Patch Set 8 : add more tests #
Total comments: 4
Patch Set 9 : address comments by rebasing #Patch Set 10 : rebase #Patch Set 11 : rebase #Patch Set 12 : update api.txt #Patch Set 13 : rebase #Patch Set 14 : change python sources to inputs #Patch Set 15 : change import line #Patch Set 16 : add debug prints #Patch Set 17 : import absolute_import #Patch Set 18 : disambiguate tools directory #Patch Set 19 : remove absolute_import #
Messages
Total messages: 19 (8 generated)
|