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

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

Issue 1439973004: [PoC] Reformat all BUILD.gn and *.gni files with new gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-sort-deps
Patch Set: Synchronize with new version of gn patch Created 5 years, 1 month 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
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/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
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
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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 sources += 643 sources +=
644 rebase_path(gypi_values.chrome_browser_themes_sources, ".", "//chrome") 644 rebase_path(gypi_values.chrome_browser_themes_sources, ".", "//chrome")
645 } 645 }
646 646
647 if (enable_basic_printing || enable_print_preview) { 647 if (enable_basic_printing || enable_print_preview) {
648 # Some form of printing support. 648 # Some form of printing support.
649 sources += rebase_path(gypi_values.chrome_browser_printing_basic_sources, 649 sources += rebase_path(gypi_values.chrome_browser_printing_basic_sources,
650 ".", 650 ".",
651 "//chrome") 651 "//chrome")
652 deps += [ 652 deps += [
653 "//components/printing/browser",
653 "//printing", 654 "//printing",
654 "//components/printing/browser",
655 ] 655 ]
656 656
657 if (is_win) { 657 if (is_win) {
658 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources, 658 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources,
659 ".", 659 ".",
660 "//chrome") 660 "//chrome")
661 } 661 }
662 if (enable_print_preview) { 662 if (enable_print_preview) {
663 # Full printing on top of the above. 663 # Full printing on top of the above.
664 sources += rebase_path(gypi_values.chrome_browser_printing_full_sources, 664 sources += rebase_path(gypi_values.chrome_browser_printing_full_sources,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 "//components/precache/core", 731 "//components/precache/core",
732 "//components/resources:components_resources", 732 "//components/resources:components_resources",
733 "//components/service_tab_launcher", 733 "//components/service_tab_launcher",
734 "//components/toolbar", 734 "//components/toolbar",
735 "//components/web_contents_delegate_android", 735 "//components/web_contents_delegate_android",
736 "//third_party/android_opengl/etc1", 736 "//third_party/android_opengl/etc1",
737 "//third_party/android_tools:cpu_features", 737 "//third_party/android_tools:cpu_features",
738 "//third_party/libaddressinput:util", 738 "//third_party/libaddressinput:util",
739 ] 739 ]
740 deps -= [ 740 deps -= [
741 "//third_party/libaddressinput",
742 "//components/storage_monitor", 741 "//components/storage_monitor",
743 "//components/web_modal", 742 "//components/web_modal",
743 "//third_party/libaddressinput",
744 ] 744 ]
745 defines += [ "ENABLE_DATA_REDUCTION_PROXY_DEBUGGING" ] 745 defines += [ "ENABLE_DATA_REDUCTION_PROXY_DEBUGGING" ]
746 746
747 if (use_seccomp_bpf) { 747 if (use_seccomp_bpf) {
748 defines += [ "USE_SECCOMP_BPF" ] 748 defines += [ "USE_SECCOMP_BPF" ]
749 deps += [ "//sandbox/linux:seccomp_bpf" ] 749 deps += [ "//sandbox/linux:seccomp_bpf" ]
750 } 750 }
751 } 751 }
752 752
753 if (is_mac) { 753 if (is_mac) {
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 ] 1061 ]
1062 1062
1063 configs += [ "//build/config:precompiled_headers" ] 1063 configs += [ "//build/config:precompiled_headers" ]
1064 1064
1065 public_deps = [ 1065 public_deps = [
1066 ":browser", 1066 ":browser",
1067 "//chrome/browser/ui:test_support", 1067 "//chrome/browser/ui:test_support",
1068 ] 1068 ]
1069 deps = [ 1069 deps = [
1070 "//base:prefs_test_support", 1070 "//base:prefs_test_support",
1071 "//chrome/app/theme:theme_resources",
1071 "//chrome/browser", 1072 "//chrome/browser",
1072 "//chrome/common", 1073 "//chrome/common",
1073 "//chrome/common/safe_browsing:proto", 1074 "//chrome/common/safe_browsing:proto",
1074 "//components/invalidation/impl", 1075 "//components/invalidation/impl",
1075 "//components/invalidation/impl:test_support", 1076 "//components/invalidation/impl:test_support",
1076 "//components/password_manager/core/browser:test_support", 1077 "//components/password_manager/core/browser:test_support",
1077 "//components/search_engines:test_support", 1078 "//components/search_engines:test_support",
1078 "//components/syncable_prefs:test_support", 1079 "//components/syncable_prefs:test_support",
1079 "//components/user_prefs/tracked:user_prefs_tracked_test_support", 1080 "//components/user_prefs/tracked:user_prefs_tracked_test_support",
1080 "//content/test:test_support", 1081 "//content/test:test_support",
1081 "//chrome/app/theme:theme_resources",
1082 "//net:test_support", 1082 "//net:test_support",
1083 "//skia", 1083 "//skia",
1084 "//testing/gmock", 1084 "//testing/gmock",
1085 "//testing/gtest", 1085 "//testing/gtest",
1086 "//ui/gfx", 1086 "//ui/gfx",
1087 ] 1087 ]
1088 1088
1089 if (!is_ios) { 1089 if (!is_ios) {
1090 deps += [ 1090 deps += [
1091 "//components/sessions:test_support", 1091 "//components/sessions:test_support",
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") 1263 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome")
1264 deps = [ 1264 deps = [
1265 "//components/google/core/browser", 1265 "//components/google/core/browser",
1266 "//components/omnibox/browser", 1266 "//components/omnibox/browser",
1267 "//components/rlz", 1267 "//components/rlz",
1268 "//components/search_engines", 1268 "//components/search_engines",
1269 "//rlz:rlz_lib", 1269 "//rlz:rlz_lib",
1270 ] 1270 ]
1271 } 1271 }
1272 } 1272 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698