Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: chrome/browser/ui/BUILD.gn

Issue 2234943002: Bug Fix: Set USE_CRAS for //chrome and //chrome/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//build/split_static_library.gni") 8 import("//build/split_static_library.gni")
9 import("//chrome/common/features.gni") 9 import("//chrome/common/features.gni")
10 import("//media/media_options.gni")
10 11
11 gypi_values = exec_script("//build/gypi_to_gn.py", 12 gypi_values = exec_script("//build/gypi_to_gn.py",
12 [ rebase_path("../../chrome_browser_ui.gypi") ], 13 [ rebase_path("../../chrome_browser_ui.gypi") ],
13 "scope", 14 "scope",
14 [ "../../chrome_browser_ui.gypi" ]) 15 [ "../../chrome_browser_ui.gypi" ])
15 16
16 config("ui_warnings") { 17 config("ui_warnings") {
17 if (is_clang) { 18 if (is_clang) {
18 # TODO(thakis): Remove this once http://crbug.com/383820 is figured out 19 # TODO(thakis): Remove this once http://crbug.com/383820 is figured out
19 cflags = [ "-Wno-nonnull" ] 20 cflags = [ "-Wno-nonnull" ]
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 "//ui/resources", 142 "//ui/resources",
142 "//ui/shell_dialogs", 143 "//ui/shell_dialogs",
143 "//ui/snapshot", 144 "//ui/snapshot",
144 "//ui/strings", 145 "//ui/strings",
145 ] 146 ]
146 147
147 if (enable_extensions) { 148 if (enable_extensions) {
148 deps += [ "//extensions/browser" ] 149 deps += [ "//extensions/browser" ]
149 } 150 }
150 151
152 if (is_chromeos && use_cras) {
153 defines += [ "USE_CRAS" ]
154 }
155
151 if (!is_ios) { 156 if (!is_ios) {
152 sources += rebase_path(gypi_values.chrome_browser_ui_non_ios_sources, 157 sources += rebase_path(gypi_values.chrome_browser_ui_non_ios_sources,
153 ".", 158 ".",
154 "//chrome") 159 "//chrome")
155 sources += rebase_path(gypi_values.chrome_browser_ui_toolbar_model_sources, 160 sources += rebase_path(gypi_values.chrome_browser_ui_toolbar_model_sources,
156 ".", 161 ".",
157 "//chrome") 162 "//chrome")
158 deps += [ 163 deps += [
159 "//chrome/browser/devtools", 164 "//chrome/browser/devtools",
160 "//chrome/browser/ui/views", 165 "//chrome/browser/ui/views",
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 "//chrome/browser", 714 "//chrome/browser",
710 "//content/public/browser", 715 "//content/public/browser",
711 "//content/public/common", 716 "//content/public/common",
712 "//content/test:test_support", 717 "//content/test:test_support",
713 "//net:test_support", 718 "//net:test_support",
714 "//skia", 719 "//skia",
715 "//testing/gtest", 720 "//testing/gtest",
716 "//ui/base", 721 "//ui/base",
717 ] 722 ]
718 } 723 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698