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

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

Issue 571863002: GN: Get //chrome/* mostly working on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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 8
9 gypi_values = exec_script( 9 gypi_values = exec_script(
10 "//build/gypi_to_gn.py", 10 "//build/gypi_to_gn.py",
(...skipping 20 matching lines...) Expand all
31 # NOTE: New dependencies should generally be added in the OS!="ios" 31 # NOTE: New dependencies should generally be added in the OS!="ios"
32 # dependencies block below, rather than here. 32 # dependencies block below, rather than here.
33 "//base/allocator", 33 "//base/allocator",
34 "//chrome:extra_resources", 34 "//chrome:extra_resources",
35 "//chrome:resources", 35 "//chrome:resources",
36 "//chrome:strings", 36 "//chrome:strings",
37 "//chrome/app/resources:platform_locale_settings", 37 "//chrome/app/resources:platform_locale_settings",
38 "//chrome/app/theme:theme_resources", 38 "//chrome/app/theme:theme_resources",
39 "//chrome/browser/history:in_memory_url_index_cache_proto", 39 "//chrome/browser/history:in_memory_url_index_cache_proto",
40 "//chrome/browser/net:cert_logger_proto", 40 "//chrome/browser/net:cert_logger_proto",
41 "//chrome/browser/ui/views",
42 "//chrome/common", 41 "//chrome/common",
43 "//chrome/common/net", 42 "//chrome/common/net",
44 "//components/auto_login_parser", 43 "//components/auto_login_parser",
45 "//components/dom_distiller/core", 44 "//components/dom_distiller/core",
46 "//components/dom_distiller/webui", 45 "//components/dom_distiller/webui",
47 "//components/feedback/proto", 46 "//components/feedback/proto",
48 "//components/invalidation", 47 "//components/invalidation",
49 "//components/omaha_query_params", 48 "//components/omaha_query_params",
50 "//components/onc", 49 "//components/onc",
51 "//components/password_manager/core/browser", 50 "//components/password_manager/core/browser",
(...skipping 24 matching lines...) Expand all
76 forward_dependent_configs_from = [ 75 forward_dependent_configs_from = [
77 "//components/dom_distiller/core", 76 "//components/dom_distiller/core",
78 "//sync", 77 "//sync",
79 ] 78 ]
80 79
81 if (!is_ios) { 80 if (!is_ios) {
82 sources += rebase_path(gypi_values.chrome_browser_ui_non_ios_sources, 81 sources += rebase_path(gypi_values.chrome_browser_ui_non_ios_sources,
83 ".", "//chrome") 82 ".", "//chrome")
84 deps += [ 83 deps += [
85 "//chrome/browser/devtools", 84 "//chrome/browser/devtools",
85 "//chrome/browser/ui/views",
86 "//chrome/browser/ui/webui/omnibox:mojo_bindings", 86 "//chrome/browser/ui/webui/omnibox:mojo_bindings",
87 "//chrome/common/extensions/api", 87 "//chrome/common/extensions/api",
88 "//chrome/common/extensions/api:api_registration", 88 "//chrome/common/extensions/api:api_registration",
89 "//chrome/installer/util", 89 "//chrome/installer/util",
90 "//components/autofill/content/browser:risk_proto", 90 "//components/autofill/content/browser:risk_proto",
91 "//components/power", 91 "//components/power",
92 "//device/bluetooth", 92 "//device/bluetooth",
93 "//device/nfc", 93 "//device/nfc",
94 "//media", 94 "//media",
95 "//mojo/system", 95 "//mojo/system",
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources, 259 sources += rebase_path(gypi_values.chrome_browser_ui_print_preview_sources,
260 ".", "//chrome") 260 ".", "//chrome")
261 } 261 }
262 if (is_linux || is_android) { 262 if (is_linux || is_android) {
263 sources += rebase_path(gypi_values.chrome_browser_ui_android_linux_sources, 263 sources += rebase_path(gypi_values.chrome_browser_ui_android_linux_sources,
264 ".", "//chrome") 264 ".", "//chrome")
265 } 265 }
266 266
267 if (is_android) { 267 if (is_android) {
268 deps += [ 268 deps += [
269 "//chrome/browser:jni_headers",
269 "//crypto:platform", 270 "//crypto:platform",
270 #'../components/components.gyp:web_contents_delegate_android', TODO(GYP) 271 #'../components/components.gyp:web_contents_delegate_android', TODO(GYP)
271 #'chrome_browser_jni_headers', TODO(GYP)
272 ] 272 ]
273 deps -= [ 273 deps -= [
274 "//chrome/browser/ui/views", 274 "//chrome/browser/ui/views",
275 "//components/feedback/proto", 275 "//components/feedback/proto",
276 "//third_party/libusb", 276 "//third_party/libusb",
277 "//ui/events", 277 "//ui/events",
278 ] 278 ]
279 sources += rebase_path(gypi_values.chrome_browser_ui_android_sources, 279 sources += rebase_path(gypi_values.chrome_browser_ui_android_sources,
280 ".", "//chrome") 280 ".", "//chrome")
281
282 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ]
281 } else { # Non-Android. 283 } else { # Non-Android.
282 sources += rebase_path(gypi_values.chrome_browser_ui_non_android_sources, 284 sources += rebase_path(gypi_values.chrome_browser_ui_non_android_sources,
283 ".", "//chrome") 285 ".", "//chrome")
284 } 286 }
285 287
286 if (is_mac) { 288 if (is_mac) {
287 sources += rebase_path(gypi_values.chrome_browser_ui_mac_sources, 289 sources += rebase_path(gypi_values.chrome_browser_ui_mac_sources,
288 ".", "//chrome") 290 ".", "//chrome")
289 sources -= [ 291 sources -= [
290 # Mac has its own way of drawing tabs. 292 # Mac has its own way of drawing tabs.
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 "//net:test_support", 462 "//net:test_support",
461 "//skia", 463 "//skia",
462 "//testing/gtest", 464 "//testing/gtest",
463 "//ui/base", 465 "//ui/base",
464 ] 466 ]
465 467
466 forward_dependent_configs_from = [ 468 forward_dependent_configs_from = [
467 ":ui", 469 ":ui",
468 ] 470 ]
469 } 471 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698