Commit 824620a9 authored by brettw@chromium.org's avatar brettw@chromium.org

Factor out public/private sources from content .gypis.

This is so these file lists can be shared with the GN build. There should be no change for the GYP build.

TBR=jam@chromium.org

Review URL: https://codereview.chromium.org/291093006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271912 0039d316-1c4b-4281-b951-d872f2087c98
parent 04b630e8
......@@ -37,7 +37,8 @@
'..',
'<(INTERMEDIATE_DIR)',
],
'sources': [
'variables': {
'public_browser_sources': [
'public/browser/access_token_store.h',
'public/browser/android/compositor.h',
'public/browser/android/compositor_client.h',
......@@ -223,6 +224,8 @@
'public/browser/worker_service.h',
'public/browser/worker_service_observer.h',
'public/browser/zygote_host_linux.h',
],
'private_browser_sources': [
'browser/accessibility/accessibility_mode_helper.cc',
'browser/accessibility/accessibility_mode_helper.h',
'browser/accessibility/accessibility_tree_formatter.cc',
......@@ -1387,6 +1390,11 @@
'<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/devtools_protocol_constants.cc',
'<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/devtools_protocol_constants.h',
],
},
'sources': [
'<@(public_browser_sources)',
'<@(private_browser_sources)',
],
'conditions': [
['toolkit_views==1', {
'dependencies': [
......
......@@ -20,7 +20,13 @@
'export_dependent_settings': [
'../base/base.gyp:base',
],
'sources': [
'variables': {
'public_child_sources': [
'public/child/image_decoder_utils.h',
'public/child/request_peer.h',
'public/child/resource_dispatcher_delegate.h',
],
'private_child_sources': [
'child/appcache/appcache_backend_proxy.cc',
'child/appcache/appcache_backend_proxy.h',
'child/appcache/appcache_dispatcher.cc',
......@@ -223,9 +229,11 @@
'child/worker_task_runner.h',
'child/worker_thread_task_runner.cc',
'child/worker_thread_task_runner.h',
'public/child/image_decoder_utils.h',
'public/child/request_peer.h',
'public/child/resource_dispatcher_delegate.h',
],
},
'sources': [
'<@(public_child_sources)',
'<@(private_child_sources)',
],
'conditions': [
['use_default_render_theme==0',
......
......@@ -35,7 +35,8 @@
'..',
'<(SHARED_INTERMEDIATE_DIR)', # Needed by key_systems.cc.
],
'sources': [
'variables': {
'public_renderer_sources': [
'public/renderer/android_content_detection_prefixes.cc',
'public/renderer/android_content_detection_prefixes.h',
'public/renderer/content_renderer_client.cc',
......@@ -69,6 +70,8 @@
'public/renderer/video_encode_accelerator.cc',
'public/renderer/video_encode_accelerator.h',
'public/renderer/web_preferences.h',
],
'private_renderer_sources': [
'renderer/accessibility/blink_ax_enum_conversion.cc',
'renderer/accessibility/blink_ax_enum_conversion.h',
'renderer/accessibility/blink_ax_tree_source.cc',
......@@ -551,6 +554,11 @@
'renderer/webscrollbarbehavior_impl_mac.h',
'renderer/websharedworker_proxy.cc',
'renderer/websharedworker_proxy.h',
]
},
'sources': [
'<@(public_renderer_sources)',
'<@(private_renderer_sources)',
],
'conditions': [
['notifications==0', {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment