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

Side by Side Diff: content/browser/BUILD.gn

Issue 328313003: More work on content/browser GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « chromeos/BUILD.gn ('k') | content/content_browser.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 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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/browser/browser.gni") 7 import("//content/browser/browser.gni")
8 8
9 source_set("browser") { 9 source_set("browser") {
10 # Only targets in the content tree can depend directly on this target. 10 # Only targets in the content tree can depend directly on this target.
11 visibility = [ "//content/*" ] 11 visibility = [ "//content/*" ]
12 12
13 sources = rebase_path(content_browser_gypi_values.private_browser_sources, 13 defines = []
14 ".", "//content") 14 libs = []
15 15 ldflags = []
16 # TODO(GYP) these generated files are listed as sources in content_browser. 16
17 # This is a bit suspicious. The GN grit template will make a source set 17 # Shared deps. See also non-iOS deps below.
18 # containing the generated code so it should be sufficient to just depend
19 # on the grit rule. But maybe some of these will need to be added?
20 #
21 # Need this annoying rebase_path call to match what happened with the sources.
22 sources -= rebase_path([
23 "$root_gen_dir/webkit/grit/devtools_resources.h",
24 "$root_gen_dir/webkit/grit/devtools_resources_map.cc",
25 "$root_gen_dir/webkit/grit/devtools_resources_map.h",
26 "$root_gen_dir/content/browser/tracing/grit/tracing_resources.h",
27 "$root_gen_dir/ui/ui_resources/grit/webui_resources_map.cc",
28 "$root_gen_dir/content/browser/devtools/devtools_protocol_constants.cc",
29 "$root_gen_dir/content/browser/devtools/devtools_protocol_constants.h",
30 ], ".")
31
32 configs += [ "//content:content_implementation" ]
33
34 deps = [ 18 deps = [
35 "//base", 19 "//base",
36 "//cc",
37 "//content:resources", 20 "//content:resources",
38 "//content/browser/devtools:resources",
39 "//content/browser/service_worker:database_proto", 21 "//content/browser/service_worker:database_proto",
40 "//content/browser/speech/proto", 22 "//content/browser/speech/proto",
41 "//content/common:mojo_bindings",
42 "//crypto", 23 "//crypto",
43 "//google_apis", 24 "//google_apis",
44 "//mojo/public/cpp/bindings",
45 "//mojo/public/interfaces/service_provider:service_provider",
46 "//mojo/public/js/bindings",
47 "//net", 25 "//net",
48 "//net:http_server",
49 "//skia", 26 "//skia",
50 "//sql", 27 "//sql",
51 "//third_party/leveldatabase",
52 "//third_party/re2", 28 "//third_party/re2",
53 "//third_party/WebKit/public:blink_headers", 29 "//third_party/WebKit/public:blink_headers",
54 "//third_party/zlib", 30 "//third_party/zlib",
55 "//third_party/zlib:zip", 31 "//third_party/zlib:zip",
56 "//ui/accessibility", 32 "//ui/accessibility",
57 "//ui/accessibility:ax_gen", 33 "//ui/accessibility:ax_gen",
58 "//ui/base", 34 "//ui/base",
59 "//ui/events", 35 "//ui/events",
60 "//ui/events:gesture_detection", 36 "//ui/events:gesture_detection",
61 "//ui/gfx", 37 "//ui/gfx",
62 "//ui/gfx/geometry", 38 "//ui/gfx/geometry",
63 "//ui/resources", 39 "//ui/resources",
64 "//ui/snapshot", 40 "//ui/snapshot",
65 "//ui/surface",
66 "//webkit:resources",
67 "//webkit:strings",
68 "//webkit/browser:storage",
69 "//webkit/common",
70 "//webkit/common:storage",
71 # TODO(GYP)
72 #'../third_party/angle/src/build_angle.gyp:commit_id',
73 ] 41 ]
74 42
43 if (is_ios) {
44 # iOS doesn't get the normal file list and only takes these whitelisted
45 # files.
46 sources = [
47 "browser_context.cc",
48 "browser_main_loop.cc",
49 "browser_main_runner.cc",
50 "browser_process_sub_thread.cc",
51 "browser_thread_impl.cc",
52 "browser_url_handler_impl.cc",
53 "cert_store_impl.cc",
54 "download/download_create_info.cc",
55 "notification_service_impl.cc",
56 "signed_certificate_timestamp_store_impl.cc",
57 "user_metrics.cc",
58 "web_contents/navigation_entry_impl.cc",
59 ]
60 } else {
61 # Normal non-iOS sources get everything.
62 sources = rebase_path(content_browser_gypi_values.private_browser_sources,
63 ".", "//content")
64
65 # TODO(GYP) these generated files are listed as sources in content_browser.
66 # This is a bit suspicious. The GN grit template will make a source set
67 # containing the generated code so it should be sufficient to just depend
68 # on the grit rule. But maybe some of these will need to be added?
69 #
70 # Need this annoying rebase_path call to match what happened with the
71 # sources.
72 sources -= rebase_path([
73 "$root_gen_dir/webkit/grit/devtools_resources.h",
74 "$root_gen_dir/webkit/grit/devtools_resources_map.cc",
75 "$root_gen_dir/webkit/grit/devtools_resources_map.h",
76 "$root_gen_dir/content/browser/tracing/grit/tracing_resources.h",
77 "$root_gen_dir/ui/ui_resources/grit/webui_resources_map.cc",
78 "$root_gen_dir/content/browser/devtools/devtools_protocol_constants.cc",
79 "$root_gen_dir/content/browser/devtools/devtools_protocol_constants.h",
80 ], ".")
81
82 # Non-iOS deps.
83 deps += [
84 "//content/browser/devtools:resources",
85 "//content/common:mojo_bindings",
86 "//cc",
87 "//cc:surfaces",
88 "//mojo/public/cpp/bindings",
89 "//mojo/public/interfaces/service_provider:service_provider",
90 "//mojo/public/js/bindings",
91 "//net:http_server",
92 "//third_party/leveldatabase",
93 "//third_party/libyuv",
94 "//ui/surface",
95 "//webkit:resources",
96 "//webkit:strings",
97 "//webkit/browser:storage",
98 "//webkit/common",
99 "//webkit/common:storage",
100 # TODO(GYP)
101 #"//third_party/angle:commit_id",
102 ]
103 }
104
105 configs += [ "//content:content_implementation" ]
106
75 if (toolkit_views) { 107 if (toolkit_views) {
76 deps += [ "//ui/events" ] 108 deps += [ "//ui/events" ]
77 } 109 }
78 110
79 if (is_win) { 111 if (is_win) {
80 sources += [ 112 sources += [
81 "power_profiles/power_data_provider_ia_win.cc", 113 "power_profiles/power_data_provider_ia_win.cc",
82 "power_profiles/power_data_provider_ia_win.h", 114 "power_profiles/power_data_provider_ia_win.h",
83 ] 115 ]
84 deps += [ "//third_party/power_gadget" ] 116 deps += [ "//third_party/power_gadget" ]
85 } else { 117 } else {
86 sources += [ "power_profiler/power_data_provider_dummy.cc" ] 118 sources += [ "power_profiler/power_data_provider_dummy.cc" ]
87 } 119 }
88 120
89 if (!is_win && !is_mac && (!is_linux || !use_udev)) { 121 if (!is_win && !is_mac && (!is_linux || !use_udev)) {
90 sources += [ "browser/gamepad/gamepad_platform_data_fetcher.cc" ] 122 sources += [ "gamepad/gamepad_platform_data_fetcher.cc" ]
91 }
92
93 if (is_ios) {
94 # TODO(GYP) lots of inclusions and exclusions for iOS.
95 } 123 }
96 124
97 if (enable_printing != 0) { 125 if (enable_printing != 0) {
98 #TODO(GYP) 126 deps += [ "//printing" ]
99 #deps += [ "//printing" ]
100 } 127 }
101 128
102 # TODO(GYP) 129 # TODO(GYP)
103 # ['OS!="ios" and chrome_multiple_dll!=1', { 130 # ['OS!="ios" and chrome_multiple_dll!=1', {
104 # 'dependencies': [ 131 # 'dependencies': [
105 # '../third_party/WebKit/public/blink.gyp:blink', 132 # '../third_party/WebKit/public/blink.gyp:blink',
106 # ], 133 # ],
107 # }], 134 # }],
108 # ['OS!="mac" and OS!="ios"', { 135 if (!is_mac && !is_ios) {
109 # 'dependencies': [ 136 deps += [ "//sandbox" ]
110 # '../sandbox/sandbox.gyp:sandbox', 137 }
111 # ], 138 if (!is_android && !is_ios) {
112 # }], 139 # TODO(GYP)
113 # ['OS!="android" and OS!="ios"', { 140 #deps += [ "//content/browser/tracing:resources" ]
114 # 'dependencies': [ 141 }
115 # 'browser/tracing/tracing_resources.gyp:tracing_resources', 142
116 # ], 143 if (enable_webrtc) {
117 # }], 144 sources += rebase_path(content_browser_gypi_values.webrtc_browser_sources,
118 # ['OS!="ios"', { 145 ".", "//content")
119 # 'dependencies': [ 146 # TODO(GYP)
120 # '../third_party/libyuv/libyuv.gyp:libyuv', 147 #deps += [ "//jingle:glue" ]
121 # ], 148 if (is_linux) {
122 # }], 149 # TODO(GYP)
123 # ['enable_webrtc==1', { 150 #deps += [ "//third_party/libjingle:libjingle_webrtc" ]
124 # 'dependencies': [ 151 }
125 # '../jingle/jingle.gyp:jingle_glue', 152 if (is_linux || is_mac || is_win) {
126 # ], 153 sources += [
127 # 'sources': [ 154 "media/capture/desktop_capture_device.cc",
128 # 'browser/renderer_host/media/peer_connection_tracker_host.cc', 155 "media/capture/desktop_capture_device.h",
129 # 'browser/renderer_host/media/peer_connection_tracker_host.h', 156 "media/capture/desktop_capture_device_aura.cc",
130 # 'browser/renderer_host/media/webrtc_identity_service_host.cc', 157 "media/capture/desktop_capture_device_aura.h",
131 # 'browser/renderer_host/media/webrtc_identity_service_host.h', 158 "media/capture/desktop_capture_device_uma_types.cc",
132 # 'browser/renderer_host/p2p/socket_host.cc', 159 "media/capture/desktop_capture_device_uma_types.h",
133 # 'browser/renderer_host/p2p/socket_host.h', 160 ]
134 # 'browser/renderer_host/p2p/socket_host_tcp.cc', 161 defines += [ "ENABLE_SCREEN_CAPTURE=1" ]
135 # 'browser/renderer_host/p2p/socket_host_tcp.h', 162 # TODO(GYP)
136 # 'browser/renderer_host/p2p/socket_host_tcp_server.cc', 163 #deps += [ "//third_party/webrtc/modules:desktop_capture" ]
137 # 'browser/renderer_host/p2p/socket_host_tcp_server.h', 164 }
138 # 'browser/renderer_host/p2p/socket_host_throttler.cc', 165 }
139 # 'browser/renderer_host/p2p/socket_host_throttler.h', 166
140 # 'browser/renderer_host/p2p/socket_host_udp.cc', 167 if (is_win) {
141 # 'browser/renderer_host/p2p/socket_host_udp.h', 168 sources -= [
142 # 'browser/renderer_host/p2p/socket_dispatcher_host.cc', 169 "device_sensors/data_fetcher_shared_memory_default.cc",
143 # 'browser/renderer_host/p2p/socket_dispatcher_host.h', 170 "geolocation/empty_wifi_data_provider.cc",
144 # ], 171 ]
145 # }], 172 defines += [
146 # ['enable_webrtc==1 and OS=="linux"', { 173 # This prevents the inclusion of atlhost.h which paired
147 # 'dependencies': [ 174 # with the windows 8 sdk it does the wrong thing.
148 # '../third_party/libjingle/libjingle.gyp:libjingle_webrtc', 175 "__ATLHOST_H__",
149 # ], 176 ]
150 # }], 177 deps += [
151 # ['enable_webrtc==1 and (OS=="linux" or OS=="mac" or OS=="win")', { 178 # TODO(GYP)
152 # 'sources': [ 179 #"//third_party/iaccessible2",
153 # 'browser/media/capture/desktop_capture_device.cc', 180 #"//third_party/isimpledom",
154 # 'browser/media/capture/desktop_capture_device.h', 181 ]
155 # 'browser/media/capture/desktop_capture_device_aura.cc', 182 libs += [
156 # 'browser/media/capture/desktop_capture_device_aura.h', 183 "comctl32.lib",
157 # 'browser/media/capture/desktop_capture_device_uma_types.cc', 184 "dinput8.lib",
158 # 'browser/media/capture/desktop_capture_device_uma_types.h', 185 "dwmapi.lib",
159 # ], 186 "dxguid.lib",
160 # 'dependencies': [ 187 "sensorsapi.lib",
161 # '../third_party/webrtc/modules/modules.gyp:desktop_capture', 188 "portabledeviceguids.lib",
162 # ], 189 ]
163 # 'defines': [ 190 # TODI(GYP)
164 # 'ENABLE_SCREEN_CAPTURE=1',
165 # ],
166 # }],
167 # ['OS=="win"', {
168 # 'dependencies': [
169 # # For accessibility
170 # '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
171 # '../third_party/isimpledom/isimpledom.gyp:isimpledom',
172 # ],
173 # 'sources/': [
174 # ['exclude', '^browser/device_sensors/data_fetcher_shared_memory_default. cc$'],
175 # ],
176 # 'defines': [
177 # # This prevents the inclusion of atlhost.h which paired
178 # # with the windows 8 sdk it does the wrong thing.
179 # '__ATLHOST_H__',
180 # ],
181 # 'link_settings': {
182 # 'libraries': [
183 # '-lcomctl32.lib',
184 # '-ldinput8.lib',
185 # '-ldwmapi.lib',
186 # '-ldxguid.lib',
187 # '-lsensorsapi.lib',
188 # '-lportabledeviceguids.lib',
189 # ],
190 # 'msvs_settings': { 191 # 'msvs_settings': {
191 # 'VCLinkerTool': { 192 # 'VCLinkerTool': {
192 # 'DelayLoadDLLs': [ 193 # 'DelayLoadDLLs': [
193 # 'dinput8.dll', 194 # 'dinput8.dll',
194 # 'user32.dll', 195 # 'user32.dll',
195 # 'dwmapi.dll', 196 # 'dwmapi.dll',
196 # ], 197 # ],
197 # }, 198 }
198 # }, 199
199 # }, 200 if (is_linux) {
200 # }], 201 deps += [ "//sandbox/linux:libc_urandom_override" ]
201 # ['OS=="linux"', { 202 }
202 # 'dependencies': [ 203
203 # '../sandbox/sandbox.gyp:libc_urandom_override', 204 if (use_udev) {
204 # ], 205 configs += [ "//build/config/linux:udev" ]
205 # }], 206 } else {
206 # ['use_udev == 1', { 207 # Remove udev-specific sources.
207 # 'dependencies': [ 208 sources -= [
208 # '../build/linux/system.gyp:udev', 209 "device_monitor_udev.cc",
209 # ], 210 "device_monitor_udev.h",
210 # }, { 211 "gamepad/gamepad_platform_data_fetcher_linux.cc",
211 # 'sources!': [ 212 "udev_linux.cc",
212 # 'browser/device_monitor_udev.cc', 213 "udev_linux.h",
213 # 'browser/device_monitor_udev.h', 214 ]
214 # 'browser/gamepad/gamepad_platform_data_fetcher_linux.cc', 215 }
215 # 'browser/udev_linux.cc', 216
216 # 'browser/udev_linux.h', 217 if (enable_plugins) {
217 # ], 218 sources += rebase_path(content_browser_gypi_values.plugin_browser_sources,
218 # }], 219 ".", "//content")
219 # ['OS=="linux" and use_aura==1', { 220 deps += [
220 # 'dependencies': [ 221 "//ppapi:ppapi_ipc",
221 # '../build/linux/system.gyp:fontconfig', 222 "//ppapi:ppapi_shared",
222 # ], 223 ]
223 # }], 224 if (!use_ozone || use_pango) {
224 # ['use_x11==1', { 225 sources -= [ "renderer_host/pepper/pepper_truetype_font_list_ozone.cc" ]
225 # 'dependencies': [ 226 }
226 # '../build/linux/system.gyp:x11', 227 }
227 # ], 228
228 # }], 229 if (is_linux && use_aura) {
229 # ['use_pango==1', { 230 configs += [ "//build/config/linux:fontconfig" ]
230 # 'dependencies': [ 231 }
231 # '../build/linux/system.gyp:pangocairo', 232
232 # ], 233 if (use_x11) {
233 # 'sources!': [ 234 configs += [ "//build/config/linux:x11" ]
234 # 'browser/renderer_host/pepper/pepper_truetype_font_list_ozone.cc', 235 }
235 # ], 236
236 # }], 237 if (use_pango) {
237 # ['OS=="android"', { 238 configs += [ "//build/config/linux:pangocairo" ]
238 # 'dependencies': [ 239 }
239 # '../media/media.gyp:media', 240
240 # 'content.gyp:content_jni_headers', 241 if (is_android) {
241 # ], 242 sources += rebase_path(content_browser_gypi_values.android_browser_sources,
242 # 'link_settings': { 243 ".", "//content")
243 # 'libraries': [ 244 sources -= [
244 # '-ljnigraphics', 245 "battery_status/battery_status_manager_default.cc",
245 # ], 246 "browser_ipc_logging.cc",
246 # }, 247 "device_sensors/data_fetcher_shared_memory_default.cc",
247 # 'sources/': [ 248 "font_list_async.cc",
248 # ['exclude', '^browser/battery_status/battery_status_manager_default.cc$' ], 249 "geolocation/device_data_provider.cc",
249 # ['exclude', '^browser/device_sensors/data_fetcher_shared_memory_default. cc$'], 250 "geolocation/empty_device_data_provider.cc",
250 # ['exclude', '^browser/geolocation/network_location_provider\\.(cc|h)$'], 251 "geolocation/network_location_provider.cc",
251 # ['exclude', '^browser/geolocation/network_location_request\\.(cc|h)$'], 252 "geolocation/network_location_provider.h",
252 # ['exclude', '^browser/tracing/tracing_ui'], 253 "geolocation/network_location_request.cc",
253 # ['exclude', '^browser/speech/'], 254 "geolocation/network_location_request.h",
254 # ['include', '^browser/speech/speech_recognition_dispatcher_host\\.(cc|h) $'], 255 "geolocation/wifi_data_provider_common.cc",
255 # ['include', '^browser/speech/speech_recognition_manager_impl\\.(cc|h)$'] , 256 "renderer_host/native_web_keyboard_event.cc",
256 # ['include', '^browser/speech/speech_recognizer\\.h$'], 257 "tracing/tracing_ui.cc",
257 # ['include', '^browser/speech/speech_recognizer_impl_android\\.(cc|h)$'], 258 "tracing/tracing_ui.h",
258 # ], 259
259 # 'sources!': [ 260 # Android skips most, but not all, of the speech code.
260 # 'browser/browser_ipc_logging.cc', 261 "speech/audio_buffer.cc",
261 # 'browser/font_list_async.cc', 262 "speech/audio_buffer.h",
262 # 'browser/geolocation/device_data_provider.cc', 263 "speech/audio_encoder.cc",
263 # 'browser/geolocation/empty_device_data_provider.cc', 264 "speech/audio_encoder.h",
264 # 'browser/geolocation/wifi_data_provider_common.cc', 265 "speech/chunked_byte_buffer.cc",
265 # 'browser/renderer_host/native_web_keyboard_event.cc', 266 "speech/chunked_byte_buffer.h",
266 # ] 267 "speech/endpointer/endpointer.cc",
267 # }, { # OS!="android" 268 "speech/endpointer/endpointer.h",
268 # 'sources/': [ 269 "speech/endpointer/energy_endpointer.cc",
269 # ['exclude', '^browser/renderer_host/java/'], 270 "speech/endpointer/energy_endpointer.h",
270 # ['exclude', '^browser/speech/speech_recognizer_impl_android\\.(cc|h)'], 271 "speech/endpointer/energy_endpointer_params.cc",
271 # ], 272 "speech/endpointer/energy_endpointer_params.h",
272 # }], 273 "speech/google_one_shot_remote_engine.cc",
273 # ['OS=="mac"', { 274 "speech/google_one_shot_remote_engine.h",
274 # 'sources/': [ 275 "speech/google_streaming_remote_engine.cc",
275 # ['exclude', '^browser/device_sensors/data_fetcher_shared_memory_default. cc$'], 276 "speech/google_streaming_remote_engine.h",
276 # ], 277 "speech/speech_recognition_engine.cc",
277 # 'sources!': [ 278 "speech/speech_recognition_engine.h",
278 # 'browser/geolocation/empty_wifi_data_provider.cc', 279 "speech/speech_recognizer_impl.cc",
279 # ], 280 "speech/speech_recognizer_impl.h",
280 # 'dependencies': [ 281 ]
281 # '../third_party/mozilla/mozilla.gyp:mozilla', 282 deps += [
282 # '../third_party/sudden_motion_sensor/sudden_motion_sensor.gyp:sudden_mot ion_sensor', 283 #"//content:jni_headers", TODO(GYP)
283 # ], 284 #"//media", TODO(GYP)
284 # 'link_settings': { 285 ]
285 # 'libraries': [ 286 libs += [ "jnigraphics" ]
286 # '$(SDKROOT)/usr/lib/libbsm.dylib', 287 }
287 # ], 288
288 # }, 289 if (is_mac) {
289 # }], 290 sources -= [
290 # ['chromeos==1', { 291 "device_sensors/data_fetcher_shared_memory_default.cc",
291 # 'dependencies': [ 292 "geolocation/empty_wifi_data_provider.cc",
292 # '../build/linux/system.gyp:dbus', 293 "geolocation/empty_wifi_data_provider.h",
293 # '../chromeos/chromeos.gyp:power_manager_proto', 294 ]
294 # ], 295 libs += [ "bsm" ]
295 # 'sources!': [ 296 }
296 # 'browser/geolocation/wifi_data_provider_linux.cc', 297
297 # 'browser/power_save_blocker_ozone.cc', 298 if (is_chromeos) {
298 # 'browser/power_save_blocker_x11.cc', 299 sources -= [
299 # ], 300 "geolocation/wifi_data_provider_linux.cc",
300 # }], 301 "power_save_blocker_ozone.cc",
301 # ['os_bsd==1', { 302 "power_save_blocker_x11.cc",
302 # 'sources/': [ 303 ]
303 # ['exclude', '^browser/gamepad/gamepad_platform_data_fetcher_linux\\.cc$' ], 304 deps += [ "//chromeos:power_manager_proto" ]
304 # ], 305 }
305 # }], 306
306 # ['use_aura==1', { 307 if (use_aura) {
307 # 'dependencies': [ 308 deps += [
308 # '../ui/aura/aura.gyp:aura', 309 "//ui/aura",
309 # '../ui/strings/ui_strings.gyp:ui_strings', 310 "//ui/strings",
310 # ], 311 ]
311 # }, { 312 } else { # Not aura.
312 # 'sources/': [ 313 sources -= [
313 # ['exclude', '^browser/renderer_host/render_widget_host_view_aura.cc'], 314 "renderer_host/render_widget_host_view_aura.cc",
314 # ['exclude', '^browser/renderer_host/render_widget_host_view_aura.h'], 315 "renderer_host/render_widget_host_view_aura.h",
315 # ['exclude', '^browser/web_contents/touch_editable_impl_aura.cc'], 316 "web_contents/touch_editable_impl_aura.cc",
316 # ['exclude', '^browser/web_contents/touch_editable_impl_aura.h'], 317 "web_contents/touch_editable_impl_aura.h",
317 # ['exclude', '^browser/renderer_host/ui_events_helper.cc'], 318 "renderer_host/ui_events_helper.cc",
318 # ['exclude', '^browser/renderer_host/ui_events_helper.h'], 319 "renderer_host/ui_events_helper.h",
319 # ['exclude', '^browser/context_factory.cc'], 320 "context_factory.cc",
320 # ['exclude', '^public/browser/context_factory.h'], 321 ]
321 # ], 322 }
322 # }], 323
323 # ['use_aura==1 or OS=="mac"', { 324 if (use_aura || is_mac) {
324 # 'dependencies': [ 325 sources += rebase_path(
325 # '../ui/compositor/compositor.gyp:compositor', 326 content_browser_gypi_values.compositor_browser_sources,
326 # ], 327 ".", "//content")
327 # }, { 328 deps += [ "//ui/compositor" ]
328 # 'sources/': [ 329 }
329 # ['exclude', '^browser/compositor/'], 330
330 # ] 331 if (enable_speech_input) {
331 # }], 332 deps += [
332 # ['enable_plugins==1', { 333 #"//third_party/flac", TODO(GYP)
333 # 'dependencies': [ 334 #"//third_party/speex", TODO(GYP)
334 # '../ppapi/ppapi_internal.gyp:ppapi_ipc', 335 ]
335 # '../ppapi/ppapi_internal.gyp:ppapi_shared', 336 }
336 # ], 337
337 # }, { # enable_plugins==0 338 if (is_linux && use_dbus) {
338 # 'sources!': [ 339 sources -= [
339 # 'browser/pepper_flash_settings_helper_impl.cc', 340 "geolocation/empty_wifi_data_provider.cc",
340 # 'browser/pepper_flash_settings_helper_impl.h', 341 ]
341 # 'browser/plugin_data_remover_impl.cc', 342 deps += [ "//dbus" ]
342 # 'browser/plugin_data_remover_impl.h', 343 } else {
343 # 'browser/plugin_loader_posix.cc', 344 if (!use_dbus) {
344 # 'browser/plugin_loader_posix.h', 345 # This will already have gotten removed for all non-Linux cases.
345 # 'browser/plugin_process_host.cc', 346 sources -= [ "geolocation/wifi_data_provider_linux.cc" ]
346 # 'browser/plugin_process_host.h', 347 }
347 # 'browser/plugin_service_impl.cc', 348 }
348 # 'browser/plugin_service_impl.h',
349 # 'browser/ppapi_plugin_process_host.cc',
350 # 'public/browser/plugin_service.h',
351 # ],
352 # 'sources/': [
353 # ['exclude', '^browser/renderer_host/pepper/'],
354 # ],
355 # }],
356 # ['input_speech==1', {
357 # 'dependencies': [
358 # '../third_party/flac/flac.gyp:libflac',
359 # '../third_party/speex/speex.gyp:libspeex',
360 # ],
361 # }],
362 # ['OS == "win"', {
363 # 'sources!': [
364 # 'browser/geolocation/empty_wifi_data_provider.cc',
365 # ],
366 # }],
367 # ['OS == "linux" and use_dbus==1', {
368 # 'sources!': [
369 # 'browser/geolocation/empty_wifi_data_provider.cc',
370 # ],
371 # 'dependencies': [
372 # '../build/linux/system.gyp:dbus',
373 # '../dbus/dbus.gyp:dbus',
374 # ],
375 # }, { # OS != "linux" or use_dbus==0
376 # 'sources!': [
377 # 'browser/geolocation/wifi_data_provider_linux.cc',
378 # ],
379 # }],
380 } 349 }
OLDNEW
« no previous file with comments | « chromeos/BUILD.gn ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698