OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 'chrome_common_sources': [ | 7 'chrome_common_sources': [ |
8 '../apps/app_shim/app_shim_launch.h', | 8 '../apps/app_shim/app_shim_launch.h', |
9 '../apps/app_shim/app_shim_messages.h', | 9 '../apps/app_shim/app_shim_messages.h', |
10 'common/all_messages.h', | 10 'common/all_messages.h', |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 'common/content_settings_pattern.cc', | 53 'common/content_settings_pattern.cc', |
54 'common/content_settings_pattern.h', | 54 'common/content_settings_pattern.h', |
55 'common/content_settings_pattern_parser.cc', | 55 'common/content_settings_pattern_parser.cc', |
56 'common/content_settings_pattern_parser.h', | 56 'common/content_settings_pattern_parser.h', |
57 'common/content_settings_types.h', | 57 'common/content_settings_types.h', |
58 'common/crash_keys.cc', | 58 'common/crash_keys.cc', |
59 'common/crash_keys.h', | 59 'common/crash_keys.h', |
60 'common/custom_handlers/protocol_handler.cc', | 60 'common/custom_handlers/protocol_handler.cc', |
61 'common/custom_handlers/protocol_handler.h', | 61 'common/custom_handlers/protocol_handler.h', |
62 'common/descriptors_android.h', | 62 'common/descriptors_android.h', |
63 'common/extensions/api/bluetooth/bluetooth_manifest_data.cc', | |
64 'common/extensions/api/bluetooth/bluetooth_manifest_data.h', | |
65 'common/extensions/api/bluetooth/bluetooth_manifest_handler.cc', | |
66 'common/extensions/api/bluetooth/bluetooth_manifest_handler.h', | |
67 'common/extensions/api/bluetooth/bluetooth_manifest_permission.cc', | |
68 'common/extensions/api/bluetooth/bluetooth_manifest_permission.h', | |
69 'common/extensions/api/commands/commands_handler.cc', | |
70 'common/extensions/api/commands/commands_handler.h', | |
71 'common/extensions/api/extension_action/action_info.cc', | 63 'common/extensions/api/extension_action/action_info.cc', |
72 'common/extensions/api/extension_action/action_info.h', | 64 'common/extensions/api/extension_action/action_info.h', |
73 'common/extensions/api/extension_action/browser_action_handler.cc', | |
74 'common/extensions/api/extension_action/browser_action_handler.h', | |
75 'common/extensions/api/extension_action/page_action_handler.cc', | |
76 'common/extensions/api/extension_action/page_action_handler.h', | |
77 'common/extensions/api/file_browser_handlers/file_browser_handler.cc', | |
78 'common/extensions/api/file_browser_handlers/file_browser_handler.h', | |
79 'common/extensions/api/i18n/default_locale_handler.cc', | 65 'common/extensions/api/i18n/default_locale_handler.cc', |
80 'common/extensions/api/i18n/default_locale_handler.h', | 66 'common/extensions/api/i18n/default_locale_handler.h', |
81 'common/extensions/api/identity/oauth2_manifest_handler.cc', | 67 'common/extensions/api/identity/oauth2_manifest_handler.cc', |
82 'common/extensions/api/identity/oauth2_manifest_handler.h', | 68 'common/extensions/api/identity/oauth2_manifest_handler.h', |
83 'common/extensions/api/input_ime/input_components_handler.cc', | |
84 'common/extensions/api/input_ime/input_components_handler.h', | |
85 'common/extensions/api/managed_mode_private/managed_mode_handler.cc', | 69 'common/extensions/api/managed_mode_private/managed_mode_handler.cc', |
86 'common/extensions/api/managed_mode_private/managed_mode_handler.h', | 70 'common/extensions/api/managed_mode_private/managed_mode_handler.h', |
87 'common/extensions/api/notifications/notification_style.cc', | |
88 'common/extensions/api/notifications/notification_style.h', | |
89 'common/extensions/api/omnibox/omnibox_handler.cc', | |
90 'common/extensions/api/omnibox/omnibox_handler.h', | |
91 'common/extensions/api/plugins/plugins_handler.cc', | 71 'common/extensions/api/plugins/plugins_handler.cc', |
92 'common/extensions/api/plugins/plugins_handler.h', | 72 'common/extensions/api/plugins/plugins_handler.h', |
93 'common/extensions/api/speech/tts_engine_manifest_handler.cc', | |
94 'common/extensions/api/speech/tts_engine_manifest_handler.h', | |
95 'common/extensions/api/spellcheck/spellcheck_handler.cc', | |
96 'common/extensions/api/spellcheck/spellcheck_handler.h', | |
97 'common/extensions/api/storage/storage_schema_manifest_handler.cc', | 73 'common/extensions/api/storage/storage_schema_manifest_handler.cc', |
98 'common/extensions/api/storage/storage_schema_manifest_handler.h', | 74 'common/extensions/api/storage/storage_schema_manifest_handler.h', |
99 'common/extensions/api/system_indicator/system_indicator_handler.cc', | |
100 'common/extensions/api/system_indicator/system_indicator_handler.h', | |
101 'common/extensions/api/url_handlers/url_handlers_parser.cc', | |
102 'common/extensions/api/url_handlers/url_handlers_parser.h', | |
103 'common/extensions/api/webstore/webstore_api_constants.cc', | |
104 'common/extensions/api/webstore/webstore_api_constants.h', | |
105 'common/extensions/chrome_extension_messages.h', | 75 'common/extensions/chrome_extension_messages.h', |
106 'common/extensions/chrome_extensions_client.cc', | 76 'common/extensions/chrome_extensions_client.cc', |
107 'common/extensions/chrome_extensions_client.h', | 77 'common/extensions/chrome_extensions_client.h', |
108 'common/extensions/chrome_manifest_handlers.cc', | 78 'common/extensions/chrome_manifest_handlers.cc', |
109 'common/extensions/chrome_manifest_handlers.h', | 79 'common/extensions/chrome_manifest_handlers.h', |
110 'common/extensions/command.cc', | 80 'common/extensions/command.cc', |
111 'common/extensions/command.h', | 81 'common/extensions/command.h', |
112 'common/extensions/extension_constants.cc', | 82 'common/extensions/extension_constants.cc', |
113 'common/extensions/extension_constants.h', | 83 'common/extensions/extension_constants.h', |
114 'common/extensions/extension_file_util.cc', | 84 'common/extensions/extension_file_util.cc', |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 'common/variations/experiment_labels.h', | 222 'common/variations/experiment_labels.h', |
253 'common/variations/uniformity_field_trials.cc', | 223 'common/variations/uniformity_field_trials.cc', |
254 'common/variations/uniformity_field_trials.h', | 224 'common/variations/uniformity_field_trials.h', |
255 'common/variations/variations_util.cc', | 225 'common/variations/variations_util.cc', |
256 'common/variations/variations_util.h', | 226 'common/variations/variations_util.h', |
257 'common/web_application_info.cc', | 227 'common/web_application_info.cc', |
258 'common/web_application_info.h', | 228 'common/web_application_info.h', |
259 'common/worker_thread_ticker.cc', | 229 'common/worker_thread_ticker.cc', |
260 'common/worker_thread_ticker.h', | 230 'common/worker_thread_ticker.h', |
261 ], | 231 ], |
| 232 'chrome_common_extensions_sources': [ |
| 233 'common/extensions/api/bluetooth/bluetooth_manifest_data.cc', |
| 234 'common/extensions/api/bluetooth/bluetooth_manifest_data.h', |
| 235 'common/extensions/api/bluetooth/bluetooth_manifest_handler.cc', |
| 236 'common/extensions/api/bluetooth/bluetooth_manifest_handler.h', |
| 237 'common/extensions/api/bluetooth/bluetooth_manifest_permission.cc', |
| 238 'common/extensions/api/bluetooth/bluetooth_manifest_permission.h', |
| 239 'common/extensions/api/commands/commands_handler.cc', |
| 240 'common/extensions/api/commands/commands_handler.h', |
| 241 'common/extensions/api/extension_action/browser_action_handler.cc', |
| 242 'common/extensions/api/extension_action/browser_action_handler.h', |
| 243 'common/extensions/api/extension_action/page_action_handler.cc', |
| 244 'common/extensions/api/extension_action/page_action_handler.h', |
| 245 'common/extensions/api/file_browser_handlers/file_browser_handler.cc', |
| 246 'common/extensions/api/file_browser_handlers/file_browser_handler.h', |
| 247 'common/extensions/api/input_ime/input_components_handler.cc', |
| 248 'common/extensions/api/input_ime/input_components_handler.h', |
| 249 'common/extensions/api/notifications/notification_style.cc', |
| 250 'common/extensions/api/notifications/notification_style.h', |
| 251 'common/extensions/api/omnibox/omnibox_handler.cc', |
| 252 'common/extensions/api/omnibox/omnibox_handler.h', |
| 253 'common/extensions/api/speech/tts_engine_manifest_handler.cc', |
| 254 'common/extensions/api/speech/tts_engine_manifest_handler.h', |
| 255 'common/extensions/api/spellcheck/spellcheck_handler.cc', |
| 256 'common/extensions/api/spellcheck/spellcheck_handler.h', |
| 257 'common/extensions/api/system_indicator/system_indicator_handler.cc', |
| 258 'common/extensions/api/system_indicator/system_indicator_handler.h', |
| 259 'common/extensions/api/url_handlers/url_handlers_parser.cc', |
| 260 'common/extensions/api/url_handlers/url_handlers_parser.h', |
| 261 'common/extensions/api/webstore/webstore_api_constants.cc', |
| 262 'common/extensions/api/webstore/webstore_api_constants.h', |
| 263 ], |
262 }, | 264 }, |
263 'targets': [ | 265 'targets': [ |
264 { | 266 { |
265 'target_name': 'common', | 267 'target_name': 'common', |
266 'type': 'static_library', | 268 'type': 'static_library', |
267 'variables': { | 269 'variables': { |
268 'chrome_common_target': 1, | 270 'chrome_common_target': 1, |
269 'enable_wexit_time_destructors': 1, | 271 'enable_wexit_time_destructors': 1, |
270 }, | 272 }, |
271 'include_dirs': [ | 273 'include_dirs': [ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', | 314 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', |
313 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip', | 315 '<(DEPTH)/third_party/zlib/google/zip.gyp:zip', |
314 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | 316 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', |
315 '<(DEPTH)/url/url.gyp:url_lib', | 317 '<(DEPTH)/url/url.gyp:url_lib', |
316 ], | 318 ], |
317 'sources': [ | 319 'sources': [ |
318 '<@(chrome_common_sources)' | 320 '<@(chrome_common_sources)' |
319 ], | 321 ], |
320 'conditions': [ | 322 'conditions': [ |
321 ['enable_extensions==1', { | 323 ['enable_extensions==1', { |
| 324 'sources': [ |
| 325 '<@(chrome_common_extensions_sources)', |
| 326 ], |
322 'dependencies': [ | 327 'dependencies': [ |
323 '../device/bluetooth/bluetooth.gyp:device_bluetooth', | 328 '../device/bluetooth/bluetooth.gyp:device_bluetooth', |
324 '../device/usb/usb.gyp:device_usb', | 329 '../device/usb/usb.gyp:device_usb', |
325 ], | 330 ], |
326 }, { # enable_extensions == 0 | |
327 'sources/': [ | |
328 ['exclude', '^common/extensions/api/'], | |
329 ['include', 'common/extensions/api/extension_action/action_info.cc']
, | |
330 ['include', 'common/extensions/api/extension_action/action_info.h'], | |
331 ['include', 'common/extensions/api/i18n/default_locale_handler.cc'], | |
332 ['include', 'common/extensions/api/i18n/default_locale_handler.h'], | |
333 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.
cc'], | |
334 ['include', 'common/extensions/api/identity/oauth2_manifest_handler.
h'], | |
335 ['include', 'common/extensions/api/managed_mode_private/managed_mode
_handler.cc'], | |
336 ['include', 'common/extensions/api/managed_mode_private/managed_mode
_handler.h'], | |
337 ['include', 'common/extensions/api/plugins/plugins_handler.cc'], | |
338 ['include', 'common/extensions/api/plugins/plugins_handler.h'], | |
339 ['include', 'common/extensions/api/storage/storage_schema_manifest_h
andler.cc'], | |
340 ['include', 'common/extensions/api/storage/storage_schema_manifest_h
andler.h'], | |
341 ], | |
342 }], | 331 }], |
343 ['OS=="win" or OS=="mac"', { | 332 ['OS=="win" or OS=="mac"', { |
344 'sources': [ | 333 'sources': [ |
345 'common/extensions/api/networking_private/networking_private_crypto.
cc', | 334 'common/extensions/api/networking_private/networking_private_crypto.
cc', |
346 'common/extensions/api/networking_private/networking_private_crypto.
h', | 335 'common/extensions/api/networking_private/networking_private_crypto.
h', |
347 'common/media_galleries/itunes_library.cc', | 336 'common/media_galleries/itunes_library.cc', |
348 'common/media_galleries/itunes_library.h', | 337 'common/media_galleries/itunes_library.h', |
349 'common/media_galleries/picasa_types.cc', | 338 'common/media_galleries/picasa_types.cc', |
350 'common/media_galleries/picasa_types.h', | 339 'common/media_galleries/picasa_types.h', |
351 'common/media_galleries/pmp_constants.h', | 340 'common/media_galleries/pmp_constants.h', |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 '<(template_input_path)', | 567 '<(template_input_path)', |
579 '<@(_outputs)', | 568 '<@(_outputs)', |
580 ], | 569 ], |
581 'message': 'Generating version information', | 570 'message': 'Generating version information', |
582 }, | 571 }, |
583 ], | 572 ], |
584 }], | 573 }], |
585 ], | 574 ], |
586 }, | 575 }, |
587 { | 576 { |
588 # GN version: //chrome/commoon/net:net | 577 # GN version: //chrome/common/net:net |
589 'target_name': 'common_net', | 578 'target_name': 'common_net', |
590 'type': 'static_library', | 579 'type': 'static_library', |
591 'sources': [ | 580 'sources': [ |
592 'common/net/net_error_info.cc', | 581 'common/net/net_error_info.cc', |
593 'common/net/net_error_info.h', | 582 'common/net/net_error_info.h', |
594 'common/net/net_resource_provider.cc', | 583 'common/net/net_resource_provider.cc', |
595 'common/net/net_resource_provider.h', | 584 'common/net/net_resource_provider.h', |
596 'common/net/predictor_common.h', | 585 'common/net/predictor_common.h', |
597 'common/net/url_util.cc', | 586 'common/net/url_util.cc', |
598 'common/net/url_util.h', | 587 'common/net/url_util.h', |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 'common/metrics/proto/chrome_experiments.proto', | 682 'common/metrics/proto/chrome_experiments.proto', |
694 ], | 683 ], |
695 'variables': { | 684 'variables': { |
696 'proto_in_dir': 'common/metrics/proto', | 685 'proto_in_dir': 'common/metrics/proto', |
697 'proto_out_dir': 'chrome/common/metrics/proto', | 686 'proto_out_dir': 'chrome/common/metrics/proto', |
698 }, | 687 }, |
699 'includes': [ '../build/protoc.gypi' ], | 688 'includes': [ '../build/protoc.gypi' ], |
700 }, | 689 }, |
701 ], | 690 ], |
702 } | 691 } |
OLD | NEW |