| 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/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 import("//chrome/common/features.gni") | 8 import("//chrome/common/features.gni") |
| 9 | 9 |
| 10 gypi_values = exec_script("//build/gypi_to_gn.py", | 10 gypi_values = exec_script("//build/gypi_to_gn.py", |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 "//chrome") | 194 "//chrome") |
| 195 } | 195 } |
| 196 | 196 |
| 197 if (is_chromeos) { | 197 if (is_chromeos) { |
| 198 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_sources, | 198 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_sources, |
| 199 ".", | 199 ".", |
| 200 "//chrome") | 200 "//chrome") |
| 201 deps += [ | 201 deps += [ |
| 202 "//chrome/browser/chromeos", | 202 "//chrome/browser/chromeos", |
| 203 "//components/arc", | 203 "//components/arc", |
| 204 "//ui/base/ime", |
| 204 ] | 205 ] |
| 205 } else { | 206 } else { |
| 206 defines += [ "FRAME_AVATAR_BUTTON=1" ] | 207 defines += [ "FRAME_AVATAR_BUTTON=1" ] |
| 207 } | 208 } |
| 208 if (use_cups) { | 209 if (use_cups) { |
| 209 configs += [ "//printing:cups" ] | 210 configs += [ "//printing:cups" ] |
| 210 } | 211 } |
| 211 if (use_ash) { | 212 if (use_ash) { |
| 212 sources += | 213 sources += |
| 213 rebase_path(gypi_values.chrome_browser_ui_ash_sources, ".", "//chrome") | 214 rebase_path(gypi_values.chrome_browser_ui_ash_sources, ".", "//chrome") |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 "//ui/views/controls/webview", | 391 "//ui/views/controls/webview", |
| 391 ] | 392 ] |
| 392 deps += [ | 393 deps += [ |
| 393 "//chrome/installer/util:strings", | 394 "//chrome/installer/util:strings", |
| 394 "//components/search_engines", | 395 "//components/search_engines", |
| 395 "//google_update", | 396 "//google_update", |
| 396 "//third_party/iaccessible2", | 397 "//third_party/iaccessible2", |
| 397 "//third_party/isimpledom", | 398 "//third_party/isimpledom", |
| 398 "//third_party/wtl", | 399 "//third_party/wtl", |
| 399 "//ui/app_list", | 400 "//ui/app_list", |
| 401 "//ui/base/ime", |
| 402 "//ui/events:dom_keycode_converter", |
| 400 ] | 403 ] |
| 401 if (!is_chrome_branded) { | 404 if (!is_chrome_branded) { |
| 402 deps -= [ "//google_update" ] | 405 deps -= [ "//google_update" ] |
| 403 sources -= [ "webui/help/version_updater_win.cc" ] | 406 sources -= [ "webui/help/version_updater_win.cc" ] |
| 404 sources += [ | 407 sources += [ |
| 405 "webui/help/version_updater_basic.cc", | 408 "webui/help/version_updater_basic.cc", |
| 406 "webui/help/version_updater_basic.h", | 409 "webui/help/version_updater_basic.h", |
| 407 ] | 410 ] |
| 408 } | 411 } |
| 409 } else { # 'OS!="win" | 412 } else { # 'OS!="win" |
| 410 if (toolkit_views) { | 413 if (toolkit_views) { |
| 411 public_deps += [ | 414 public_deps += [ |
| 412 "//ui/views", | 415 "//ui/views", |
| 413 "//ui/views/controls/webview", | 416 "//ui/views/controls/webview", |
| 414 ] | 417 ] |
| 415 } | 418 } |
| 416 } | 419 } |
| 417 if (is_desktop_linux) { | 420 if (is_desktop_linux) { |
| 418 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_linux_sources, | 421 sources += rebase_path(gypi_values.chrome_browser_ui_desktop_linux_sources, |
| 419 ".", | 422 ".", |
| 420 "//chrome") | 423 "//chrome") |
| 424 deps += [ |
| 425 "//ui/base/ime", |
| 426 "//ui/events:dom_keycode_converter", |
| 427 ] |
| 421 } | 428 } |
| 422 if (is_linux) { # Both desktop Linux and ChromeOS. | 429 if (is_linux) { # Both desktop Linux and ChromeOS. |
| 423 sources += rebase_path(gypi_values.chrome_browser_ui_linux_sources, | 430 sources += rebase_path(gypi_values.chrome_browser_ui_linux_sources, |
| 424 ".", | 431 ".", |
| 425 "//chrome") | 432 "//chrome") |
| 426 if (use_aura) { | 433 if (use_aura) { |
| 427 deps += [ | 434 deps += [ |
| 428 "//build/linux:fontconfig", | 435 "//build/linux:fontconfig", |
| 429 "//dbus", | 436 "//dbus", |
| 430 ] | 437 ] |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 606 "//chrome/browser", | 613 "//chrome/browser", |
| 607 "//content/public/browser", | 614 "//content/public/browser", |
| 608 "//content/public/common", | 615 "//content/public/common", |
| 609 "//content/test:test_support", | 616 "//content/test:test_support", |
| 610 "//net:test_support", | 617 "//net:test_support", |
| 611 "//skia", | 618 "//skia", |
| 612 "//testing/gtest", | 619 "//testing/gtest", |
| 613 "//ui/base", | 620 "//ui/base", |
| 614 ] | 621 ] |
| 615 } | 622 } |
| OLD | NEW |