| 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/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 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
| 9 import("//mojo/public/mojo_application_manifest.gni") | 9 import("//mojo/public/mojo_application_manifest.gni") |
| 10 | 10 |
| 11 source_set("browser") { | 11 source_set("browser") { |
| 12 # Only the public target should depend on this. All other targets (even | 12 # Only the public target should depend on this. All other targets (even |
| 13 # internal content ones) should depend on the public one. | 13 # internal content ones) should depend on the public one. |
| 14 visibility = [ "//content/public/browser:browser_sources" ] | 14 visibility = [ "//content/public/browser:browser_sources" ] |
| 15 | 15 |
| 16 configs += [ | 16 configs += [ |
| 17 "//build/config:precompiled_headers", | 17 "//build/config:precompiled_headers", |
| 18 "//content/public/common:mojo_shell_client", | 18 "//content/public/common:mojo_shell_client", |
| 19 ] | 19 ] |
| 20 defines = [] | 20 defines = [] |
| 21 libs = [] | 21 libs = [] |
| 22 ldflags = [] | 22 ldflags = [] |
| 23 | 23 |
| 24 # Shared deps. See also non-iOS deps below. | 24 # Shared deps. See also non-iOS deps below. |
| 25 deps = [ | 25 deps = [ |
| 26 ":chrome_renderer_manifest", | |
| 27 "//base", | 26 "//base", |
| 28 "//base:base_static", | 27 "//base:base_static", |
| 29 "//components/mime_util", | 28 "//components/mime_util", |
| 30 "//components/url_formatter", | 29 "//components/url_formatter", |
| 31 "//content:resources", | 30 "//content:resources", |
| 32 "//content/browser/background_sync:background_sync_proto", | 31 "//content/browser/background_sync:background_sync_proto", |
| 33 "//content/browser/cache_storage:cache_storage_proto", | 32 "//content/browser/cache_storage:cache_storage_proto", |
| 34 "//content/browser/notifications:notification_proto", | 33 "//content/browser/notifications:notification_proto", |
| 35 "//content/browser/service_worker:service_worker_proto", | 34 "//content/browser/service_worker:service_worker_proto", |
| 36 "//content/browser/speech/proto", | 35 "//content/browser/speech/proto", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 63 "//ui/events", | 62 "//ui/events", |
| 64 "//ui/events:gesture_detection", | 63 "//ui/events:gesture_detection", |
| 65 "//ui/gfx", | 64 "//ui/gfx", |
| 66 "//ui/gfx/geometry", | 65 "//ui/gfx/geometry", |
| 67 "//ui/gl", | 66 "//ui/gl", |
| 68 "//ui/native_theme", | 67 "//ui/native_theme", |
| 69 "//ui/resources", | 68 "//ui/resources", |
| 70 "//ui/snapshot", | 69 "//ui/snapshot", |
| 71 ] | 70 ] |
| 72 | 71 |
| 72 data_deps = [ |
| 73 ":chrome_renderer_manifest", |
| 74 ] |
| 75 |
| 73 if (is_ios) { | 76 if (is_ios) { |
| 74 # iOS doesn't get the normal file list and only takes these whitelisted | 77 # iOS doesn't get the normal file list and only takes these whitelisted |
| 75 # files. | 78 # files. |
| 76 sources = [ | 79 sources = [ |
| 77 "browser_context.cc", | 80 "browser_context.cc", |
| 78 "browser_main_loop.cc", | 81 "browser_main_loop.cc", |
| 79 "browser_main_runner.cc", | 82 "browser_main_runner.cc", |
| 80 "browser_process_sub_thread.cc", | 83 "browser_process_sub_thread.cc", |
| 81 "browser_thread_impl.cc", | 84 "browser_thread_impl.cc", |
| 82 "browser_url_handler_impl.cc", | 85 "browser_url_handler_impl.cc", |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 "vr/android/cardboard/cardboard_vr_device_provider.h", | 539 "vr/android/cardboard/cardboard_vr_device_provider.h", |
| 537 ] | 540 ] |
| 538 } | 541 } |
| 539 } | 542 } |
| 540 | 543 |
| 541 mojo_application_manifest("chrome_renderer_manifest") { | 544 mojo_application_manifest("chrome_renderer_manifest") { |
| 542 type = "exe" | 545 type = "exe" |
| 543 application_name = "chrome_renderer" | 546 application_name = "chrome_renderer" |
| 544 source = "mojo/chrome_renderer_manifest.json" | 547 source = "mojo/chrome_renderer_manifest.json" |
| 545 } | 548 } |
| OLD | NEW |