| Index: components/data_reduction_proxy.gypi
|
| diff --git a/components/data_reduction_proxy.gypi b/components/data_reduction_proxy.gypi
|
| index 9be6ed7fd45411fc6edb25350ba1a79773fcb44c..42ff0d28cdf43becf00f62286992b5f0a41c0409 100644
|
| --- a/components/data_reduction_proxy.gypi
|
| +++ b/components/data_reduction_proxy.gypi
|
| @@ -10,6 +10,7 @@
|
| 'target_name': 'data_reduction_proxy_browser',
|
| 'type': 'static_library',
|
| 'dependencies': [
|
| + 'data_reduction_proxy_version_header',
|
| '../base/base.gyp:base',
|
| '../crypto/crypto.gyp:crypto',
|
| '../net/net.gyp:net',
|
| @@ -86,6 +87,39 @@
|
| 'data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h',
|
| ],
|
| },
|
| + {
|
| + 'target_name': 'data_reduction_proxy_version_header',
|
| + 'type': 'none',
|
| + 'direct_dependent_settings': {
|
| + 'include_dirs': [
|
| + '<(SHARED_INTERMEDIATE_DIR)',
|
| + ],
|
| + },
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'version_header',
|
| + 'message': 'Generating version header file: <@(_outputs)',
|
| + 'inputs': [
|
| + '<(version_path)',
|
| + 'data_reduction_proxy/common/version.h.in',
|
| + ],
|
| + 'outputs': [
|
| + '<(SHARED_INTERMEDIATE_DIR)/components/data_reduction_proxy/common/version.h',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + '<(version_py_path)',
|
| + '-e', 'VERSION_FULL="<(version_full)"',
|
| + 'data_reduction_proxy/common/version.h.in',
|
| + '<@(_outputs)',
|
| + ],
|
| + 'includes': [
|
| + '../build/util/version.gypi',
|
| + ],
|
| + },
|
| + ],
|
| + },
|
| +
|
| ],
|
| }
|
|
|
|
|