OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//extensions/shell/app_shell.gni") | 5 import("//extensions/shell/app_shell.gni") |
6 | 6 |
7 # Technically, this directory should not depend on files from src/chrome, but | 7 # Technically, this directory should not depend on files from src/chrome, but |
8 # that's where the VERSION file is. This should probably all be moved to | 8 # that's where the VERSION file is. This should probably all be moved to |
9 # src/build. | 9 # src/build. |
10 import("//chrome/version.gni") | 10 import("//chrome/version.gni") |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
51 "//extensions:shell_and_test_pak", | 51 "//extensions:shell_and_test_pak", |
52 "//mojo/environment:chromium", | 52 "//mojo/environment:chromium", |
53 "//skia", | 53 "//skia", |
54 "//third_party/WebKit/public:blink", | 54 "//third_party/WebKit/public:blink", |
55 "//third_party/mojo/src/mojo/edk/system", | 55 "//third_party/mojo/src/mojo/edk/system", |
56 "//ui/base", | 56 "//ui/base", |
57 "//ui/base/ime", | 57 "//ui/base/ime", |
58 "//v8", | 58 "//v8", |
59 ] | 59 ] |
60 | 60 |
61 sources = rebase_path(app_shell_gypi_values.app_shell_lib_sources, | 61 sources = [ |
brettw
2015/02/25 21:27:29
Why did you change this?
Dirk Pranke
2015/02/25 21:37:40
I suspect that was unintentional and came in autom
| |
62 ".", | 62 "app/shell_main_delegate.cc", |
63 "//extensions/shell") | 63 "app/shell_main_delegate.h", |
64 | 64 "browser/api/identity/identity_api.cc", |
65 if (use_aura) { | 65 "browser/api/identity/identity_api.h", |
66 deps += [ "//ui/wm" ] | 66 "browser/default_shell_browser_main_delegate.cc", |
67 | 67 "browser/default_shell_browser_main_delegate.h", |
68 aura_sources = rebase_path(app_shell_gypi_values.app_shell_lib_sources_aura, | 68 "browser/desktop_controller.cc", |
69 ".", | 69 "browser/desktop_controller.h", |
70 "//extensions/shell") | 70 "browser/media_capture_util.cc", |
71 sources += aura_sources | 71 "browser/media_capture_util.h", |
72 } | 72 "browser/shell_app_delegate.cc", |
73 "browser/shell_app_delegate.h", | |
74 "browser/shell_app_view_guest_delegate.cc", | |
75 "browser/shell_app_view_guest_delegate.h", | |
76 "browser/shell_app_window_client.cc", | |
77 "browser/shell_app_window_client.h", | |
78 "browser/shell_app_window_client_aura.cc", | |
79 "browser/shell_audio_controller_chromeos.cc", | |
80 "browser/shell_audio_controller_chromeos.h", | |
81 "browser/shell_browser_context.cc", | |
82 "browser/shell_browser_context.h", | |
83 "browser/shell_browser_context_keyed_service_factories.cc", | |
84 "browser/shell_browser_context_keyed_service_factories.h", | |
85 "browser/shell_browser_main_delegate.h", | |
86 "browser/shell_browser_main_parts.cc", | |
87 "browser/shell_browser_main_parts.h", | |
88 "browser/shell_content_browser_client.cc", | |
89 "browser/shell_content_browser_client.h", | |
90 "browser/shell_desktop_controller_aura.cc", | |
91 "browser/shell_desktop_controller_aura.h", | |
92 "browser/shell_device_client.cc", | |
93 "browser/shell_device_client.h", | |
94 "browser/shell_display_info_provider.cc", | |
95 "browser/shell_display_info_provider.h", | |
96 "browser/shell_extension_host_delegate.cc", | |
97 "browser/shell_extension_host_delegate.h", | |
98 "browser/shell_extension_system.cc", | |
99 "browser/shell_extension_system.h", | |
100 "browser/shell_extension_system_factory.cc", | |
101 "browser/shell_extension_system_factory.h", | |
102 "browser/shell_extension_web_contents_observer.cc", | |
103 "browser/shell_extension_web_contents_observer.h", | |
104 "browser/shell_extensions_api_client.cc", | |
105 "browser/shell_extensions_api_client.h", | |
106 "browser/shell_extensions_browser_client.cc", | |
107 "browser/shell_extensions_browser_client.h", | |
108 "browser/shell_native_app_window.cc", | |
109 "browser/shell_native_app_window.h", | |
110 "browser/shell_native_app_window_aura.cc", | |
111 "browser/shell_native_app_window_aura.h", | |
112 "browser/shell_network_controller_chromeos.cc", | |
113 "browser/shell_network_controller_chromeos.h", | |
114 "browser/shell_network_delegate.cc", | |
115 "browser/shell_network_delegate.h", | |
116 "browser/shell_oauth2_token_service.cc", | |
117 "browser/shell_oauth2_token_service.h", | |
118 "browser/shell_prefs.cc", | |
119 "browser/shell_prefs.h", | |
120 "browser/shell_runtime_api_delegate.cc", | |
121 "browser/shell_runtime_api_delegate.h", | |
122 "browser/shell_screen.cc", | |
123 "browser/shell_screen.h", | |
124 "browser/shell_special_storage_policy.cc", | |
125 "browser/shell_special_storage_policy.h", | |
126 "browser/shell_speech_recognition_manager_delegate.cc", | |
127 "browser/shell_speech_recognition_manager_delegate.h", | |
128 "browser/shell_update_query_params_delegate.cc", | |
129 "browser/shell_update_query_params_delegate.h", | |
130 "browser/shell_url_request_context_getter.cc", | |
131 "browser/shell_url_request_context_getter.h", | |
132 "browser/shell_web_contents_modal_dialog_manager.cc", | |
133 "common/shell_content_client.cc", | |
134 "common/shell_content_client.h", | |
135 "common/shell_extensions_client.cc", | |
136 "common/shell_extensions_client.h", | |
137 "common/switches.cc", | |
138 "common/switches.h", | |
139 "renderer/shell_content_renderer_client.cc", | |
140 "renderer/shell_content_renderer_client.h", | |
141 "renderer/shell_extensions_renderer_client.cc", | |
142 "renderer/shell_extensions_renderer_client.h", | |
143 "utility/shell_content_utility_client.cc", | |
144 "utility/shell_content_utility_client.h", | |
145 ] | |
73 | 146 |
74 if (is_chromeos) { | 147 if (is_chromeos) { |
75 deps += [ | 148 deps += [ |
76 "//chromeos", | 149 "//chromeos", |
77 "//ui/chromeos:ui_chromeos", | 150 "//ui/chromeos:ui_chromeos", |
78 "//ui/display", | 151 "//ui/display", |
79 ] | 152 ] |
80 chromeos_sources = | 153 chromeos_sources = |
81 rebase_path(app_shell_gypi_values.app_shell_lib_sources_chromeos, | 154 rebase_path(app_shell_gypi_values.app_shell_lib_sources_chromeos, |
82 ".", | 155 ".", |
(...skipping 15 matching lines...) Expand all Loading... | |
98 "//components/nacl:renderer", | 171 "//components/nacl:renderer", |
99 "//components/nacl:switches", | 172 "//components/nacl:switches", |
100 ] | 173 ] |
101 nacl_sources = | 174 nacl_sources = |
102 rebase_path(app_shell_gypi_values.app_shell_lib_sources_nacl, | 175 rebase_path(app_shell_gypi_values.app_shell_lib_sources_nacl, |
103 ".", | 176 ".", |
104 "//extensions/shell") | 177 "//extensions/shell") |
105 sources += nacl_sources | 178 sources += nacl_sources |
106 } | 179 } |
107 } | 180 } |
181 | |
182 if (enable_nacl) { | |
183 sources += [ | |
184 "browser/shell_nacl_browser_delegate.cc", | |
185 "browser/shell_nacl_browser_delegate.h", | |
186 ] | |
187 | |
188 deps += [ | |
189 "//components/nacl", | |
190 "//components/nacl:nacl_browser", | |
191 "//components/nacl:nacl_common", | |
192 "//components/nacl:nacl_renderer", | |
193 "//components/nacl:nacl_switches", | |
194 "//components/nacl/renderer/plugin:nacl_trusted_plugin", | |
195 ] | |
196 | |
197 if (is_linux) { | |
198 deps += [ "//components/nacl:nacl_helper" ] | |
199 } | |
200 } | |
108 } | 201 } |
109 | 202 |
110 if (!(is_chromeos && !use_ozone) && (!is_win || link_chrome_on_windows)) { | 203 if (!(is_chromeos && !use_ozone) && (!is_win || link_chrome_on_windows)) { |
111 executable("app_shell") { | 204 executable("app_shell") { |
112 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment. | 205 # testonly because :app_shell_lib is testonly. See :app_shell_lib comment. |
113 testonly = true | 206 testonly = true |
114 sources = rebase_path(app_shell_gypi_values.app_shell_sources, | 207 sources = rebase_path(app_shell_gypi_values.app_shell_sources, |
115 ".", | 208 ".", |
116 "//extensions/shell") | 209 "//extensions/shell") |
117 deps = [ | 210 deps = [ |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
179 | 272 |
180 if (is_win) { | 273 if (is_win) { |
181 deps += [ "//base/allocator" ] | 274 deps += [ "//base/allocator" ] |
182 } | 275 } |
183 } | 276 } |
184 | 277 |
185 process_version("version_header") { | 278 process_version("version_header") { |
186 source = "common/version.h.in" | 279 source = "common/version.h.in" |
187 output = "$target_gen_dir/common/version.h" | 280 output = "$target_gen_dir/common/version.h" |
188 } | 281 } |
OLD | NEW |