Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(492)

Side by Side Diff: chrome/chrome_common.gypi

Issue 494993005: Only build various flash/pnacl/ppapi code when they are enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # File lists shared with GN build. 7 # File lists shared with GN build.
8 'chrome_common_sources': [ 8 'chrome_common_sources': [
9 '../apps/app_shim/app_shim_launch.h', 9 '../apps/app_shim/app_shim_launch.h',
10 '../apps/app_shim/app_shim_messages.h', 10 '../apps/app_shim/app_shim_messages.h',
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 'common/media/webrtc_logging_message_data.cc', 142 'common/media/webrtc_logging_message_data.cc',
143 'common/media/webrtc_logging_message_data.h', 143 'common/media/webrtc_logging_message_data.h',
144 'common/media_galleries/metadata_types.h', 144 'common/media_galleries/metadata_types.h',
145 'common/multi_process_lock.h', 145 'common/multi_process_lock.h',
146 'common/multi_process_lock_linux.cc', 146 'common/multi_process_lock_linux.cc',
147 'common/multi_process_lock_mac.cc', 147 'common/multi_process_lock_mac.cc',
148 'common/multi_process_lock_win.cc', 148 'common/multi_process_lock_win.cc',
149 'common/omnibox_focus_state.h', 149 'common/omnibox_focus_state.h',
150 'common/partial_circular_buffer.cc', 150 'common/partial_circular_buffer.cc',
151 'common/partial_circular_buffer.h', 151 'common/partial_circular_buffer.h',
152 'common/pepper_flash.cc',
153 'common/pepper_flash.h',
154 'common/pepper_permission_util.cc',
155 'common/pepper_permission_util.h',
156 'common/pref_names_util.cc', 152 'common/pref_names_util.cc',
157 'common/pref_names_util.h', 153 'common/pref_names_util.h',
158 'common/prerender_types.h', 154 'common/prerender_types.h',
159 'common/print_messages.cc', 155 'common/print_messages.cc',
160 'common/print_messages.h', 156 'common/print_messages.h',
161 'common/profiling.cc', 157 'common/profiling.cc',
162 'common/profiling.h', 158 'common/profiling.h',
163 'common/ref_counted_util.h', 159 'common/ref_counted_util.h',
164 'common/render_messages.cc', 160 'common/render_messages.cc',
165 'common/render_messages.h', 161 'common/render_messages.h',
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 '<(DEPTH)/components/components.gyp:autofill_core_common', 365 '<(DEPTH)/components/components.gyp:autofill_core_common',
370 '<(DEPTH)/components/components.gyp:autofill_content_common', 366 '<(DEPTH)/components/components.gyp:autofill_content_common',
371 '<(DEPTH)/components/components.gyp:password_manager_core_common', 367 '<(DEPTH)/components/components.gyp:password_manager_core_common',
372 '<(DEPTH)/components/components.gyp:password_manager_content_common' , 368 '<(DEPTH)/components/components.gyp:password_manager_content_common' ,
373 '<(DEPTH)/components/components.gyp:signin_core_common', 369 '<(DEPTH)/components/components.gyp:signin_core_common',
374 '<(DEPTH)/components/components.gyp:translate_content_common', 370 '<(DEPTH)/components/components.gyp:translate_content_common',
375 '<(DEPTH)/components/components.gyp:visitedlink_common', 371 '<(DEPTH)/components/components.gyp:visitedlink_common',
376 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api', 372 '<(DEPTH)/extensions/common/api/api.gyp:extensions_api',
377 '<(DEPTH)/extensions/extensions.gyp:extensions_common', 373 '<(DEPTH)/extensions/extensions.gyp:extensions_common',
378 '<(DEPTH)/ipc/ipc.gyp:ipc', 374 '<(DEPTH)/ipc/ipc.gyp:ipc',
379 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h ',
380 '<(DEPTH)/third_party/re2/re2.gyp:re2', 375 '<(DEPTH)/third_party/re2/re2.gyp:re2',
381 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_ver sion_h', 376 '<(DEPTH)/third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_ver sion_h',
382 ], 377 ],
383 'export_dependent_settings': [ 378 'export_dependent_settings': [
384 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', 379 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
385 ], 380 ],
386 }, { # OS == ios 381 }, { # OS == ios
387 'sources/': [ 382 'sources/': [
388 ['exclude', '^common/child_process_'], 383 ['exclude', '^common/child_process_'],
389 ['exclude', '^common/chrome_content_client\\.cc$'], 384 ['exclude', '^common/chrome_content_client\\.cc$'],
390 ['exclude', '^common/chrome_version_info_posix\\.cc$'], 385 ['exclude', '^common/chrome_version_info_posix\\.cc$'],
391 ['exclude', '^common/common_message_generator\\.cc$'], 386 ['exclude', '^common/common_message_generator\\.cc$'],
392 ['exclude', '^common/common_param_traits'], 387 ['exclude', '^common/common_param_traits'],
393 ['exclude', '^common/custom_handlers/'], 388 ['exclude', '^common/custom_handlers/'],
394 ['exclude', '^common/extensions/'], 389 ['exclude', '^common/extensions/'],
395 ['exclude', '^common/logging_chrome\\.'], 390 ['exclude', '^common/logging_chrome\\.'],
396 ['exclude', '^common/media_galleries/'], 391 ['exclude', '^common/media_galleries/'],
397 ['exclude', '^common/multi_process_'], 392 ['exclude', '^common/multi_process_'],
398 ['exclude', '^common/pepper_flash\\.'],
399 ['exclude', '^common/profiling\\.'], 393 ['exclude', '^common/profiling\\.'],
400 ['exclude', '^common/spellcheck_'], 394 ['exclude', '^common/spellcheck_'],
401 ['exclude', '^common/validation_message_'], 395 ['exclude', '^common/validation_message_'],
402 ['exclude', '^common/web_apps\\.'], 396 ['exclude', '^common/web_apps\\.'],
403 # TODO(ios): Include files here as they are made to work; once 397 # TODO(ios): Include files here as they are made to work; once
404 # everything is online, remove everything below here and just 398 # everything is online, remove everything below here and just
405 # use the exclusions above. 399 # use the exclusions above.
406 ['exclude', '\\.(cc|mm)$'], 400 ['exclude', '\\.(cc|mm)$'],
407 ['include', '_ios\\.(cc|mm)$'], 401 ['include', '_ios\\.(cc|mm)$'],
408 ['include', '(^|/)ios/'], 402 ['include', '(^|/)ios/'],
409 ['include', '^common/chrome_version_info\\.cc$'], 403 ['include', '^common/chrome_version_info\\.cc$'],
410 ['include', '^common/translate'], 404 ['include', '^common/translate'],
411 ['include', '^common/zip'], 405 ['include', '^common/zip'],
412 ], 406 ],
413 'include_dirs': [ 407 'include_dirs': [
414 '<(DEPTH)/breakpad/src', 408 '<(DEPTH)/breakpad/src',
415 ], 409 ],
416 }], 410 }],
417 ['disable_nacl==0', { 411 ['disable_nacl==0', {
418 'dependencies': [ 412 'dependencies': [
419 '<(DEPTH)/components/nacl.gyp:nacl_common', 413 '<(DEPTH)/components/nacl.gyp:nacl_common',
420 '<(DEPTH)/ppapi/native_client/src/trusted/plugin/plugin.gyp:nacl_tru sted_plugin', 414 '<(DEPTH)/ppapi/native_client/src/trusted/plugin/plugin.gyp:nacl_tru sted_plugin',
421 ], 415 ],
422 }], 416 }],
417 ['enable_plugins==1', {
418 'dependencies': [
419 '<(DEPTH)/third_party/adobe/flash/flash_player.gyp:flapper_version_h ',
420 ],
421 'sources': [
422 'common/pepper_flash.cc',
423 'common/pepper_flash.h',
424 'common/pepper_permission_util.cc',
425 'common/pepper_permission_util.h',
426 ],
427 }],
423 ['enable_printing==0', { 428 ['enable_printing==0', {
424 'sources!': [ 429 'sources!': [
425 'common/print_messages.cc', 430 'common/print_messages.cc',
426 'common/print_messages.h', 431 'common/print_messages.h',
427 ] 432 ]
428 }, { 433 }, {
429 'dependencies': [ 434 'dependencies': [
430 '<(DEPTH)/printing/printing.gyp:printing', 435 '<(DEPTH)/printing/printing.gyp:printing',
431 ], 436 ],
432 }], 437 }],
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 'common/safe_browsing/csd.proto' 700 'common/safe_browsing/csd.proto'
696 ], 701 ],
697 'variables': { 702 'variables': {
698 'proto_in_dir': 'common/safe_browsing', 703 'proto_in_dir': 'common/safe_browsing',
699 'proto_out_dir': 'chrome/common/safe_browsing', 704 'proto_out_dir': 'chrome/common/safe_browsing',
700 }, 705 },
701 'includes': [ '../build/protoc.gypi' ], 706 'includes': [ '../build/protoc.gypi' ],
702 }, 707 },
703 ], 708 ],
704 } 709 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698