Chromium Code Reviews| Index: ui/ozone/ozone.gyp |
| diff --git a/ui/ozone/ozone.gyp b/ui/ozone/ozone.gyp |
| index 30211ee0871cd99aa701cea6b7bdd2718ee9bd41..5a3be026a762f4129ff6c51a3a33d293b23b7db8 100644 |
| --- a/ui/ozone/ozone.gyp |
| +++ b/ui/ozone/ozone.gyp |
| @@ -40,6 +40,8 @@ |
| 'public/native_pixmap.h', |
| 'public/overlay_candidates_ozone.cc', |
| 'public/overlay_candidates_ozone.h', |
| + 'public/surface_client_factory_ozone.cc', |
| + 'public/surface_client_factory_ozone.h', |
| 'public/surface_factory_ozone.cc', |
| 'public/surface_factory_ozone.h', |
| 'public/surface_ozone_canvas.h', |
| @@ -75,6 +77,7 @@ |
| 'platform_list_h_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_list.h', |
| 'platform_list_txt_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_list.txt', |
| 'constructor_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/constructor_list.cc', |
| + 'constructor_client_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/constructor_client_list.cc', |
| 'ozone_platforms': [ |
| '<@(external_ozone_platforms)', |
| '<@(internal_ozone_platforms)', |
| @@ -87,6 +90,7 @@ |
| '<(platform_list_cc_file)', |
| '<(platform_list_h_file)', |
| '<(constructor_list_cc_file)', |
| + '<(constructor_client_list_cc_file)', |
| 'common/display_mode_proxy.cc', |
| 'common/display_mode_proxy.h', |
| @@ -107,6 +111,8 @@ |
| 'platform_selection.h', |
| 'public/input_controller.cc', |
| 'public/input_controller.h', |
| + 'public/ozone_client.cc', |
| + 'public/ozone_client.h', |
| 'public/ozone_gpu_test_helper.cc', |
| 'public/ozone_gpu_test_helper.h', |
| 'public/ozone_platform.cc', |
| @@ -163,6 +169,28 @@ |
| '--include="ui/ozone/public/ozone_platform.h"' |
| ], |
| }, |
| + { |
| + 'action_name': 'generate_constructor_client_list', |
| + 'variables': { |
| + 'generator_path': 'generate_constructor_list.py', |
| + }, |
| + 'inputs': [ |
| + '<(generator_path)', |
| + '<(platform_list_txt_file)', |
| + ], |
| + 'outputs': [ |
| + '<(constructor_client_list_cc_file)', |
| + ], |
| + 'action': [ |
| + 'python', |
| + '<(generator_path)', |
| + '--platform_list=<(platform_list_txt_file)', |
| + '--output_cc=<(constructor_client_list_cc_file)', |
| + '--namespace=ui', |
| + '--typename=OzoneClient', |
|
spang
2015/06/01 22:46:41
No need to add another invocation of the script.
dshwang
2015/06/03 14:11:51
Done.
|
| + '--include="ui/ozone/public/ozone_client.h"' |
| + ], |
| + }, |
| ], |
| 'conditions': [ |
| ['use_udev == 0', { |