| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 sources += | 190 sources += |
| 191 rebase_path(gypi_values.chrome_browser_ui_chromeos_non_official_sources, | 191 rebase_path(gypi_values.chrome_browser_ui_chromeos_non_official_sources, |
| 192 ".", | 192 ".", |
| 193 "//chrome") | 193 "//chrome") |
| 194 } | 194 } |
| 195 | 195 |
| 196 if (is_chromeos) { | 196 if (is_chromeos) { |
| 197 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_sources, | 197 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_sources, |
| 198 ".", | 198 ".", |
| 199 "//chrome") | 199 "//chrome") |
| 200 deps += [ "//chrome/browser/chromeos" ] | 200 deps += [ |
| 201 "//chrome/browser/chromeos", |
| 202 "//components/arc", |
| 203 ] |
| 201 } else { | 204 } else { |
| 202 defines += [ "FRAME_AVATAR_BUTTON=1" ] | 205 defines += [ "FRAME_AVATAR_BUTTON=1" ] |
| 203 } | 206 } |
| 204 if (is_chromeos && enable_arc) { | |
| 205 deps += [ "//components/arc" ] | |
| 206 } | |
| 207 if (use_cups) { | 207 if (use_cups) { |
| 208 configs += [ "//printing:cups" ] | 208 configs += [ "//printing:cups" ] |
| 209 } | 209 } |
| 210 if (use_ash) { | 210 if (use_ash) { |
| 211 sources += | 211 sources += |
| 212 rebase_path(gypi_values.chrome_browser_ui_ash_sources, ".", "//chrome") | 212 rebase_path(gypi_values.chrome_browser_ui_ash_sources, ".", "//chrome") |
| 213 deps += [ | 213 deps += [ |
| 214 "//ash", | 214 "//ash", |
| 215 "//ash:ash_with_content", | 215 "//ash:ash_with_content", |
| 216 "//ash/strings", | 216 "//ash/strings", |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 "//chrome/browser", | 602 "//chrome/browser", |
| 603 "//content/public/browser", | 603 "//content/public/browser", |
| 604 "//content/public/common", | 604 "//content/public/common", |
| 605 "//content/test:test_support", | 605 "//content/test:test_support", |
| 606 "//net:test_support", | 606 "//net:test_support", |
| 607 "//skia", | 607 "//skia", |
| 608 "//testing/gtest", | 608 "//testing/gtest", |
| 609 "//ui/base", | 609 "//ui/base", |
| 610 ] | 610 ] |
| 611 } | 611 } |
| OLD | NEW |