DescriptionAdd build_config_functions.h to avoid #ifdef
An "#ifdef" statement is more confusing than using C++ syntax and
"if (XXX)". They should be used only when strictly necessary (i.e. when
code cannot compile).
For the cases where #ifdef are not strictly necessary, these new helpers can
be used.
Thanks to compiler optimization, the final compiled code will be the
same when these helpers are used instead of #ifdef.
R=rsesek@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239079
Patch Set 1 #
Total comments: 9
Patch Set 2 : Address nits #Patch Set 3 : Use namespace build. #
Total comments: 2
Patch Set 4 : Rename Arm to ARM #Patch Set 5 : Use build_config.h exclusively. #
Messages
Total messages: 21 (0 generated)
|