| 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("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//components/nacl/nacl_defines.gni") | 8 import("//components/nacl/nacl_defines.gni") |
| 9 |
| 9 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which | 10 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which |
| 10 # produces a conflict for the "grit" template so we have to only include one. | 11 # produces a conflict for the "grit" template so we have to only include one. |
| 11 if (is_android) { | 12 if (is_android) { |
| 12 import("//build/config/android/rules.gni") | 13 import("//build/config/android/rules.gni") |
| 13 } else { | 14 } else { |
| 14 import("//tools/grit/grit_rule.gni") | 15 import("//tools/grit/grit_rule.gni") |
| 15 } | 16 } |
| 16 if (is_desktop_linux) { | 17 if (is_desktop_linux) { |
| 17 import("//build/config/linux/pkg_config.gni") | 18 import("//build/config/linux/pkg_config.gni") |
| 18 } | 19 } |
| 19 | 20 |
| 20 about_credits_file = "$target_gen_dir/about_credits.html" | 21 about_credits_file = "$target_gen_dir/about_credits.html" |
| 21 additional_modules_list_file = | 22 additional_modules_list_file = |
| 22 "$root_gen_dir/chrome/browser/internal/additional_modules_list.txt" | 23 "$root_gen_dir/chrome/browser/internal/additional_modules_list.txt" |
| 23 | 24 |
| 24 gypi_values = exec_script( | 25 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 25 "//build/gypi_to_gn.py", | 26 [ rebase_path("../chrome_browser.gypi") ], |
| 26 [ rebase_path("../chrome_browser.gypi") ], | 27 "scope", |
| 27 "scope", | 28 [ "../chrome_browser.gypi" ]) |
| 28 [ "../chrome_browser.gypi" ]) | |
| 29 | 29 |
| 30 if (is_desktop_linux) { | 30 if (is_desktop_linux) { |
| 31 pkg_config("gnome_keyring") { | 31 pkg_config("gnome_keyring") { |
| 32 packages = [ "gnome-keyring-1" ] | 32 packages = [ "gnome-keyring-1" ] |
| 33 } | 33 } |
| 34 } | 34 } |
| 35 | 35 |
| 36 static_library("browser") { | 36 static_library("browser") { |
| 37 configs += [ | 37 configs += [ |
| 38 "//build/config/compiler:wexit_time_destructors", | 38 "//build/config/compiler:wexit_time_destructors", |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 "//ui/base", | 139 "//ui/base", |
| 140 "//ui/events:events_base", | 140 "//ui/events:events_base", |
| 141 "//ui/gfx", | 141 "//ui/gfx", |
| 142 "//ui/gfx/geometry", | 142 "//ui/gfx/geometry", |
| 143 "//ui/message_center", | 143 "//ui/message_center", |
| 144 "//ui/shell_dialogs", | 144 "//ui/shell_dialogs", |
| 145 "//ui/strings", | 145 "//ui/strings", |
| 146 "//ui/resources", | 146 "//ui/resources", |
| 147 ] | 147 ] |
| 148 | 148 |
| 149 sources += rebase_path(gypi_values.chrome_browser_undo_sources, | 149 sources += |
| 150 ".", "//chrome") | 150 rebase_path(gypi_values.chrome_browser_undo_sources, ".", "//chrome") |
| 151 | 151 |
| 152 if (!is_ios) { | 152 if (!is_ios) { |
| 153 sources += rebase_path(gypi_values.chrome_browser_non_ios_sources, | 153 sources += |
| 154 ".", "//chrome") | 154 rebase_path(gypi_values.chrome_browser_non_ios_sources, ".", "//chrome") |
| 155 sources += rebase_path(gypi_values.chrome_browser_autocomplete_sources, | 155 sources += rebase_path(gypi_values.chrome_browser_autocomplete_sources, |
| 156 ".", "//chrome") | 156 ".", |
| 157 "//chrome") |
| 157 sources += rebase_path(gypi_values.chrome_browser_bookmark_sources, | 158 sources += rebase_path(gypi_values.chrome_browser_bookmark_sources, |
| 158 ".", "//chrome") | 159 ".", |
| 159 sources += rebase_path(gypi_values.chrome_browser_favicon_sources, | 160 "//chrome") |
| 160 ".", "//chrome") | 161 sources += |
| 161 sources += rebase_path(gypi_values.chrome_browser_google_sources, | 162 rebase_path(gypi_values.chrome_browser_favicon_sources, ".", "//chrome") |
| 162 ".", "//chrome") | 163 sources += |
| 163 sources += rebase_path(gypi_values.chrome_browser_history_sources, | 164 rebase_path(gypi_values.chrome_browser_google_sources, ".", "//chrome") |
| 164 ".", "//chrome") | 165 sources += |
| 165 sources += rebase_path(gypi_values.chrome_browser_metrics_sources, | 166 rebase_path(gypi_values.chrome_browser_history_sources, ".", "//chrome") |
| 166 ".", "//chrome") | 167 sources += |
| 167 sources += rebase_path(gypi_values.chrome_browser_net_sources, | 168 rebase_path(gypi_values.chrome_browser_metrics_sources, ".", "//chrome") |
| 168 ".", "//chrome") | 169 sources += |
| 170 rebase_path(gypi_values.chrome_browser_net_sources, ".", "//chrome") |
| 169 sources += rebase_path(gypi_values.chrome_browser_password_manager_sources, | 171 sources += rebase_path(gypi_values.chrome_browser_password_manager_sources, |
| 170 ".", "//chrome") | 172 ".", |
| 173 "//chrome") |
| 171 sources += rebase_path(gypi_values.chrome_browser_predictor_sources, | 174 sources += rebase_path(gypi_values.chrome_browser_predictor_sources, |
| 172 ".", "//chrome") | 175 ".", |
| 173 sources += rebase_path(gypi_values.chrome_browser_pref_sources, | 176 "//chrome") |
| 174 ".", "//chrome") | 177 sources += |
| 178 rebase_path(gypi_values.chrome_browser_pref_sources, ".", "//chrome") |
| 175 sources += rebase_path(gypi_values.chrome_browser_profiles_sources, | 179 sources += rebase_path(gypi_values.chrome_browser_profiles_sources, |
| 176 ".", "//chrome") | 180 ".", |
| 181 "//chrome") |
| 177 sources += rebase_path(gypi_values.chrome_browser_search_engines_sources, | 182 sources += rebase_path(gypi_values.chrome_browser_search_engines_sources, |
| 178 ".", "//chrome") | 183 ".", |
| 184 "//chrome") |
| 179 sources += rebase_path(gypi_values.chrome_browser_services_sources, | 185 sources += rebase_path(gypi_values.chrome_browser_services_sources, |
| 180 ".", "//chrome") | 186 ".", |
| 181 sources += rebase_path(gypi_values.chrome_browser_signin_sources, | 187 "//chrome") |
| 182 ".", "//chrome") | 188 sources += |
| 183 sources += rebase_path(gypi_values.chrome_browser_sync_sources, | 189 rebase_path(gypi_values.chrome_browser_signin_sources, ".", "//chrome") |
| 184 ".", "//chrome") | 190 sources += |
| 191 rebase_path(gypi_values.chrome_browser_sync_sources, ".", "//chrome") |
| 185 sources += rebase_path(gypi_values.chrome_browser_web_resource_sources, | 192 sources += rebase_path(gypi_values.chrome_browser_web_resource_sources, |
| 186 ".", "//chrome") | 193 ".", |
| 194 "//chrome") |
| 195 |
| 187 #TODO(GYP) Add these sources: | 196 #TODO(GYP) Add these sources: |
| 188 # # These files are generated by GRIT. | 197 # # These files are generated by GRIT. |
| 189 # '<(grit_out_dir)/grit/component_extension_resources_map.cc', | 198 # '<(grit_out_dir)/grit/component_extension_resources_map.cc', |
| 190 # '<(grit_out_dir)/grit/theme_resources_map.cc', | 199 # '<(grit_out_dir)/grit/theme_resources_map.cc', |
| 191 # '<(SHARED_INTERMEDIATE_DIR)/ui/resources/grit/ui_resources_map.cc', | 200 # '<(SHARED_INTERMEDIATE_DIR)/ui/resources/grit/ui_resources_map.cc', |
| 192 # | 201 # |
| 193 # # This file is generated by | 202 # # This file is generated by |
| 194 # # chrome/browser/metrics/variations/generate_resources_map.py | 203 # # chrome/browser/metrics/variations/generate_resources_map.py |
| 195 # '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/gener
ated_resources_map.cc', | 204 # '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/gener
ated_resources_map.cc', |
| 196 | 205 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 "//third_party/libaddressinput", | 243 "//third_party/libaddressinput", |
| 235 "//third_party/libyuv", | 244 "//third_party/libyuv", |
| 236 "//third_party/npapi", | 245 "//third_party/npapi", |
| 237 "//third_party/re2", | 246 "//third_party/re2", |
| 238 "//third_party/smhasher:cityhash", | 247 "//third_party/smhasher:cityhash", |
| 239 "//third_party/webrtc/modules/desktop_capture", | 248 "//third_party/webrtc/modules/desktop_capture", |
| 240 "//ui/gl", | 249 "//ui/gl", |
| 241 "//ui/surface", | 250 "//ui/surface", |
| 242 "//ui/web_dialogs", | 251 "//ui/web_dialogs", |
| 243 "//v8", | 252 "//v8", |
| 253 |
| 244 ## TODO(tonyg): Remove this dependency (crbug.com/280157). | 254 ## TODO(tonyg): Remove this dependency (crbug.com/280157). |
| 245 #"../testing/perf/perf_test.gyp:*", TODO(GYP) | 255 #"../testing/perf/perf_test.gyp:*", TODO(GYP) |
| 246 ] | 256 ] |
| 247 } else { # iOS | 257 } else { # iOS |
| 248 sources += rebase_path(gypi_values.chrome_browser_ios_sources, | 258 sources += |
| 249 ".", "//chrome") | 259 rebase_path(gypi_values.chrome_browser_ios_sources, ".", "//chrome") |
| 250 sources += rebase_path(gypi_values.chrome_browser_google_sources, | 260 sources += |
| 251 ".", "//chrome") | 261 rebase_path(gypi_values.chrome_browser_google_sources, ".", "//chrome") |
| 252 deps += [ | 262 deps += [ "//net" ] |
| 253 "//net", | |
| 254 ] | |
| 255 libs += [ | 263 libs += [ |
| 256 "CoreTelephony.framework", | 264 "CoreTelephony.framework", |
| 257 "CoreText.framework", | 265 "CoreText.framework", |
| 258 "MobileCoreServices.framework", | 266 "MobileCoreServices.framework", |
| 259 "QuartzCore.framework", | 267 "QuartzCore.framework", |
| 260 ] | 268 ] |
| 261 ldflags += [ "-weak_framework", "CoreImage" ] | 269 ldflags += [ |
| 270 "-weak_framework", |
| 271 "CoreImage", |
| 272 ] |
| 262 } | 273 } |
| 263 | 274 |
| 264 if (is_win || is_mac) { | 275 if (is_win || is_mac) { |
| 265 sources += rebase_path(gypi_values.chrome_browser_win_mac_sources, | 276 sources += |
| 266 ".", "//chrome") | 277 rebase_path(gypi_values.chrome_browser_win_mac_sources, ".", "//chrome") |
| 267 } | 278 } |
| 268 if (!is_android && !is_ios && !is_chromeos && enable_configuration_policy) { | 279 if (!is_android && !is_ios && !is_chromeos && enable_configuration_policy) { |
| 269 sources += [ | 280 sources += [ |
| 270 "net/disk_cache_dir_policy_handler.cc", | 281 "net/disk_cache_dir_policy_handler.cc", |
| 271 "net/disk_cache_dir_policy_handler.h", | 282 "net/disk_cache_dir_policy_handler.h", |
| 272 ] | 283 ] |
| 273 } | 284 } |
| 274 if (!is_android && !is_ios && enable_configuration_policy) { | 285 if (!is_android && !is_ios && enable_configuration_policy) { |
| 275 sources += [ | 286 sources += [ |
| 276 "download/download_dir_policy_handler.cc", | 287 "download/download_dir_policy_handler.cc", |
| 277 "download/download_dir_policy_handler.h", | 288 "download/download_dir_policy_handler.h", |
| 278 ] | 289 ] |
| 279 } | 290 } |
| 280 if (is_mac) { | 291 if (is_mac) { |
| 281 sources += rebase_path(gypi_values.chrome_browser_mac_sources, | 292 sources += |
| 282 ".", "//chrome") | 293 rebase_path(gypi_values.chrome_browser_mac_sources, ".", "//chrome") |
| 283 deps += [ | 294 deps += [ |
| 284 #"app_shim" TODO(GYP) | 295 #"app_shim" TODO(GYP) |
| 285 #"browser_app_shim" TODO(GYP) | 296 #"browser_app_shim" TODO(GYP) |
| 286 ] | 297 ] |
| 287 } | 298 } |
| 288 if (enable_extensions) { | 299 if (enable_extensions) { |
| 289 public_deps += [ "//chrome/browser/extensions" ] | 300 public_deps += [ "//chrome/browser/extensions" ] |
| 290 deps += [ | 301 deps += [ |
| 291 "//chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_pr
oto", | 302 "//chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_pr
oto", |
| 292 "//chrome/common/extensions/api", | 303 "//chrome/common/extensions/api", |
| 293 "//chrome/common/extensions/api:api_registration", | 304 "//chrome/common/extensions/api:api_registration", |
| 294 "//extensions/components/javascript_dialog_extensions_client", | 305 "//extensions/components/javascript_dialog_extensions_client", |
| 295 ] | 306 ] |
| 296 sources += rebase_path(gypi_values.chrome_browser_extensions_sources, | 307 sources += rebase_path(gypi_values.chrome_browser_extensions_sources, |
| 297 ".", "//chrome") | 308 ".", |
| 309 "//chrome") |
| 298 } | 310 } |
| 299 if (enable_background) { | 311 if (enable_background) { |
| 300 sources += rebase_path(gypi_values.chrome_browser_background_sources, | 312 sources += rebase_path(gypi_values.chrome_browser_background_sources, |
| 301 ".", "//chrome") | 313 ".", |
| 314 "//chrome") |
| 302 if (!use_aura || is_win || is_chromeos) { | 315 if (!use_aura || is_win || is_chromeos) { |
| 303 sources -= [ "background/background_mode_manager_aura.cc" ] | 316 sources -= [ "background/background_mode_manager_aura.cc" ] |
| 304 } | 317 } |
| 305 defines += [ "ENABLE_BACKGROUND=1" ] | 318 defines += [ "ENABLE_BACKGROUND=1" ] |
| 306 } | 319 } |
| 307 if (enable_task_manager) { | 320 if (enable_task_manager) { |
| 308 sources += rebase_path(gypi_values.chrome_browser_task_manager_sources, | 321 sources += rebase_path(gypi_values.chrome_browser_task_manager_sources, |
| 309 ".", "//chrome") | 322 ".", |
| 323 "//chrome") |
| 310 } | 324 } |
| 311 if (enable_spellcheck) { | 325 if (enable_spellcheck) { |
| 312 sources += rebase_path(gypi_values.chrome_browser_spellchecker_sources, | 326 sources += rebase_path(gypi_values.chrome_browser_spellchecker_sources, |
| 313 ".", "//chrome") | 327 ".", |
| 328 "//chrome") |
| 314 deps += [ "//third_party/hunspell" ] | 329 deps += [ "//third_party/hunspell" ] |
| 315 } | 330 } |
| 316 if (enable_nacl) { | 331 if (enable_nacl) { |
| 317 sources += rebase_path(gypi_values.chrome_browser_nacl_sources, | 332 sources += |
| 318 ".", "//chrome") | 333 rebase_path(gypi_values.chrome_browser_nacl_sources, ".", "//chrome") |
| 319 #deps += [ "//components/nacl:nacl_browser" ] TODO(GYP) | 334 #deps += [ "//components/nacl:nacl_browser" ] TODO(GYP) |
| 320 } | 335 } |
| 321 | 336 |
| 322 if (enable_configuration_policy) { | 337 if (enable_configuration_policy) { |
| 323 sources += rebase_path( | 338 sources += |
| 324 gypi_values.chrome_browser_policy_shared_with_ios_sources, | 339 rebase_path(gypi_values.chrome_browser_policy_shared_with_ios_sources, |
| 325 ".", "//chrome") | 340 ".", |
| 341 "//chrome") |
| 326 deps += [ | 342 deps += [ |
| 327 "//components/policy", | 343 "//components/policy", |
| 328 "//components/policy/proto", | 344 "//components/policy/proto", |
| 329 ] | 345 ] |
| 330 if (!is_ios) { | 346 if (!is_ios) { |
| 331 sources += rebase_path( | 347 sources += rebase_path(gypi_values.chrome_browser_policy_non_ios_sources, |
| 332 gypi_values.chrome_browser_policy_non_ios_sources, | 348 ".", |
| 333 ".", "//chrome") | 349 "//chrome") |
| 334 } | 350 } |
| 335 if (!is_chromeos) { | 351 if (!is_chromeos) { |
| 336 sources += rebase_path( | 352 sources += rebase_path( |
| 337 gypi_values.chrome_browser_policy_shared_with_ios_not_chromeos_sources
, | 353 gypi_values.chrome_browser_policy_shared_with_ios_not_chromeos_sou
rces, |
| 338 ".", "//chrome") | 354 ".", |
| 355 "//chrome") |
| 339 } | 356 } |
| 340 if (is_win || is_mac || is_desktop_linux) { | 357 if (is_win || is_mac || is_desktop_linux) { |
| 341 sources += rebase_path(gypi_values.chrome_browser_policy_desktop_sources, | 358 sources += rebase_path(gypi_values.chrome_browser_policy_desktop_sources, |
| 342 ".", "//chrome") | 359 ".", |
| 360 "//chrome") |
| 343 } | 361 } |
| 344 if (is_android || is_ios) { | 362 if (is_android || is_ios) { |
| 345 sources += rebase_path(gypi_values.chrome_browser_policy_mobile_sources, | 363 sources += rebase_path(gypi_values.chrome_browser_policy_mobile_sources, |
| 346 ".", "//chrome") | 364 ".", |
| 365 "//chrome") |
| 347 } else { | 366 } else { |
| 348 deps += [ | 367 deps += [ "//chrome/browser/policy:path_parser" ] |
| 349 "//chrome/browser/policy:path_parser", | |
| 350 ] | |
| 351 } | 368 } |
| 352 } else { | 369 } else { |
| 353 # Configuration policy disabled. | 370 # Configuration policy disabled. |
| 354 sources += rebase_path(gypi_values.chrome_browser_policy_disabled_sources, | 371 sources += rebase_path(gypi_values.chrome_browser_policy_disabled_sources, |
| 355 ".", "//chrome") | 372 ".", |
| 373 "//chrome") |
| 356 } | 374 } |
| 357 | 375 |
| 358 if (enable_plugins) { | 376 if (enable_plugins) { |
| 359 sources += rebase_path(gypi_values.chrome_browser_plugins_sources, | 377 sources += |
| 360 ".", "//chrome") | 378 rebase_path(gypi_values.chrome_browser_plugins_sources, ".", "//chrome") |
| 361 deps += [ | 379 deps += [ |
| 362 "//components/pdf/browser", | 380 "//components/pdf/browser", |
| 363 "//ppapi:ppapi_ipc", | 381 "//ppapi:ppapi_ipc", |
| 364 "//third_party/adobe/flash:flapper_version_h", | 382 "//third_party/adobe/flash:flapper_version_h", |
| 365 ] | 383 ] |
| 366 } | 384 } |
| 367 if (safe_browsing_mode != 0) { | 385 if (safe_browsing_mode != 0) { |
| 368 sources += rebase_path( | 386 sources += |
| 369 gypi_values.chrome_browser_basic_safe_browsing_sources, | 387 rebase_path(gypi_values.chrome_browser_basic_safe_browsing_sources, |
| 370 ".", "//chrome") | 388 ".", |
| 389 "//chrome") |
| 371 deps += [ | 390 deps += [ |
| 372 "//chrome/browser/safe_browsing:chunk_proto", | 391 "//chrome/browser/safe_browsing:chunk_proto", |
| 373 "//chrome/browser/safe_browsing:metadata_proto", | 392 "//chrome/browser/safe_browsing:metadata_proto", |
| 374 "//chrome/browser/safe_browsing:report_proto", | 393 "//chrome/browser/safe_browsing:report_proto", |
| 375 ] | 394 ] |
| 376 if (safe_browsing_mode == 1) { | 395 if (safe_browsing_mode == 1) { |
| 377 sources += rebase_path( | 396 sources += |
| 378 gypi_values.chrome_browser_full_safe_browsing_sources, | 397 rebase_path(gypi_values.chrome_browser_full_safe_browsing_sources, |
| 379 ".", "//chrome") | 398 ".", |
| 399 "//chrome") |
| 380 defines += [ "FULL_SAFE_BROWSING" ] | 400 defines += [ "FULL_SAFE_BROWSING" ] |
| 381 deps += [ | 401 deps += [ "//chrome/common/safe_browsing:proto" ] |
| 382 "//chrome/common/safe_browsing:proto", | |
| 383 ] | |
| 384 } else if (safe_browsing_mode == 2) { | 402 } else if (safe_browsing_mode == 2) { |
| 385 defines += [ "MOBILE_SAFE_BROWSING" ] | 403 defines += [ "MOBILE_SAFE_BROWSING" ] |
| 386 } | 404 } |
| 387 } | 405 } |
| 388 | 406 |
| 389 if (is_linux) { | 407 if (is_linux) { |
| 390 deps += [ | 408 deps += [ |
| 391 "//device/media_transfer_protocol", | 409 "//device/media_transfer_protocol", |
| 392 "//device/udev_linux" | 410 "//device/udev_linux", |
| 393 ] | 411 ] |
| 394 } | 412 } |
| 395 if (is_linux && !is_chromeos) { | 413 if (is_linux && !is_chromeos) { |
| 396 deps += [ "//third_party/speech-dispatcher" ] | 414 deps += [ "//third_party/speech-dispatcher" ] |
| 397 } | 415 } |
| 398 | 416 |
| 399 if (is_chromeos) { | 417 if (is_chromeos) { |
| 400 sources += rebase_path(gypi_values.chrome_browser_chromeos_sources, | 418 sources += rebase_path(gypi_values.chrome_browser_chromeos_sources, |
| 401 ".", "//chrome") | 419 ".", |
| 402 deps += [ | 420 "//chrome") |
| 403 "//chrome/browser/chromeos", | 421 deps += [ "//chrome/browser/chromeos" ] |
| 404 ] | |
| 405 } else { | 422 } else { |
| 406 # Non-ChromeOS. | 423 # Non-ChromeOS. |
| 407 sources += rebase_path(gypi_values.chrome_browser_non_chromeos_sources, | 424 sources += rebase_path(gypi_values.chrome_browser_non_chromeos_sources, |
| 408 ".", "//chrome") | 425 ".", |
| 426 "//chrome") |
| 409 } | 427 } |
| 410 | 428 |
| 411 if (is_chromeos || is_ios) { | 429 if (is_chromeos || is_ios) { |
| 412 sources -= [ | 430 sources -= [ |
| 413 "metrics/signin_status_metrics_provider.cc", | 431 "metrics/signin_status_metrics_provider.cc", |
| 414 "metrics/signin_status_metrics_provider.h", | 432 "metrics/signin_status_metrics_provider.h", |
| 415 ] | 433 ] |
| 416 } | 434 } |
| 417 | 435 |
| 418 if (use_cups) { | 436 if (use_cups) { |
| 419 configs += [ "//printing:cups" ] | 437 configs += [ "//printing:cups" ] |
| 420 } | 438 } |
| 421 if (is_desktop_linux) { | 439 if (is_desktop_linux) { |
| 422 sources += rebase_path(gypi_values.chrome_browser_gnome_keyring_sources, | 440 sources += rebase_path(gypi_values.chrome_browser_gnome_keyring_sources, |
| 423 ".", "//chrome") | 441 ".", |
| 442 "//chrome") |
| 424 configs += [ ":gnome_keyring" ] | 443 configs += [ ":gnome_keyring" ] |
| 425 } | 444 } |
| 426 if (use_aura) { | 445 if (use_aura) { |
| 427 sources += rebase_path(gypi_values.chrome_browser_aura_sources, | 446 sources += |
| 428 ".", "//chrome") | 447 rebase_path(gypi_values.chrome_browser_aura_sources, ".", "//chrome") |
| 429 deps += [ | 448 deps += [ |
| 430 "//ui/aura", | 449 "//ui/aura", |
| 431 "//ui/compositor", | 450 "//ui/compositor", |
| 432 "//ui/keyboard", | 451 "//ui/keyboard", |
| 433 ] | 452 ] |
| 434 } | 453 } |
| 435 if (ui_compositor_image_transport) { | 454 if (ui_compositor_image_transport) { |
| 436 deps += [ "//ui/gl" ] | 455 deps += [ "//ui/gl" ] |
| 437 } | 456 } |
| 438 | 457 |
| 439 if (use_ash) { | 458 if (use_ash) { |
| 440 sources += rebase_path(gypi_values.chrome_browser_ash_sources, | 459 sources += |
| 441 ".", "//chrome") | 460 rebase_path(gypi_values.chrome_browser_ash_sources, ".", "//chrome") |
| 442 } | 461 } |
| 443 | 462 |
| 444 if (use_x11) { | 463 if (use_x11) { |
| 445 sources += rebase_path(gypi_values.chrome_browser_x11_sources, | 464 sources += |
| 446 ".", "//chrome") | 465 rebase_path(gypi_values.chrome_browser_x11_sources, ".", "//chrome") |
| 447 if (!is_chromeos) { | 466 if (!is_chromeos) { |
| 448 configs += [ "//build/config/linux:xscrnsaver" ] | 467 configs += [ "//build/config/linux:xscrnsaver" ] |
| 449 } | 468 } |
| 450 } | 469 } |
| 451 if (is_posix && !is_mac && !is_ios) { | 470 if (is_posix && !is_mac && !is_ios) { |
| 452 sources += [ | 471 sources += [ |
| 453 "//chrome/app/chrome_crash_reporter_client.cc", | 472 "//chrome/app/chrome_crash_reporter_client.cc", |
| 454 "//chrome/app/chrome_crash_reporter_client.h", | 473 "//chrome/app/chrome_crash_reporter_client.h", |
| 455 ] | 474 ] |
| 456 deps += [ | 475 deps += [ |
| 457 "//components/crash/app", | 476 "//components/crash/app", |
| 458 "//components/crash/browser", | 477 "//components/crash/browser", |
| 459 ] | 478 ] |
| 460 } | 479 } |
| 461 if (use_nss_certs) { | 480 if (use_nss_certs) { |
| 462 sources += rebase_path(gypi_values.chrome_browser_nss_sources, | 481 sources += |
| 463 ".", "//chrome") | 482 rebase_path(gypi_values.chrome_browser_nss_sources, ".", "//chrome") |
| 464 if (is_chromeos) { | 483 if (is_chromeos) { |
| 465 sources -= [ "net/nss_context_linux.cc" ] | 484 sources -= [ "net/nss_context_linux.cc" ] |
| 466 } | 485 } |
| 467 } | 486 } |
| 468 if (enable_notifications) { | 487 if (enable_notifications) { |
| 469 sources += rebase_path(gypi_values.chrome_browser_notifications_sources, | 488 sources += rebase_path(gypi_values.chrome_browser_notifications_sources, |
| 470 ".", "//chrome") | 489 ".", |
| 490 "//chrome") |
| 471 if (!is_android) { | 491 if (!is_android) { |
| 472 sources += rebase_path( | 492 sources += rebase_path( |
| 473 gypi_values.chrome_browser_non_android_notifications_sources, | 493 gypi_values.chrome_browser_non_android_notifications_sources, |
| 474 ".", "//chrome") | 494 ".", |
| 495 "//chrome") |
| 475 } | 496 } |
| 476 } | 497 } |
| 477 if (enable_themes) { | 498 if (enable_themes) { |
| 478 sources += rebase_path(gypi_values.chrome_browser_themes_sources, | 499 sources += |
| 479 ".", "//chrome") | 500 rebase_path(gypi_values.chrome_browser_themes_sources, ".", "//chrome") |
| 480 } | 501 } |
| 481 | 502 |
| 482 if (enable_basic_printing || enable_print_preview) { | 503 if (enable_basic_printing || enable_print_preview) { |
| 483 # Some form of printing support. | 504 # Some form of printing support. |
| 484 sources += rebase_path(gypi_values.chrome_browser_basic_printing_sources, | 505 sources += rebase_path(gypi_values.chrome_browser_basic_printing_sources, |
| 485 ".", "//chrome") | 506 ".", |
| 486 deps += [ | 507 "//chrome") |
| 487 "//printing", | 508 deps += [ "//printing" ] |
| 488 ] | |
| 489 if (is_win) { | 509 if (is_win) { |
| 490 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources, | 510 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources, |
| 491 ".", "//chrome") | 511 ".", |
| 512 "//chrome") |
| 492 } | 513 } |
| 493 if (enable_print_preview) { | 514 if (enable_print_preview) { |
| 494 # Full printing on top of the above. | 515 # Full printing on top of the above. |
| 495 sources += rebase_path(gypi_values.chrome_browser_full_printing_sources, | 516 sources += rebase_path(gypi_values.chrome_browser_full_printing_sources, |
| 496 ".", "//chrome") | 517 ".", |
| 518 "//chrome") |
| 497 } else { | 519 } else { |
| 498 # Partial-only printing support. | 520 # Partial-only printing support. |
| 499 sources += rebase_path( | 521 sources += |
| 500 gypi_values.chrome_browser_basic_only_printing_sources, | 522 rebase_path(gypi_values.chrome_browser_basic_only_printing_sources, |
| 501 ".", "//chrome") | 523 ".", |
| 524 "//chrome") |
| 502 } | 525 } |
| 503 } | 526 } |
| 504 if (enable_captive_portal_detection) { | 527 if (enable_captive_portal_detection) { |
| 505 sources += rebase_path(gypi_values.chrome_browser_captive_portal_sources, | 528 sources += rebase_path(gypi_values.chrome_browser_captive_portal_sources, |
| 506 ".", "//chrome") | 529 ".", |
| 530 "//chrome") |
| 507 } | 531 } |
| 508 if (enable_session_service) { | 532 if (enable_session_service) { |
| 509 sources += rebase_path(gypi_values.chrome_browser_session_service_sources, | 533 sources += rebase_path(gypi_values.chrome_browser_session_service_sources, |
| 510 ".", "//chrome") | 534 ".", |
| 535 "//chrome") |
| 511 } | 536 } |
| 512 | 537 |
| 513 if (!is_android && !is_ios && !is_chromeos) { | 538 if (!is_android && !is_ios && !is_chromeos) { |
| 514 sources += rebase_path(gypi_values.chrome_browser_desktop_sources, | 539 sources += |
| 515 ".", "//chrome") | 540 rebase_path(gypi_values.chrome_browser_desktop_sources, ".", "//chrome") |
| 516 } | 541 } |
| 517 | 542 |
| 518 if (is_android || is_ios) { | 543 if (is_android || is_ios) { |
| 519 # Mobile. | 544 # Mobile. |
| 520 sources += rebase_path(gypi_values.chrome_browser_mobile_sources, | 545 sources += |
| 521 ".", "//chrome") | 546 rebase_path(gypi_values.chrome_browser_mobile_sources, ".", "//chrome") |
| 522 } else { | 547 } else { |
| 523 # Non-mobile. | 548 # Non-mobile. |
| 524 sources += rebase_path(gypi_values.chrome_browser_non_mobile_sources, | 549 sources += rebase_path(gypi_values.chrome_browser_non_mobile_sources, |
| 525 ".", "//chrome") | 550 ".", |
| 551 "//chrome") |
| 526 deps += [ | 552 deps += [ |
| 527 "//device/core", | 553 "//device/core", |
| 528 "//device/usb", | 554 "//device/usb", |
| 529 ] | 555 ] |
| 530 } | 556 } |
| 531 | 557 |
| 532 if (is_android) { | 558 if (is_android) { |
| 533 sources += rebase_path(gypi_values.chrome_browser_android_sources, | 559 sources += |
| 534 ".", "//chrome") | 560 rebase_path(gypi_values.chrome_browser_android_sources, ".", "//chrome") |
| 535 deps += [ | 561 deps += [ |
| 536 ":jni_headers", | 562 ":jni_headers", |
| 537 "//components/cdm/browser", | 563 "//components/cdm/browser", |
| 538 "//components/enhanced_bookmarks", | 564 "//components/enhanced_bookmarks", |
| 539 "//components/history/core/android", | 565 "//components/history/core/android", |
| 540 "//components/resources:components_resources", | 566 "//components/resources:components_resources", |
| 541 "//components/web_contents_delegate_android", | 567 "//components/web_contents_delegate_android", |
| 542 "//third_party/android_opengl/etc1", | 568 "//third_party/android_opengl/etc1", |
| 543 ] | 569 ] |
| 544 deps -= [ | 570 deps -= [ |
| 545 "//third_party/libaddressinput", | 571 "//third_party/libaddressinput", |
| 546 "//components/feedback", | 572 "//components/feedback", |
| 547 "//components/storage_monitor", | 573 "//components/storage_monitor", |
| 548 "//components/web_modal", | 574 "//components/web_modal", |
| 549 ] | 575 ] |
| 550 } else { | 576 } else { |
| 551 sources += rebase_path(gypi_values.chrome_browser_non_android_sources, | 577 sources += rebase_path(gypi_values.chrome_browser_non_android_sources, |
| 552 ".", "//chrome") | 578 ".", |
| 579 "//chrome") |
| 553 } | 580 } |
| 554 | 581 |
| 555 if (is_mac) { | 582 if (is_mac) { |
| 556 deps += [ | 583 deps += [ |
| 557 "//third_party/google_toolbox_for_mac", | 584 "//third_party/google_toolbox_for_mac", |
| 558 #"../third_party/mozilla/mozilla.gyp:mozilla", TODO(GYP) | 585 #"../third_party/mozilla/mozilla.gyp:mozilla", TODO(GYP) |
| 559 ] | 586 ] |
| 560 libs += [ | 587 libs += [ |
| 561 "Accelerate.framework", | 588 "Accelerate.framework", |
| 562 "AddressBook.framework", | 589 "AddressBook.framework", |
| 563 "AudioUnit.framework", | 590 "AudioUnit.framework", |
| 564 "DiskArbitration.framework", | 591 "DiskArbitration.framework", |
| 565 "IOKit.framework", | 592 "IOKit.framework", |
| 566 "ImageCaptureCore.framework", | 593 "ImageCaptureCore.framework", |
| 567 "OpenGL.framework", | 594 "OpenGL.framework", |
| 568 "QuartzCore.framework", | 595 "QuartzCore.framework", |
| 569 "SecurityInterface.framework", | 596 "SecurityInterface.framework", |
| 570 ] | 597 ] |
| 571 } | 598 } |
| 572 | 599 |
| 573 if (enable_rlz) { | 600 if (enable_rlz) { |
| 574 sources += rebase_path(gypi_values.chrome_browser_rlz_sources, | 601 sources += |
| 575 ".", "//chrome") | 602 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") |
| 576 deps += [ "//rlz:rlz_lib" ] | 603 deps += [ "//rlz:rlz_lib" ] |
| 577 } | 604 } |
| 578 | 605 |
| 579 # TODO(GYP) | 606 # TODO(GYP) |
| 580 # Temporary fix to break the browser target into smaller chunks so it | 607 # Temporary fix to break the browser target into smaller chunks so it |
| 581 # will link with goma builds. | 608 # will link with goma builds. |
| 582 #["OS=="win" and chromium_win_pch==0", { | 609 #["OS=="win" and chromium_win_pch==0", { |
| 583 # "msvs_shard": 4, | 610 # "msvs_shard": 4, |
| 584 #}], | 611 #}], |
| 585 | 612 |
| 586 if (is_win) { | 613 if (is_win) { |
| 587 sources += rebase_path(gypi_values.chrome_browser_win_sources, | 614 sources += |
| 588 ".", "//chrome") | 615 rebase_path(gypi_values.chrome_browser_win_sources, ".", "//chrome") |
| 589 if (!is_chrome_branded) { | 616 if (!is_chrome_branded) { |
| 590 sources -= [ | 617 sources -= [ |
| 591 "google/did_run_updater_win.cc", | 618 "google/did_run_updater_win.cc", |
| 592 "google/did_run_updater_win.h", | 619 "google/did_run_updater_win.h", |
| 593 ] | 620 ] |
| 594 } | 621 } |
| 595 public_deps += [ | 622 public_deps += [ |
| 596 "//ui/views", | 623 "//ui/views", |
| 597 "//ui/views/controls/webview", | 624 "//ui/views/controls/webview", |
| 598 ] | 625 ] |
| 599 deps += [ | 626 deps += [ |
| 600 "//chrome:version_header", | 627 "//chrome:version_header", |
| 601 "//chrome/installer/util:strings", | 628 "//chrome/installer/util:strings", |
| 602 "//third_party/iaccessible2", | 629 "//third_party/iaccessible2", |
| 603 "//third_party/isimpledom", | 630 "//third_party/isimpledom", |
| 604 "//third_party/wtl", | 631 "//third_party/wtl", |
| 632 |
| 605 #"chrome_process_finder", TODO(GYP) | 633 #"chrome_process_finder", TODO(GYP) |
| 606 #"../chrome_elf/chrome_elf.gyp:chrome_elf", TODO(GYP) | 634 #"../chrome_elf/chrome_elf.gyp:chrome_elf", TODO(GYP) |
| 607 #"../chrome_elf/chrome_elf.gyp:chrome_elf_constants", TODO(GYP) | 635 #"../chrome_elf/chrome_elf.gyp:chrome_elf_constants", TODO(GYP) |
| 608 #"../chrome_elf/chrome_elf.gyp:dll_hash", TODO(GYP) | 636 #"../chrome_elf/chrome_elf.gyp:dll_hash", TODO(GYP) |
| 609 #"../google_update/google_update.gyp:google_update", TODO(GYP) | 637 #"../google_update/google_update.gyp:google_update", TODO(GYP) |
| 610 #"../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages", TODO(GYP) | 638 #"../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages", TODO(GYP) |
| 611 #"../win8/win8.gyp:metro_viewer", TODO(GYP) | 639 #"../win8/win8.gyp:metro_viewer", TODO(GYP) |
| 612 ] | 640 ] |
| 613 } else { | 641 } else { |
| 614 # Non-Windows. | 642 # Non-Windows. |
| 615 sources += rebase_path(gypi_values.chrome_browser_non_win_sources, | 643 sources += |
| 616 ".", "//chrome") | 644 rebase_path(gypi_values.chrome_browser_non_win_sources, ".", "//chrome") |
| 617 if (toolkit_views) { | 645 if (toolkit_views) { |
| 618 deps += [ | 646 deps += [ |
| 619 "//ui/views", | 647 "//ui/views", |
| 620 "//ui/views/controls/webview", | 648 "//ui/views/controls/webview", |
| 621 ] | 649 ] |
| 622 # TODO(GYP) why is this needed? Very susicious. | 650 # TODO(GYP) why is this needed? Very susicious. |
| 623 # "include_dirs": [ | 651 # "include_dirs": [ |
| 624 # "<(INTERMEDIATE_DIR)/chrome", | 652 # "<(INTERMEDIATE_DIR)/chrome", |
| 625 # ], | 653 # ], |
| 626 } | 654 } |
| 627 } | 655 } |
| 628 | 656 |
| 629 if (is_linux) { | 657 if (is_linux) { |
| 630 sources += rebase_path(gypi_values.chrome_browser_linux_sources, | 658 sources += |
| 631 ".", "//chrome") | 659 rebase_path(gypi_values.chrome_browser_linux_sources, ".", "//chrome") |
| 632 if (use_aura) { | 660 if (use_aura) { |
| 633 configs += [ | 661 configs += [ |
| 634 "//build/config/linux:dbus", | 662 "//build/config/linux:dbus", |
| 635 "//build/config/linux:fontconfig", | 663 "//build/config/linux:fontconfig", |
| 636 ] | 664 ] |
| 637 deps += [ | 665 deps += [ "//dbus" ] |
| 638 "//dbus", | |
| 639 ] | |
| 640 } | 666 } |
| 641 if (use_x11) { | 667 if (use_x11) { |
| 642 configs += [ "//build/config/linux:x11" ] | 668 configs += [ "//build/config/linux:x11" ] |
| 643 deps += [ "//ui/gfx/x" ] | 669 deps += [ "//ui/gfx/x" ] |
| 644 } | 670 } |
| 645 } | 671 } |
| 646 | 672 |
| 647 if (is_desktop_linux) { | 673 if (is_desktop_linux) { |
| 648 sources += rebase_path(gypi_values.chrome_browser_desktop_linux_sources, | 674 sources += rebase_path(gypi_values.chrome_browser_desktop_linux_sources, |
| 649 ".", "//chrome") | 675 ".", |
| 676 "//chrome") |
| 650 } | 677 } |
| 651 if (enable_plugin_installation) { | 678 if (enable_plugin_installation) { |
| 652 sources += rebase_path( | 679 sources += |
| 653 gypi_values.chrome_browser_plugin_installation_sources, | 680 rebase_path(gypi_values.chrome_browser_plugin_installation_sources, |
| 654 ".", "//chrome") | 681 ".", |
| 682 "//chrome") |
| 655 } | 683 } |
| 656 if (enable_app_list) { | 684 if (enable_app_list) { |
| 657 deps += [ | 685 deps += [ "//ui/app_list" ] |
| 658 "//ui/app_list", | |
| 659 ] | |
| 660 } | 686 } |
| 661 if (enable_supervised_users) { | 687 if (enable_supervised_users) { |
| 662 sources += rebase_path( | 688 sources += rebase_path(gypi_values.chrome_browser_supervised_user_sources, |
| 663 gypi_values.chrome_browser_supervised_user_sources, | 689 ".", |
| 664 ".", "//chrome") | 690 "//chrome") |
| 665 } | 691 } |
| 666 if (enable_supervised_users && enable_themes) { | 692 if (enable_supervised_users && enable_themes) { |
| 667 sources += rebase_path( | 693 sources += rebase_path( |
| 668 gypi_values.chrome_browser_supervised_user_and_themes_sources, | 694 gypi_values.chrome_browser_supervised_user_and_themes_sources, |
| 669 ".", "//chrome") | 695 ".", |
| 696 "//chrome") |
| 670 } | 697 } |
| 671 if (enable_webrtc) { | 698 if (enable_webrtc) { |
| 672 sources += rebase_path( | 699 sources += |
| 673 gypi_values.chrome_browser_webrtc_sources, | 700 rebase_path(gypi_values.chrome_browser_webrtc_sources, ".", "//chrome") |
| 674 ".", "//chrome") | |
| 675 } | 701 } |
| 676 if (enable_service_discovery) { | 702 if (enable_service_discovery) { |
| 677 sources += rebase_path( | 703 sources += rebase_path(gypi_values.chrome_browser_service_discovery_sources, |
| 678 gypi_values.chrome_browser_service_discovery_sources, | 704 ".", |
| 679 ".", "//chrome") | 705 "//chrome") |
| 680 } | 706 } |
| 681 if (enable_mdns) { | 707 if (enable_mdns) { |
| 682 sources += rebase_path( | 708 sources += |
| 683 gypi_values.chrome_browser_mdns_sources, | 709 rebase_path(gypi_values.chrome_browser_mdns_sources, ".", "//chrome") |
| 684 ".", "//chrome") | |
| 685 } | 710 } |
| 686 if (!enable_autofill_dialog || is_android || is_ios) { | 711 if (!enable_autofill_dialog || is_android || is_ios) { |
| 687 sources -= [ | 712 sources -= [ |
| 688 "autofill/validation_rules_storage_factory.cc", | 713 "autofill/validation_rules_storage_factory.cc", |
| 689 "autofill/validation_rules_storage_factory.h", | 714 "autofill/validation_rules_storage_factory.h", |
| 690 ] | 715 ] |
| 691 } | 716 } |
| 692 if (enable_wifi_bootstrapping) { | 717 if (enable_wifi_bootstrapping) { |
| 693 sources += rebase_path( | 718 sources += |
| 694 gypi_values.chrome_browser_wifi_bootstrapping_sources, | 719 rebase_path(gypi_values.chrome_browser_wifi_bootstrapping_sources, |
| 695 ".", "//chrome") | 720 ".", |
| 721 "//chrome") |
| 696 if (is_win || is_mac) { | 722 if (is_win || is_mac) { |
| 697 # TODO(brettw) as of this writing wifi bootstrapping is set on Windows | 723 # TODO(brettw) as of this writing wifi bootstrapping is set on Windows |
| 698 # and Mac, so this test is meaningless. Can we merge these lists? | 724 # and Mac, so this test is meaningless. Can we merge these lists? |
| 699 sources += rebase_path( | 725 sources += rebase_path( |
| 700 gypi_values.chrome_browser_win_mac_wifi_bootstrapping_sources, | 726 gypi_values.chrome_browser_win_mac_wifi_bootstrapping_sources, |
| 701 ".", "//chrome") | 727 ".", |
| 728 "//chrome") |
| 702 } | 729 } |
| 703 } | 730 } |
| 704 } | 731 } |
| 705 | 732 |
| 706 if (is_android) { | 733 if (is_android) { |
| 707 # GYP version: chrome/chrome_browser.gypi:chrome_browser_jni_headers | 734 # GYP version: chrome/chrome_browser.gypi:chrome_browser_jni_headers |
| 708 generate_jni("jni_headers") { | 735 generate_jni("jni_headers") { |
| 709 sources = rebase_path( | 736 sources = |
| 710 gypi_values.chrome_browser_jni_sources, ".", "//chrome") | 737 rebase_path(gypi_values.chrome_browser_jni_sources, ".", "//chrome") |
| 711 jni_package = "chrome" | 738 jni_package = "chrome" |
| 712 } | 739 } |
| 713 } | 740 } |
| 714 | 741 |
| 715 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 742 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
| 716 # (generate_browser_resources action) | 743 # (generate_browser_resources action) |
| 717 grit("resources") { | 744 grit("resources") { |
| 718 source = "browser_resources.grd" | 745 source = "browser_resources.grd" |
| 719 output_dir = "$root_gen_dir/chrome" | 746 output_dir = "$root_gen_dir/chrome" |
| 720 outputs = [ | 747 outputs = [ |
| 721 "grit/browser_resources.h", | 748 "grit/browser_resources.h", |
| 722 "browser_resources.pak", | 749 "browser_resources.pak", |
| 723 ] | 750 ] |
| 724 | 751 |
| 725 omnibox_mojom_file = "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mo
jom.js" | 752 omnibox_mojom_file = |
| 753 "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mojom.js" |
| 726 | 754 |
| 727 grit_flags = [ | 755 grit_flags = [ |
| 728 "-E", "about_credits_file=" + | 756 "-E", |
| 729 rebase_path(about_credits_file, root_build_dir), | 757 "about_credits_file=" + rebase_path(about_credits_file, root_build_dir), |
| 730 "-E", "additional_modules_list_file=" + | 758 "-E", |
| 731 rebase_path(additional_modules_list_file, root_build_dir), | 759 "additional_modules_list_file=" + |
| 732 "-E", "omnibox_mojom_file=" + | 760 rebase_path(additional_modules_list_file, root_build_dir), |
| 733 rebase_path(omnibox_mojom_file, root_build_dir), | 761 "-E", |
| 762 "omnibox_mojom_file=" + rebase_path(omnibox_mojom_file, root_build_dir), |
| 734 ] | 763 ] |
| 735 | 764 |
| 736 deps = [ | 765 deps = [ |
| 737 ":about_credits", | 766 ":about_credits", |
| 738 ":chrome_internal_resources_gen", | 767 ":chrome_internal_resources_gen", |
| 739 "//chrome/browser/ui/webui/omnibox:mojo_bindings", | 768 "//chrome/browser/ui/webui/omnibox:mojo_bindings", |
| 740 "//mojo/environment:chromium", | 769 "//mojo/environment:chromium", |
| 741 ] | 770 ] |
| 742 } | 771 } |
| 743 | 772 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 754 args = [ | 783 args = [ |
| 755 "credits", | 784 "credits", |
| 756 rebase_path(about_credits_file, root_build_dir), | 785 rebase_path(about_credits_file, root_build_dir), |
| 757 ] | 786 ] |
| 758 } | 787 } |
| 759 | 788 |
| 760 # GYP version: chrome/chrome_resource.gyp:chrome_internal_resources_gen | 789 # GYP version: chrome/chrome_resource.gyp:chrome_internal_resources_gen |
| 761 if (is_chrome_branded) { | 790 if (is_chrome_branded) { |
| 762 action("chrome_internal_resources_gen") { | 791 action("chrome_internal_resources_gen") { |
| 763 script = "internal/transform_additional_modules_list.py" | 792 script = "internal/transform_additional_modules_list.py" |
| 764 sources = [ "internal/resources/additional_modules_list.input" ] | 793 sources = [ |
| 794 "internal/resources/additional_modules_list.input", |
| 795 ] |
| 765 outputs = [ additional_modules_list_file ] | 796 outputs = [ additional_modules_list_file ] |
| 766 args = rebase_path(sources, root_build_dir) + | 797 args = rebase_path(sources, root_build_dir) + |
| 767 rebase_path(outputs, root_build_dir) | 798 rebase_path(outputs, root_build_dir) |
| 768 } | 799 } |
| 769 } else { | 800 } else { |
| 770 group("chrome_internal_resources_gen") { | 801 group("chrome_internal_resources_gen") { |
| 771 # Empty placeholder. | 802 # Empty placeholder. |
| 772 } | 803 } |
| 773 } | 804 } |
| 774 | 805 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 "//components/sessions:test_support", | 906 "//components/sessions:test_support", |
| 876 "//google_apis:test_support", | 907 "//google_apis:test_support", |
| 877 ] | 908 ] |
| 878 } | 909 } |
| 879 | 910 |
| 880 if (enable_extensions) { | 911 if (enable_extensions) { |
| 881 sources += [ | 912 sources += [ |
| 882 "extensions/extension_action_test_util.cc", | 913 "extensions/extension_action_test_util.cc", |
| 883 "extensions/extension_action_test_util.h", | 914 "extensions/extension_action_test_util.h", |
| 884 ] | 915 ] |
| 885 deps += [ | 916 deps += [ "//extensions:test_support" ] |
| 886 "//extensions:test_support", | |
| 887 ] | |
| 888 } | 917 } |
| 889 | 918 |
| 890 if (is_chromeos) { | 919 if (is_chromeos) { |
| 891 sources += [ | 920 sources += [ |
| 892 "chromeos/app_mode/fake_cws.cc", | 921 "chromeos/app_mode/fake_cws.cc", |
| 893 "chromeos/app_mode/fake_cws.h", | 922 "chromeos/app_mode/fake_cws.h", |
| 894 "chromeos/file_manager/fake_disk_mount_manager.cc", | 923 "chromeos/file_manager/fake_disk_mount_manager.cc", |
| 895 "chromeos/file_manager/fake_disk_mount_manager.h", | 924 "chromeos/file_manager/fake_disk_mount_manager.h", |
| 896 "chromeos/input_method/mock_candidate_window_controller.cc", | 925 "chromeos/input_method/mock_candidate_window_controller.cc", |
| 897 "chromeos/input_method/mock_candidate_window_controller.h", | 926 "chromeos/input_method/mock_candidate_window_controller.h", |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 978 "extensions/test_extension_environment.h", | 1007 "extensions/test_extension_environment.h", |
| 979 "extensions/test_extension_prefs.cc", | 1008 "extensions/test_extension_prefs.cc", |
| 980 "extensions/test_extension_prefs.h", | 1009 "extensions/test_extension_prefs.h", |
| 981 "extensions/test_extension_service.cc", | 1010 "extensions/test_extension_service.cc", |
| 982 "extensions/test_extension_service.h", | 1011 "extensions/test_extension_service.h", |
| 983 "extensions/test_extension_system.cc", | 1012 "extensions/test_extension_system.cc", |
| 984 "extensions/test_extension_system.h", | 1013 "extensions/test_extension_system.h", |
| 985 "media_galleries/media_galleries_test_util.cc", | 1014 "media_galleries/media_galleries_test_util.cc", |
| 986 "media_galleries/media_galleries_test_util.h", | 1015 "media_galleries/media_galleries_test_util.h", |
| 987 ] | 1016 ] |
| 988 deps += [ | 1017 deps += [ "//components/storage_monitor:test_support" ] |
| 989 "//components/storage_monitor:test_support", | |
| 990 ] | |
| 991 } | 1018 } |
| 992 | 1019 |
| 993 if (enable_mdns) { | 1020 if (enable_mdns) { |
| 994 sources += [ | 1021 sources += [ |
| 995 "local_discovery/test_service_discovery_client.cc", | 1022 "local_discovery/test_service_discovery_client.cc", |
| 996 "local_discovery/test_service_discovery_client.h", | 1023 "local_discovery/test_service_discovery_client.h", |
| 997 ] | 1024 ] |
| 998 } | 1025 } |
| 999 | 1026 |
| 1000 if (enable_app_list) { | 1027 if (enable_app_list) { |
| 1001 sources += [ | 1028 sources += [ |
| 1002 "ui/app_list/test/chrome_app_list_test_support.cc", | 1029 "ui/app_list/test/chrome_app_list_test_support.cc", |
| 1003 "ui/app_list/test/chrome_app_list_test_support.h", | 1030 "ui/app_list/test/chrome_app_list_test_support.h", |
| 1004 ] | 1031 ] |
| 1005 } | 1032 } |
| 1006 | 1033 |
| 1007 if (enable_wifi_bootstrapping) { | 1034 if (enable_wifi_bootstrapping) { |
| 1008 sources += [ | 1035 sources += [ |
| 1009 "local_discovery/wifi/mock_wifi_manager.cc", | 1036 "local_discovery/wifi/mock_wifi_manager.cc", |
| 1010 "local_discovery/wifi/mock_wifi_manager.h", | 1037 "local_discovery/wifi/mock_wifi_manager.h", |
| 1011 ] | 1038 ] |
| 1012 } | 1039 } |
| 1013 } | 1040 } |
| OLD | NEW |