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