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

Side by Side Diff: content/content_common.gypi

Issue 1710043002: Start to unwind references to iOS in //content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android fix Created 4 years, 10 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
« no previous file with comments | « content/content_child.gypi ('k') | content/content_shell_and_tests.gyp » ('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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'dependencies': [ 6 'dependencies': [
7 '../base/base.gyp:base', 7 '../base/base.gyp:base',
8 '../cc/cc.gyp:cc',
8 '../components/tracing.gyp:tracing', 9 '../components/tracing.gyp:tracing',
10 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
11 '../gpu/blink/gpu_blink.gyp:gpu_blink',
9 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', 12 '../gpu/command_buffer/command_buffer.gyp:gles2_utils',
13 '../gpu/gpu.gyp:command_buffer_service',
14 '../gpu/gpu.gyp:gles2_c_lib',
15 '../gpu/gpu.gyp:gles2_implementation',
16 # TODO: the dependency on gl_in_process_context should be decoupled from
17 # content and moved to android_webview. See crbug.com/365797.
18 '../gpu/gpu.gyp:gl_in_process_context',
19 '../gpu/gpu.gyp:gpu_ipc',
20 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings',
10 '../ipc/ipc.gyp:ipc', 21 '../ipc/ipc.gyp:ipc',
22 '../ipc/mojo/ipc_mojo.gyp:ipc_mojo',
23 '../media/media.gyp:media',
24 '../media/media.gyp:shared_memory_support',
25 '../media/midi/midi.gyp:midi',
26 '../mojo/mojo_base.gyp:mojo_application_bindings',
27 '../mojo/mojo_base.gyp:mojo_environment_chromium',
28 '../mojo/mojo_edk.gyp:mojo_system_impl',
29 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
11 '../net/net.gyp:net', 30 '../net/net.gyp:net',
12 '../skia/skia.gyp:skia', 31 '../skia/skia.gyp:skia',
32 '../storage/storage_common.gyp:storage_common',
33 '../third_party/WebKit/public/blink.gyp:blink',
13 '../third_party/WebKit/public/blink_headers.gyp:blink_headers', 34 '../third_party/WebKit/public/blink_headers.gyp:blink_headers',
35 '../third_party/boringssl/boringssl.gyp:boringssl',
14 '../third_party/icu/icu.gyp:icuuc', 36 '../third_party/icu/icu.gyp:icuuc',
15 '../ui/accessibility/accessibility.gyp:accessibility', 37 '../ui/accessibility/accessibility.gyp:accessibility',
16 '../ui/accessibility/accessibility.gyp:ax_gen', 38 '../ui/accessibility/accessibility.gyp:ax_gen',
17 '../ui/base/ime/ui_base_ime.gyp:ui_base_ime', 39 '../ui/base/ime/ui_base_ime.gyp:ui_base_ime',
18 '../ui/base/ui_base.gyp:ui_base', 40 '../ui/base/ui_base.gyp:ui_base',
19 '../ui/events/events.gyp:events_ipc', 41 '../ui/events/events.gyp:events_ipc',
20 '../ui/gfx/gfx.gyp:gfx', 42 '../ui/gfx/gfx.gyp:gfx',
21 '../ui/gfx/gfx.gyp:gfx_geometry', 43 '../ui/gfx/gfx.gyp:gfx_geometry',
22 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', 44 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
45 '../ui/gl/gl.gyp:gl',
23 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', 46 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
24 '../url/url.gyp:url_lib', 47 '../url/url.gyp:url_lib',
48 'content_common_mojo_bindings.gyp:content_common_mojo_bindings',
25 ], 49 ],
26 'include_dirs': [ 50 'include_dirs': [
27 '..', 51 '..',
28 ], 52 ],
53 'actions': [
54 {
55 'action_name': 'generate_webkit_version',
56 'inputs': [
57 '<(script)',
58 '<(lastchange)',
59 '<(template)',
60 ],
61 'outputs': [
62 '<(SHARED_INTERMEDIATE_DIR)/build/util/webkit_version.h',
63 ],
64 'action': ['python',
65 '<(script)',
66 '-f', '<(lastchange)',
67 '<(template)',
68 '<@(_outputs)',
69 ],
70 'variables': {
71 'script': '<(DEPTH)/build/util/version.py',
72 'lastchange': '<(DEPTH)/build/util/LASTCHANGE.blink',
73 'template': '<(DEPTH)/build/util/webkit_version.h.in',
74 },
75 },
76 ],
29 'export_dependent_settings': [ 77 'export_dependent_settings': [
30 '../base/base.gyp:base', 78 '../base/base.gyp:base',
79 '../mojo/mojo_base.gyp:mojo_application_bindings',
80 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
31 # The public content API headers directly include Blink API headers, so we 81 # The public content API headers directly include Blink API headers, so we
32 # have to export the blink header settings so that relative paths in these 82 # have to export the blink header settings so that relative paths in these
33 # headers resolve correctly. 83 # headers resolve correctly.
34 '../third_party/WebKit/public/blink_headers.gyp:blink_headers', 84 '../third_party/WebKit/public/blink_headers.gyp:blink_headers',
35 '../ui/accessibility/accessibility.gyp:ax_gen', 85 '../ui/accessibility/accessibility.gyp:ax_gen',
36 ], 86 ],
37 'variables': { 87 'variables': {
38 'use_v4lplugin%': 0, 88 'use_v4lplugin%': 0,
39 'use_v4l2_codec%': 0, 89 'use_v4l2_codec%': 0,
40 'public_common_sources': [ 90 'public_common_sources': [
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 ], 631 ],
582 'target_conditions': [ 632 'target_conditions': [
583 ['OS=="android" and <(use_seccomp_bpf)==1', { 633 ['OS=="android" and <(use_seccomp_bpf)==1', {
584 'sources/': [ 634 'sources/': [
585 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$'] , 635 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$'] ,
586 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'], 636 ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'],
587 ], 637 ],
588 }], 638 }],
589 ], 639 ],
590 'conditions': [ 640 'conditions': [
591 ['OS=="ios"', {
592 # iOS has different user-agent construction utilities, since the
593 # version strings is not derived from webkit_version, and follows
594 # a different format.
595 'sources!': [
596 'common/user_agent.cc',
597 ],
598 'sources/': [
599 # iOS only needs a small portion of content; exclude all the
600 # implementation, and re-include what is used.
601 ['exclude', '\\.(cc|mm)$'],
602 ['include', '_ios\\.(cc|mm)$'],
603 ['include', '^public/common/content_client\\.cc$'],
604 ['include', '^public/common/content_constants\\.cc$'],
605 ['include', '^public/common/content_switches\\.cc$'],
606 ['include', '^public/common/frame_navigate_params\\.cc$'],
607 ['include', '^public/common/media_stream_request\\.cc$'],
608 ['include', '^public/common/page_state\\.cc$'],
609 ['include', '^public/common/password_form\\.cc$'],
610 ['include', '^public/common/signed_certificate_timestamp_id_and_status\\ .cc$'],
611 ['include', '^public/common/speech_recognition_result\\.cc$'],
612 ['include', '^public/common/ssl_status\\.cc$'],
613 ['include', '^public/common/url_constants\\.cc$'],
614 ['include', '^common/content_paths\\.cc$'],
615 ['include', '^common/media/media_stream_options\\.cc$'],
616 ['include', '^common/net/url_fetcher\\.cc$'],
617 ['include', '^common/net/url_request_user_data\\.cc$'],
618 ['include', '^common/page_state_serialization\\.cc$'],
619 ['include', '^common/savable_url_schemes\\.cc$'],
620 ['include', '^common/url_schemes\\.cc$'],
621 ],
622 }, { # OS!="ios"
623 'dependencies': [
624 '../cc/cc.gyp:cc',
625 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
626 '../gpu/blink/gpu_blink.gyp:gpu_blink',
627 '../gpu/gpu.gyp:command_buffer_service',
628 '../gpu/gpu.gyp:gles2_c_lib',
629 '../gpu/gpu.gyp:gles2_implementation',
630 # TODO: the dependency on gl_in_process_context should be decoupled from
631 # content and moved to android_webview. See crbug.com/365797.
632 '../gpu/gpu.gyp:gl_in_process_context',
633 '../gpu/gpu.gyp:gpu_ipc',
634 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings',
635 '../ipc/ipc.gyp:ipc',
636 '../ipc/mojo/ipc_mojo.gyp:ipc_mojo',
637 '../media/media.gyp:media',
638 '../media/media.gyp:shared_memory_support',
639 '../media/midi/midi.gyp:midi',
640 '../mojo/mojo_base.gyp:mojo_application_bindings',
641 '../mojo/mojo_base.gyp:mojo_environment_chromium',
642 '../mojo/mojo_edk.gyp:mojo_system_impl',
643 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
644 '../storage/storage_common.gyp:storage_common',
645 '../third_party/WebKit/public/blink.gyp:blink',
646 '../third_party/boringssl/boringssl.gyp:boringssl',
647 '../ui/gl/gl.gyp:gl',
648 'content_common_mojo_bindings.gyp:content_common_mojo_bindings',
649 ],
650 'export_dependent_settings' : [
651 '../mojo/mojo_base.gyp:mojo_application_bindings',
652 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
653 ],
654 'actions': [
655 {
656 'action_name': 'generate_webkit_version',
657 'inputs': [
658 '<(script)',
659 '<(lastchange)',
660 '<(template)',
661 ],
662 'outputs': [
663 '<(SHARED_INTERMEDIATE_DIR)/build/util/webkit_version.h',
664 ],
665 'action': ['python',
666 '<(script)',
667 '-f', '<(lastchange)',
668 '<(template)',
669 '<@(_outputs)',
670 ],
671 'variables': {
672 'script': '<(DEPTH)/build/util/version.py',
673 'lastchange': '<(DEPTH)/build/util/LASTCHANGE.blink',
674 'template': '<(DEPTH)/build/util/webkit_version.h.in',
675 },
676 },
677 ],
678 }],
679 ['OS=="mac"', { 641 ['OS=="mac"', {
680 'dependencies': [ 642 'dependencies': [
681 '../media/media.gyp:media', 643 '../media/media.gyp:media',
682 'app/resources/content_resources.gyp:content_resources', 644 'app/resources/content_resources.gyp:content_resources',
683 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wid get_mac' 645 '../ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wid get_mac'
684 ], 646 ],
685 'sources': [ 647 'sources': [
686 'common/gpu/client/gpu_memory_buffer_impl_io_surface.cc', 648 'common/gpu/client/gpu_memory_buffer_impl_io_surface.cc',
687 'common/gpu/client/gpu_memory_buffer_impl_io_surface.h', 649 'common/gpu/client/gpu_memory_buffer_impl_io_surface.h',
688 'common/gpu/gpu_memory_buffer_factory_io_surface.cc', 650 'common/gpu/gpu_memory_buffer_factory_io_surface.cc',
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
1119 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc', 1081 'common/gpu/client/gpu_memory_buffer_impl_ozone.cc',
1120 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc', 1082 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc',
1121 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h', 1083 'common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h',
1122 'common/gpu/gpu_memory_buffer_factory_ozone.cc', 1084 'common/gpu/gpu_memory_buffer_factory_ozone.cc',
1123 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc', 1085 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc',
1124 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h', 1086 'common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h',
1125 ], 1087 ],
1126 }], 1088 }],
1127 ], 1089 ],
1128 } 1090 }
OLDNEW
« no previous file with comments | « content/content_child.gypi ('k') | content/content_shell_and_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698