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 "//base", | 26 "//base", |
27 "//base:base_static", | 27 "//base:base_static", |
| 28 "//base/third_party/dynamic_annotations", |
28 "//components/mime_util", | 29 "//components/mime_util", |
| 30 "//components/tracing", |
| 31 "//components/tracing:startup_tracing", |
29 "//components/url_formatter", | 32 "//components/url_formatter", |
30 "//content:resources", | 33 "//content:resources", |
31 "//content/browser/background_sync:background_sync_proto", | 34 "//content/browser/background_sync:background_sync_proto", |
32 "//content/browser/cache_storage:cache_storage_proto", | 35 "//content/browser/cache_storage:cache_storage_proto", |
33 "//content/browser/notifications:notification_proto", | 36 "//content/browser/notifications:notification_proto", |
34 "//content/browser/service_worker:service_worker_proto", | 37 "//content/browser/service_worker:service_worker_proto", |
35 "//content/browser/speech/proto", | 38 "//content/browser/speech/proto", |
36 "//content/gpu:gpu_sources", | 39 "//content/gpu:gpu_sources", |
37 "//content/public/common:common_sources", | 40 "//content/public/common:common_sources", |
38 "//content/public/common:mojo_bindings", | 41 "//content/public/common:mojo_bindings", |
39 "//crypto", | 42 "//crypto", |
40 "//device/battery", | 43 "//device/battery", |
41 "//device/vibration", | 44 "//device/vibration", |
42 "//google_apis", | 45 "//google_apis", |
| 46 "//gpu", |
| 47 "//gpu/command_buffer/client:gles2_implementation", |
| 48 "//ipc/mojo", |
| 49 "//media", |
| 50 "//media/midi", |
43 "//mojo/common", | 51 "//mojo/common", |
| 52 "//mojo/converters/network", |
44 "//mojo/public/cpp/bindings", | 53 "//mojo/public/cpp/bindings", |
45 "//mojo/shell", | 54 "//mojo/shell", |
46 "//mojo/shell/public/cpp:cpp_for_chromium", | 55 "//mojo/shell/public/cpp:cpp_for_chromium", |
47 "//mojo/shell/public/interfaces", | 56 "//mojo/shell/public/interfaces", |
48 "//mojo/shell/runner/common", | 57 "//mojo/shell/runner/common", |
49 "//mojo/shell/runner/host:lib", | 58 "//mojo/shell/runner/host:lib", |
50 "//net", | 59 "//net", |
51 "//net:extras", | 60 "//net:extras", |
52 "//skia", | 61 "//skia", |
53 "//sql", | 62 "//sql", |
54 "//third_party/WebKit/public:blink_headers", | 63 "//third_party/WebKit/public:blink_headers", |
| 64 "//third_party/angle:angle_common", |
55 "//third_party/kasko:kasko_features", | 65 "//third_party/kasko:kasko_features", |
56 "//third_party/npapi", | 66 "//third_party/npapi", |
57 "//third_party/re2", | 67 "//third_party/re2", |
| 68 "//third_party/webrtc", |
| 69 "//third_party/webrtc/base:rtc_base", |
| 70 "//third_party/webrtc/modules/desktop_capture:primitives", |
58 "//third_party/zlib", | 71 "//third_party/zlib", |
59 "//third_party/zlib:zip", | 72 "//third_party/zlib:zip", |
60 "//ui/accessibility", | 73 "//ui/accessibility", |
61 "//ui/accessibility:ax_gen", | 74 "//ui/accessibility:ax_gen", |
62 "//ui/base", | 75 "//ui/base", |
63 "//ui/base/ime", | 76 "//ui/base/ime", |
64 "//ui/events", | 77 "//ui/events", |
65 "//ui/events:gesture_detection", | 78 "//ui/events:gesture_detection", |
66 "//ui/gfx", | 79 "//ui/gfx", |
67 "//ui/gfx/geometry", | 80 "//ui/gfx/geometry", |
68 "//ui/gl", | 81 "//ui/gl", |
69 "//ui/native_theme", | 82 "//ui/native_theme", |
70 "//ui/resources", | 83 "//ui/resources", |
| 84 "//ui/shell_dialogs", |
71 "//ui/snapshot", | 85 "//ui/snapshot", |
72 ] | 86 ] |
73 | 87 |
74 data_deps = [ | 88 data_deps = [ |
75 ":chrome_manifest", | 89 ":chrome_manifest", |
76 ":chrome_renderer_manifest", | 90 ":chrome_renderer_manifest", |
77 ] | 91 ] |
78 | 92 |
79 if (is_ios) { | 93 if (is_ios) { |
80 # iOS doesn't get the normal file list and only takes these whitelisted | 94 # iOS doesn't get the normal file list and only takes these whitelisted |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 type = "exe" | 563 type = "exe" |
550 application_name = "chrome" | 564 application_name = "chrome" |
551 source = "mojo/chrome_manifest.json" | 565 source = "mojo/chrome_manifest.json" |
552 } | 566 } |
553 | 567 |
554 mojo_application_manifest("chrome_renderer_manifest") { | 568 mojo_application_manifest("chrome_renderer_manifest") { |
555 type = "exe" | 569 type = "exe" |
556 application_name = "chrome_renderer" | 570 application_name = "chrome_renderer" |
557 source = "mojo/chrome_renderer_manifest.json" | 571 source = "mojo/chrome_renderer_manifest.json" |
558 } | 572 } |
OLD | NEW |