| Index: build/android/java_cpp_template.gypi
|
| diff --git a/build/android/java_cpp_template.gypi b/build/android/java_cpp_template.gypi
|
| index 89058b0bc9e20b761df442de864dbe453ec4488e..22b7214d070f454b0c1b24f7ecb268c96777cfdf 100644
|
| --- a/build/android/java_cpp_template.gypi
|
| +++ b/build/android/java_cpp_template.gypi
|
| @@ -6,9 +6,6 @@
|
| # to generate Java source files from templates that are processed
|
| # through the host C pre-processor.
|
| #
|
| -# This assumes a GNU-compatible pre-processor installed as 'cpp'.
|
| -# Only tested on Linux.
|
| -#
|
| # To use this, create a gyp target with the following form:
|
| # {
|
| # 'target_name': 'android_net_java_constants',
|
| @@ -57,7 +54,8 @@
|
| '<(output_dir)/<(RULE_INPUT_ROOT).java'
|
| ],
|
| 'action': [
|
| - 'cpp', # invoke host pre-processor.
|
| + 'gcc', # invoke host gcc.
|
| + '-E', # stop after preprocessing.
|
| '-x', 'c-header', # treat sources as C header files
|
| '-P', # disable line markers, i.e. '#line 309'
|
| '-I', '<(DEPTH)', # Add project top-level to include path
|
|
|