Chromium Code Reviews| Index: runtime/bin/bin.gypi |
| diff --git a/runtime/bin/bin.gypi b/runtime/bin/bin.gypi |
| index d2a1657255a4a2fd1f30e5906f8ff1bbd87ae2f7..4050a77b8ca4c3d2ff971f95c8c0e2c16c302161 100644 |
| --- a/runtime/bin/bin.gypi |
| +++ b/runtime/bin/bin.gypi |
| @@ -8,6 +8,7 @@ |
| 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', |
| 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc', |
| 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', |
| + 'json_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_patch_gen.cc', |
| 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', |
| 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', |
| 'builtin_in_cc_file': 'builtin_in.cc', |
| @@ -185,7 +186,7 @@ |
| 'json_dart': '<(SHARED_INTERMEDIATE_DIR)/json_gen.dart', |
| }, |
| 'includes': [ |
| - 'json_sources.gypi', |
| + '../../sdk/lib/json/json_sources.gypi', |
| ], |
| 'actions': [ |
| { |
| @@ -228,6 +229,36 @@ |
| ] |
| }, |
| { |
| + 'target_name': 'generate_json_patch_cc_file', |
| + 'type': 'none', |
| + 'includes': [ |
| + '../lib/json_sources.gypi', |
|
siva
2013/01/31 23:16:40
Where is this file, I don't see it in the CL.
sra1
2013/02/01 01:19:04
I have added this and moved from lib to bin.
|
| + ], |
| + 'actions': [ |
| + { |
| + 'action_name': 'generate_json_patch_cc', |
| + 'inputs': [ |
| + '../tools/create_string_literal.py', |
| + '<(builtin_in_cc_file)', |
| + '<@(_sources)', |
| + ], |
| + 'outputs': [ |
| + '<(json_patch_cc_file)', |
| + ], |
| + 'action': [ |
| + 'python', |
| + 'tools/create_string_literal.py', |
| + '--output', '<(json_patch_cc_file)', |
| + '--input_cc', '<(builtin_in_cc_file)', |
| + '--include', 'bin/builtin.h', |
| + '--var_name', 'Builtin::json_patch_', |
| + '<@(_sources)', |
| + ], |
| + 'message': 'Generating ''<(json_patch_cc_file)'' file.' |
| + }, |
| + ] |
| + }, |
| + { |
| 'target_name': 'generate_uri_cc_file', |
| 'type': 'none', |
| 'variables': { |
| @@ -334,6 +365,7 @@ |
| 'generate_io_cc_file', |
| 'generate_io_patch_cc_file', |
| 'generate_json_cc_file', |
| + 'generate_json_patch_cc_file', |
| 'generate_uri_cc_file', |
| 'generate_utf_cc_file', |
| ], |
| @@ -463,6 +495,7 @@ |
| '<(io_cc_file)', |
| '<(io_patch_cc_file)', |
| '<(json_cc_file)', |
| + '<(json_patch_cc_file)', |
| '<(uri_cc_file)', |
| '<(utf_cc_file)', |
| ], |
| @@ -598,6 +631,7 @@ |
| '<(io_cc_file)', |
| '<(io_patch_cc_file)', |
| '<(json_cc_file)', |
| + '<(json_patch_cc_file)', |
| '<(uri_cc_file)', |
| '<(utf_cc_file)', |
| 'snapshot_empty.cc', |
| @@ -653,6 +687,7 @@ |
| '<(io_cc_file)', |
| '<(io_patch_cc_file)', |
| '<(json_cc_file)', |
| + '<(json_patch_cc_file)', |
| '<(uri_cc_file)', |
| '<(utf_cc_file)', |
| ], |