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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
10 import("//third_party/protobuf/proto_library.gni") | 10 import("//third_party/protobuf/proto_library.gni") |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 "//components/guest_view/browser", | 130 "//components/guest_view/browser", |
131 "//components/handoff", | 131 "//components/handoff", |
132 "//components/history/core/browser", | 132 "//components/history/core/browser", |
133 "//components/history/core/common", | 133 "//components/history/core/common", |
134 "//components/infobars/core", | 134 "//components/infobars/core", |
135 "//components/invalidation/impl", | 135 "//components/invalidation/impl", |
136 "//components/metrics:gpu", | 136 "//components/metrics:gpu", |
137 "//components/metrics:net", | 137 "//components/metrics:net", |
138 "//components/metrics:profiler", | 138 "//components/metrics:profiler", |
139 "//components/metrics:profiler_content", | 139 "//components/metrics:profiler_content", |
| 140 "//components/metrics:ui", |
140 "//components/metrics/proto:proto", | 141 "//components/metrics/proto:proto", |
141 "//components/metrics:ui", | |
142 "//components/metrics_services_manager", | 142 "//components/metrics_services_manager", |
143 "//components/mime_util", | 143 "//components/mime_util", |
144 "//components/navigation_metrics", | 144 "//components/navigation_metrics", |
145 "//components/network_time", | 145 "//components/network_time", |
146 "//components/offline_pages", | 146 "//components/offline_pages", |
147 "//components/omnibox/browser", | 147 "//components/omnibox/browser", |
148 "//components/os_crypt", | 148 "//components/os_crypt", |
149 "//components/packed_ct_ev_whitelist", | 149 "//components/packed_ct_ev_whitelist", |
150 "//components/password_manager/core/browser", | 150 "//components/password_manager/core/browser", |
151 "//components/password_manager/core/common", | 151 "//components/password_manager/core/common", |
(...skipping 19 matching lines...) Expand all Loading... |
171 "//components/translate/core/common", | 171 "//components/translate/core/common", |
172 "//components/ui/zoom", | 172 "//components/ui/zoom", |
173 "//components/undo", | 173 "//components/undo", |
174 "//components/update_client", | 174 "//components/update_client", |
175 "//components/url_formatter", | 175 "//components/url_formatter", |
176 "//components/user_prefs", | 176 "//components/user_prefs", |
177 "//components/user_prefs/tracked:user_prefs_tracked", | 177 "//components/user_prefs/tracked:user_prefs_tracked", |
178 "//components/variations", | 178 "//components/variations", |
179 "//components/variations/net", | 179 "//components/variations/net", |
180 "//components/variations/service", | 180 "//components/variations/service", |
| 181 "//components/web_resource", |
181 "//components/webdata/common", | 182 "//components/webdata/common", |
182 "//components/webdata_services", | 183 "//components/webdata_services", |
183 "//components/web_resource", | |
184 "//content/public/browser", | 184 "//content/public/browser", |
185 "//content/public/common", | 185 "//content/public/common", |
186 "//courgette:courgette_lib", | 186 "//courgette:courgette_lib", |
187 "//crypto", | 187 "//crypto", |
188 "//google_apis", | 188 "//google_apis", |
189 "//gpu/config", | 189 "//gpu/config", |
190 "//skia", | 190 "//skia", |
191 "//sql", | 191 "//sql", |
192 "//sync", | 192 "//sync", |
193 "//third_party/cacheinvalidation", | 193 "//third_party/cacheinvalidation", |
194 "//third_party/icu", | 194 "//third_party/icu", |
| 195 "//third_party/libjingle", |
195 "//third_party/libxml", | 196 "//third_party/libxml", |
196 "//third_party/libjingle", | |
197 "//third_party/widevine/cdm:version_h", | 197 "//third_party/widevine/cdm:version_h", |
198 "//third_party/zlib", | 198 "//third_party/zlib", |
199 "//third_party/zlib:minizip", | 199 "//third_party/zlib:minizip", |
200 "//third_party/zlib:zip", | 200 "//third_party/zlib:zip", |
201 "//ui/base", | 201 "//ui/base", |
202 "//ui/events:events_base", | 202 "//ui/events:events_base", |
203 "//ui/gfx", | 203 "//ui/gfx", |
204 "//ui/gfx/geometry", | 204 "//ui/gfx/geometry", |
205 "//ui/message_center", | 205 "//ui/message_center", |
| 206 "//ui/resources", |
206 "//ui/shell_dialogs", | 207 "//ui/shell_dialogs", |
207 "//ui/strings", | 208 "//ui/strings", |
208 "//ui/resources", | |
209 ] | 209 ] |
210 data_deps = [] | 210 data_deps = [] |
211 | 211 |
212 sources += | 212 sources += |
213 rebase_path(gypi_values.chrome_browser_undo_sources, ".", "//chrome") | 213 rebase_path(gypi_values.chrome_browser_undo_sources, ".", "//chrome") |
214 | 214 |
215 if (!is_ios) { | 215 if (!is_ios) { |
216 sources += | 216 sources += |
217 rebase_path(gypi_values.chrome_browser_non_ios_sources, ".", "//chrome") | 217 rebase_path(gypi_values.chrome_browser_non_ios_sources, ".", "//chrome") |
218 sources += rebase_path(gypi_values.chrome_browser_autocomplete_sources, | 218 sources += rebase_path(gypi_values.chrome_browser_autocomplete_sources, |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 # These files are only built in a GN build because they bring in | 575 # These files are only built in a GN build because they bring in |
576 # dependencies that don't build with GYP. | 576 # dependencies that don't build with GYP. |
577 sources += [ | 577 sources += [ |
578 "mojo_runner_state.cc", | 578 "mojo_runner_state.cc", |
579 "mojo_runner_state.h", | 579 "mojo_runner_state.h", |
580 "ui/views/frame/browser_frame_mus.cc", | 580 "ui/views/frame/browser_frame_mus.cc", |
581 "ui/views/frame/browser_frame_mus.h", | 581 "ui/views/frame/browser_frame_mus.h", |
582 ] | 582 ] |
583 deps += [ | 583 deps += [ |
584 "//components/mus/public/interfaces", | 584 "//components/mus/public/interfaces", |
| 585 "//mojo/converters/network", |
585 "//mojo/runner/child:lib", | 586 "//mojo/runner/child:lib", |
586 "//mojo/converters/network", | |
587 "//ui/aura", | 587 "//ui/aura", |
588 "//ui/compositor", | 588 "//ui/compositor", |
589 "//ui/keyboard", | 589 "//ui/keyboard", |
590 "//ui/keyboard:keyboard_with_content", | 590 "//ui/keyboard:keyboard_with_content", |
591 "//ui/views/mus", | 591 "//ui/views/mus", |
592 ] | 592 ] |
593 defines += [ "MOJO_RUNNER_CLIENT" ] | 593 defines += [ "MOJO_RUNNER_CLIENT" ] |
594 data_deps += [ "//components/mus/example/wm:example_wm" ] | 594 data_deps += [ "//components/mus/example/wm:example_wm" ] |
595 } | 595 } |
596 if (ui_compositor_image_transport) { | 596 if (ui_compositor_image_transport) { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 sources += | 645 sources += |
646 rebase_path(gypi_values.chrome_browser_themes_sources, ".", "//chrome") | 646 rebase_path(gypi_values.chrome_browser_themes_sources, ".", "//chrome") |
647 } | 647 } |
648 | 648 |
649 if (enable_basic_printing || enable_print_preview) { | 649 if (enable_basic_printing || enable_print_preview) { |
650 # Some form of printing support. | 650 # Some form of printing support. |
651 sources += rebase_path(gypi_values.chrome_browser_printing_basic_sources, | 651 sources += rebase_path(gypi_values.chrome_browser_printing_basic_sources, |
652 ".", | 652 ".", |
653 "//chrome") | 653 "//chrome") |
654 deps += [ | 654 deps += [ |
| 655 "//components/printing/browser", |
655 "//printing", | 656 "//printing", |
656 "//components/printing/browser", | |
657 ] | 657 ] |
658 | 658 |
659 if (is_win) { | 659 if (is_win) { |
660 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources, | 660 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources, |
661 ".", | 661 ".", |
662 "//chrome") | 662 "//chrome") |
663 } | 663 } |
664 if (enable_print_preview) { | 664 if (enable_print_preview) { |
665 # Full printing on top of the above. | 665 # Full printing on top of the above. |
666 sources += rebase_path(gypi_values.chrome_browser_printing_full_sources, | 666 sources += rebase_path(gypi_values.chrome_browser_printing_full_sources, |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 "//components/precache/core", | 733 "//components/precache/core", |
734 "//components/resources:components_resources", | 734 "//components/resources:components_resources", |
735 "//components/service_tab_launcher", | 735 "//components/service_tab_launcher", |
736 "//components/toolbar", | 736 "//components/toolbar", |
737 "//components/web_contents_delegate_android", | 737 "//components/web_contents_delegate_android", |
738 "//third_party/android_opengl/etc1", | 738 "//third_party/android_opengl/etc1", |
739 "//third_party/android_tools:cpu_features", | 739 "//third_party/android_tools:cpu_features", |
740 "//third_party/libaddressinput:util", | 740 "//third_party/libaddressinput:util", |
741 ] | 741 ] |
742 deps -= [ | 742 deps -= [ |
743 "//third_party/libaddressinput", | |
744 "//components/storage_monitor", | 743 "//components/storage_monitor", |
745 "//components/web_modal", | 744 "//components/web_modal", |
| 745 "//third_party/libaddressinput", |
746 ] | 746 ] |
747 defines += [ "ENABLE_DATA_REDUCTION_PROXY_DEBUGGING" ] | 747 defines += [ "ENABLE_DATA_REDUCTION_PROXY_DEBUGGING" ] |
748 | 748 |
749 if (use_seccomp_bpf) { | 749 if (use_seccomp_bpf) { |
750 defines += [ "USE_SECCOMP_BPF" ] | 750 defines += [ "USE_SECCOMP_BPF" ] |
751 deps += [ "//sandbox/linux:seccomp_bpf" ] | 751 deps += [ "//sandbox/linux:seccomp_bpf" ] |
752 } | 752 } |
753 } | 753 } |
754 | 754 |
755 if (is_mac) { | 755 if (is_mac) { |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1063 ] | 1063 ] |
1064 | 1064 |
1065 configs += [ "//build/config:precompiled_headers" ] | 1065 configs += [ "//build/config:precompiled_headers" ] |
1066 | 1066 |
1067 public_deps = [ | 1067 public_deps = [ |
1068 ":browser", | 1068 ":browser", |
1069 "//chrome/browser/ui:test_support", | 1069 "//chrome/browser/ui:test_support", |
1070 ] | 1070 ] |
1071 deps = [ | 1071 deps = [ |
1072 "//base:prefs_test_support", | 1072 "//base:prefs_test_support", |
| 1073 "//chrome/app/theme:theme_resources", |
1073 "//chrome/browser", | 1074 "//chrome/browser", |
1074 "//chrome/common", | 1075 "//chrome/common", |
1075 "//chrome/common/safe_browsing:proto", | 1076 "//chrome/common/safe_browsing:proto", |
1076 "//components/invalidation/impl", | 1077 "//components/invalidation/impl", |
1077 "//components/invalidation/impl:test_support", | 1078 "//components/invalidation/impl:test_support", |
1078 "//components/password_manager/core/browser:test_support", | 1079 "//components/password_manager/core/browser:test_support", |
1079 "//components/search_engines:test_support", | 1080 "//components/search_engines:test_support", |
1080 "//components/syncable_prefs:test_support", | 1081 "//components/syncable_prefs:test_support", |
1081 "//components/user_prefs/tracked:user_prefs_tracked_test_support", | 1082 "//components/user_prefs/tracked:user_prefs_tracked_test_support", |
1082 "//content/test:test_support", | 1083 "//content/test:test_support", |
1083 "//chrome/app/theme:theme_resources", | |
1084 "//net:test_support", | 1084 "//net:test_support", |
1085 "//skia", | 1085 "//skia", |
1086 "//testing/gmock", | 1086 "//testing/gmock", |
1087 "//testing/gtest", | 1087 "//testing/gtest", |
1088 "//ui/gfx", | 1088 "//ui/gfx", |
1089 ] | 1089 ] |
1090 | 1090 |
1091 if (!is_ios) { | 1091 if (!is_ios) { |
1092 deps += [ | 1092 deps += [ |
1093 "//components/sessions:test_support", | 1093 "//components/sessions:test_support", |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1265 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") | 1265 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") |
1266 deps = [ | 1266 deps = [ |
1267 "//components/google/core/browser", | 1267 "//components/google/core/browser", |
1268 "//components/omnibox/browser", | 1268 "//components/omnibox/browser", |
1269 "//components/rlz", | 1269 "//components/rlz", |
1270 "//components/search_engines", | 1270 "//components/search_engines", |
1271 "//rlz:rlz_lib", | 1271 "//rlz:rlz_lib", |
1272 ] | 1272 ] |
1273 } | 1273 } |
1274 } | 1274 } |
OLD | NEW |