-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to "Cromite" flags #538
Conversation
Add SET_CROMITE_FEATURE_ENABLED*, SET_CROMITE_FEATURE_DISABLED* and CROMITE_FEATURE macros, logic has been adapted from that found in brave. Allows flags to be defined in separate files. Activates a new cromite tab in chrome://flags with only the flags added and changed. In android added chrome://flags/cromite in the setting ui. Currently in wip
I plan to edit all patches that modify or add flags to cromite, excluding switches for now, the idea is to continue simplifying the rebase process.
in android I have added direct access to a special version ( Some examples of modifications already made will follow to explain the details |
in 3046dcc first example of use:
become
leaving the chromium code unchanged. There are new define:
|
in c64a775 simply an example of the use of |
in 6acf8d8 an example of the use of the chromite_flags folder so structured but if necessary I will add more folders: with the various entry points in the specific files (example, example) this way, each patch will have its own override file. separate note for the folder |
Git apply result for new-method-change-flags branch
6c36a08 <-- this should make you understand the problem I am trying to solve |
@chirayudesai @romain-hunault breaking change coming |
Will those changes prevent usage of your patches separately? |
yes, without this patch the others cannot be used. |
If this patch applies cleanly without depending on yet another one, then it shouldn't be a problem. |
ehm.. this patch needs |
next step, these patches in this order:
add also
|
I'll end up like this for now. |
FYI while building Cromite on Linux from 91419aa I get following error: ninja -v -j8 -l25 -m90 -C out/Release chrome
ninja: Entering directory `out/Release'
ninja: error: '../../cromite_flags/third_party/blink/common/features_cc/placeholder.txt', needed by 'gen/cromite_flags/third_party_blink_common_features_cc.inc', missing and no known rule to make it |
strange, it is probably a problem with the order of the deps. |
Oh, I see your builder had finished without errors. Sorry for the noise, that was an issue with |
Description
Add
SET_CROMITE_FEATURE_ENABLED*
,SET_CROMITE_FEATURE_DISABLED*
andCROMITE_FEATURE
macros, logic has been adapted from that found in brave.Allows flags to be defined in separate files.
Activates a new cromite tab in chrome://flags with only the flags added and changed. In android added chrome://flags/cromite in the setting ui.
see #403
All submissions
Format
Subject: Alternative cache (NIK-based)
->Alternative-cache-NIK-based.patch
)