| 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 | 8 |
| 9 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 10 [ rebase_path("../../chrome_browser_ui.gypi") ], | 10 [ rebase_path("../../chrome_browser_ui.gypi") ], |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 ".", | 175 ".", |
| 176 "//chrome") | 176 "//chrome") |
| 177 } | 177 } |
| 178 | 178 |
| 179 if (is_chromeos) { | 179 if (is_chromeos) { |
| 180 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_sources, | 180 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_sources, |
| 181 ".", | 181 ".", |
| 182 "//chrome") | 182 "//chrome") |
| 183 deps += [ "//chrome/browser/chromeos" ] | 183 deps += [ "//chrome/browser/chromeos" ] |
| 184 } else { | 184 } else { |
| 185 sources += rebase_path(gypi_values.chrome_browser_ui_non_chromeos_sources, | |
| 186 ".", | |
| 187 "//chrome") | |
| 188 defines += [ "FRAME_AVATAR_BUTTON=1" ] | 185 defines += [ "FRAME_AVATAR_BUTTON=1" ] |
| 189 } | 186 } |
| 190 if (use_cups) { | 187 if (use_cups) { |
| 191 configs += [ "//printing:cups" ] | 188 configs += [ "//printing:cups" ] |
| 192 } | 189 } |
| 193 if (use_ash) { | 190 if (use_ash) { |
| 194 sources += | 191 sources += |
| 195 rebase_path(gypi_values.chrome_browser_ui_ash_sources, ".", "//chrome") | 192 rebase_path(gypi_values.chrome_browser_ui_ash_sources, ".", "//chrome") |
| 196 deps += [ | 193 deps += [ |
| 197 "//ash", | 194 "//ash", |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 "website_settings/mock_permission_bubble_request.h", | 516 "website_settings/mock_permission_bubble_request.h", |
| 520 ] | 517 ] |
| 521 | 518 |
| 522 if (toolkit_views) { | 519 if (toolkit_views) { |
| 523 sources += [ "views/find_bar_host_unittest_util_views.cc" ] | 520 sources += [ "views/find_bar_host_unittest_util_views.cc" ] |
| 524 if (!is_mac) { | 521 if (!is_mac) { |
| 525 sources += [ "views/toolbar/browser_action_test_util_views.cc" ] | 522 sources += [ "views/toolbar/browser_action_test_util_views.cc" ] |
| 526 } | 523 } |
| 527 } | 524 } |
| 528 | 525 |
| 526 if (is_android) { |
| 527 sources -= [ |
| 528 "exclusive_access/fullscreen_controller_state_test.cc", |
| 529 "exclusive_access/fullscreen_controller_state_test.h", |
| 530 "exclusive_access/fullscreen_controller_state_tests.h", |
| 531 "exclusive_access/fullscreen_controller_test.cc", |
| 532 "exclusive_access/fullscreen_controller_test.h", |
| 533 ] |
| 534 } |
| 535 |
| 529 public_deps = [ | 536 public_deps = [ |
| 530 ":ui", | 537 ":ui", |
| 531 ] | 538 ] |
| 532 deps = [ | 539 deps = [ |
| 533 "//chrome/app/theme:theme_resources", | 540 "//chrome/app/theme:theme_resources", |
| 534 "//chrome/browser", | 541 "//chrome/browser", |
| 535 "//content/public/browser", | 542 "//content/public/browser", |
| 536 "//content/public/common", | 543 "//content/public/common", |
| 537 "//content/test:test_support", | 544 "//content/test:test_support", |
| 538 "//net:test_support", | 545 "//net:test_support", |
| 539 "//skia", | 546 "//skia", |
| 540 "//testing/gtest", | 547 "//testing/gtest", |
| 541 "//ui/base", | 548 "//ui/base", |
| 542 ] | 549 ] |
| 543 } | 550 } |
| OLD | NEW |