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