xref: /aosp_15_r20/external/angle/src/common/base/README.chromium (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1*8975f5c5SAndroid Build Coastguard WorkerName: Chromium base:: helper Classes
2*8975f5c5SAndroid Build Coastguard WorkerShort Name: base::numerics, base::MRUCachem, base::SHA1
3*8975f5c5SAndroid Build Coastguard WorkerVersion:
4*8975f5c5SAndroid Build Coastguard WorkerURL: https://chromium.googlesource.com/chromium/src/base/+/main
5*8975f5c5SAndroid Build Coastguard WorkerSOURCE CODE: Copy the Chromium folder manually into this folder and run git cl format.
6*8975f5c5SAndroid Build Coastguard WorkerDate: 2017-05-24
7*8975f5c5SAndroid Build Coastguard WorkerRevision: 28b5bbb227d331c01e6ff9b2f8729732135aadc7 (Chromium)
8*8975f5c5SAndroid Build Coastguard WorkerSecurity Critical: no
9*8975f5c5SAndroid Build Coastguard WorkerShipped: yes
10*8975f5c5SAndroid Build Coastguard WorkerLicense: Chromium
11*8975f5c5SAndroid Build Coastguard WorkerLicense File: LICENSE in Chromium/src
12*8975f5c5SAndroid Build Coastguard Worker
13*8975f5c5SAndroid Build Coastguard WorkerDescription:
14*8975f5c5SAndroid Build Coastguard Workerbase::numerics is a library for doing some simple safe math and conversions.
15*8975f5c5SAndroid Build Coastguard Workerbase::MRUCache is a few collections of most-recently-used caching structures.
16*8975f5c5SAndroid Build Coastguard Workerbase::SHA1 is a secure hashing algorithm.
17*8975f5c5SAndroid Build Coastguard Worker
18*8975f5c5SAndroid Build Coastguard WorkerTo update the checkout, simply overwrite the folder with Chromium's latest, apply
19*8975f5c5SAndroid Build Coastguard Workerthe appropriate namespace, and make sure the paths are correct (anglebase/ instead of
20*8975f5c5SAndroid Build Coastguard Workerbase/), and update the header guards and macros.
21*8975f5c5SAndroid Build Coastguard Worker
22*8975f5c5SAndroid Build Coastguard WorkerModifications:
23*8975f5c5SAndroid Build Coastguard Worker
24*8975f5c5SAndroid Build Coastguard Worker- the file scope is now anglebase/ from base/ to prevent include conflicts.
25*8975f5c5SAndroid Build Coastguard Worker- anglebase/logging.h defines (D)CHECK to be ASSERT to be compatible with ANGLE.
26*8975f5c5SAndroid Build Coastguard Worker- the headers use namespace angle::base instead of base:: to avoid ODR
27*8975f5c5SAndroid Build Coastguard Worker  violations when ANGLE code is mixed with Chromium code.
28*8975f5c5SAndroid Build Coastguard Worker- header guards and macros are changed from BASE to ANGLEBASE to prevent conflicts.
29