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

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

Issue 407093015: GN: Make chrome/{browser,common,renderer} compile on mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: line wrap and remove gpu_memory_buffer_factory_x11.cc from non-x11 builds Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/ui/BUILD.gn » ('j') | 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 8
9 gypi_values = exec_script( 9 gypi_values = exec_script(
10 "//build/gypi_to_gn.py", 10 "//build/gypi_to_gn.py",
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 if (use_x11) { 162 if (use_x11) {
163 configs += [ 163 configs += [
164 "//build/config/linux:x11", 164 "//build/config/linux:x11",
165 ] 165 ]
166 deps += [ 166 deps += [
167 "//ui/events/platform", 167 "//ui/events/platform",
168 "//ui/events/platform/x11", 168 "//ui/events/platform/x11",
169 ] 169 ]
170 } 170 }
171 } 171 }
172 if (!use_x11) {
173 sources -= [
174 "global_shortcut_listener_x11.cc",
175 "global_shortcut_listener_x11.h",
176 ]
177 }
172 178
173 if (safe_browsing_mode == 1) { 179 if (safe_browsing_mode == 1) {
174 defines += [ "FULL_SAFE_BROWSING" ] 180 defines += [ "FULL_SAFE_BROWSING" ]
175 } 181 }
176 if (safe_browsing_mode == 2) { 182 if (safe_browsing_mode == 2) {
177 defines += [ "MOBILE_SAFE_BROWSING" ] 183 defines += [ "MOBILE_SAFE_BROWSING" ]
178 } 184 }
179 185
180 if (enable_configuration_policy) { 186 if (enable_configuration_policy) {
181 deps += [ "//components/policy" ] 187 deps += [ "//components/policy" ]
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 ".", "//chrome") 219 ".", "//chrome")
214 } 220 }
215 221
216 if (!use_ozone) { 222 if (!use_ozone) {
217 sources -= [ 223 sources -= [
218 "global_shortcut_listener_ozone.cc", 224 "global_shortcut_listener_ozone.cc",
219 ] 225 ]
220 } 226 }
221 } 227 }
222 } 228 }
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698