Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 # Normally, the external_ozone_platform* variables below can be | 8 # Normally, the external_ozone_platform* variables below can be |
| 9 # overridden by supplement.gypi which must exist exactly one level | 9 # overridden by supplement.gypi which must exist exactly one level |
| 10 # below the top-level src directory. They can now also be set in | 10 # below the top-level src directory. They can now also be set in |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 33 'sources': [ | 33 'sources': [ |
| 34 'public/cursor_factory_ozone.cc', | 34 'public/cursor_factory_ozone.cc', |
| 35 'public/cursor_factory_ozone.h', | 35 'public/cursor_factory_ozone.h', |
| 36 'public/gpu_platform_support.cc', | 36 'public/gpu_platform_support.cc', |
| 37 'public/gpu_platform_support.h', | 37 'public/gpu_platform_support.h', |
| 38 'public/gpu_platform_support_host.cc', | 38 'public/gpu_platform_support_host.cc', |
| 39 'public/gpu_platform_support_host.h', | 39 'public/gpu_platform_support_host.h', |
| 40 'public/native_pixmap.h', | 40 'public/native_pixmap.h', |
| 41 'public/overlay_candidates_ozone.cc', | 41 'public/overlay_candidates_ozone.cc', |
| 42 'public/overlay_candidates_ozone.h', | 42 'public/overlay_candidates_ozone.h', |
| 43 'public/surface_client_factory_ozone.cc', | |
| 44 'public/surface_client_factory_ozone.h', | |
| 43 'public/surface_factory_ozone.cc', | 45 'public/surface_factory_ozone.cc', |
| 44 'public/surface_factory_ozone.h', | 46 'public/surface_factory_ozone.h', |
| 45 'public/surface_ozone_canvas.h', | 47 'public/surface_ozone_canvas.h', |
| 46 'public/surface_ozone_egl.cc', | 48 'public/surface_ozone_egl.cc', |
| 47 'public/surface_ozone_egl.h', | 49 'public/surface_ozone_egl.h', |
| 48 'public/system_input_injector.h', | 50 'public/system_input_injector.h', |
| 49 ], | 51 ], |
| 50 }, | 52 }, |
| 51 { | 53 { |
| 52 # GN version: //ui/ozone | 54 # GN version: //ui/ozone |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 68 'ozone_base', | 70 'ozone_base', |
| 69 ], | 71 ], |
| 70 'defines': [ | 72 'defines': [ |
| 71 'OZONE_IMPLEMENTATION', | 73 'OZONE_IMPLEMENTATION', |
| 72 ], | 74 ], |
| 73 'variables': { | 75 'variables': { |
| 74 'platform_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/platform_list.cc' , | 76 'platform_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/platform_list.cc' , |
| 75 'platform_list_h_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_li st.h', | 77 'platform_list_h_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_li st.h', |
| 76 'platform_list_txt_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_ list.txt', | 78 'platform_list_txt_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_ list.txt', |
| 77 'constructor_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/constructor_li st.cc', | 79 'constructor_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/constructor_li st.cc', |
| 80 'constructor_client_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/constru ctor_client_list.cc', | |
| 78 'ozone_platforms': [ | 81 'ozone_platforms': [ |
| 79 '<@(external_ozone_platforms)', | 82 '<@(external_ozone_platforms)', |
| 80 '<@(internal_ozone_platforms)', | 83 '<@(internal_ozone_platforms)', |
| 81 ], | 84 ], |
| 82 }, | 85 }, |
| 83 'include_dirs': [ | 86 'include_dirs': [ |
| 84 '<(SHARED_INTERMEDIATE_DIR)', | 87 '<(SHARED_INTERMEDIATE_DIR)', |
| 85 ], | 88 ], |
| 86 'sources': [ | 89 'sources': [ |
| 87 '<(platform_list_cc_file)', | 90 '<(platform_list_cc_file)', |
| 88 '<(platform_list_h_file)', | 91 '<(platform_list_h_file)', |
| 89 '<(constructor_list_cc_file)', | 92 '<(constructor_list_cc_file)', |
| 93 '<(constructor_client_list_cc_file)', | |
| 90 | 94 |
| 91 'common/display_mode_proxy.cc', | 95 'common/display_mode_proxy.cc', |
| 92 'common/display_mode_proxy.h', | 96 'common/display_mode_proxy.h', |
| 93 'common/display_snapshot_proxy.cc', | 97 'common/display_snapshot_proxy.cc', |
| 94 'common/display_snapshot_proxy.h', | 98 'common/display_snapshot_proxy.h', |
| 95 'common/display_util.cc', | 99 'common/display_util.cc', |
| 96 'common/display_util.h', | 100 'common/display_util.h', |
| 97 'common/egl_util.cc', | 101 'common/egl_util.cc', |
| 98 'common/egl_util.h', | 102 'common/egl_util.h', |
| 99 'common/gpu/ozone_gpu_message_generator.cc', | 103 'common/gpu/ozone_gpu_message_generator.cc', |
| 100 'common/gpu/ozone_gpu_message_generator.h', | 104 'common/gpu/ozone_gpu_message_generator.h', |
| 101 'common/gpu/ozone_gpu_message_params.cc', | 105 'common/gpu/ozone_gpu_message_params.cc', |
| 102 'common/gpu/ozone_gpu_message_params.h', | 106 'common/gpu/ozone_gpu_message_params.h', |
| 103 'common/gpu/ozone_gpu_messages.h', | 107 'common/gpu/ozone_gpu_messages.h', |
| 104 'common/native_display_delegate_ozone.cc', | 108 'common/native_display_delegate_ozone.cc', |
| 105 'common/native_display_delegate_ozone.h', | 109 'common/native_display_delegate_ozone.h', |
| 106 'platform_selection.cc', | 110 'platform_selection.cc', |
| 107 'platform_selection.h', | 111 'platform_selection.h', |
| 108 'public/input_controller.cc', | 112 'public/input_controller.cc', |
| 109 'public/input_controller.h', | 113 'public/input_controller.h', |
| 114 'public/ozone_client.cc', | |
| 115 'public/ozone_client.h', | |
| 110 'public/ozone_gpu_test_helper.cc', | 116 'public/ozone_gpu_test_helper.cc', |
| 111 'public/ozone_gpu_test_helper.h', | 117 'public/ozone_gpu_test_helper.h', |
| 112 'public/ozone_platform.cc', | 118 'public/ozone_platform.cc', |
| 113 'public/ozone_platform.h', | 119 'public/ozone_platform.h', |
| 114 'public/ozone_switches.cc', | 120 'public/ozone_switches.cc', |
| 115 'public/ozone_switches.h', | 121 'public/ozone_switches.h', |
| 116 '<@(external_ozone_platform_files)', | 122 '<@(external_ozone_platform_files)', |
| 117 ], | 123 ], |
| 118 'actions': [ | 124 'actions': [ |
| 119 { | 125 { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 156 'action': [ | 162 'action': [ |
| 157 'python', | 163 'python', |
| 158 '<(generator_path)', | 164 '<(generator_path)', |
| 159 '--platform_list=<(platform_list_txt_file)', | 165 '--platform_list=<(platform_list_txt_file)', |
| 160 '--output_cc=<(constructor_list_cc_file)', | 166 '--output_cc=<(constructor_list_cc_file)', |
| 161 '--namespace=ui', | 167 '--namespace=ui', |
| 162 '--typename=OzonePlatform', | 168 '--typename=OzonePlatform', |
| 163 '--include="ui/ozone/public/ozone_platform.h"' | 169 '--include="ui/ozone/public/ozone_platform.h"' |
| 164 ], | 170 ], |
| 165 }, | 171 }, |
| 172 { | |
| 173 'action_name': 'generate_constructor_client_list', | |
| 174 'variables': { | |
| 175 'generator_path': 'generate_constructor_list.py', | |
| 176 }, | |
| 177 'inputs': [ | |
| 178 '<(generator_path)', | |
| 179 '<(platform_list_txt_file)', | |
| 180 ], | |
| 181 'outputs': [ | |
| 182 '<(constructor_client_list_cc_file)', | |
| 183 ], | |
| 184 'action': [ | |
| 185 'python', | |
| 186 '<(generator_path)', | |
| 187 '--platform_list=<(platform_list_txt_file)', | |
| 188 '--output_cc=<(constructor_client_list_cc_file)', | |
| 189 '--namespace=ui', | |
| 190 '--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.
| |
| 191 '--include="ui/ozone/public/ozone_client.h"' | |
| 192 ], | |
| 193 }, | |
| 166 ], | 194 ], |
| 167 'conditions': [ | 195 'conditions': [ |
| 168 ['use_udev == 0', { | 196 ['use_udev == 0', { |
| 169 'sources/': [ | 197 'sources/': [ |
| 170 ['exclude', '_udev\\.(h|cc)$'], | 198 ['exclude', '_udev\\.(h|cc)$'], |
| 171 ], | 199 ], |
| 172 }], | 200 }], |
| 173 ], | 201 ], |
| 174 }, | 202 }, |
| 175 { | 203 { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 215 'platform/drm/gbm.gypi', | 243 'platform/drm/gbm.gypi', |
| 216 ], | 244 ], |
| 217 }], | 245 }], |
| 218 ['<(ozone_platform_test) == 1', { | 246 ['<(ozone_platform_test) == 1', { |
| 219 'includes': [ | 247 'includes': [ |
| 220 'platform/test/test.gypi', | 248 'platform/test/test.gypi', |
| 221 ], | 249 ], |
| 222 }], | 250 }], |
| 223 ], | 251 ], |
| 224 } | 252 } |
| OLD | NEW |