DescriptionFor the WebView build, invoking "cpp" from $PATH is problematic on some
host platforms because the Android build system is intended to use
hermetic toolchains. However, using the hermetic toolchain correctly is
also difficult.
To avoid this, use a regex to strip comments instead of invoking cpp.
This regex shoud handle all the Java source cases correctly (it deals
with strings that contain //, /* or */) and should also improve
performance compared to invoking cpp. The JNI generator tests pass with
this change.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263650
Patch Set 1 #Patch Set 2 : Fix android topdir reference #Patch Set 3 : Fix args for gcc #Patch Set 4 : Completely different approach #
Total comments: 6
Patch Set 5 : address nits #Messages
Total messages: 8 (0 generated)
|