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

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

Issue 987553002: Audit GN cflags and defines to match GYP build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
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 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which 9 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which
10 # produces a conflict for the "grit" template so we have to only include one. 10 # produces a conflict for the "grit" template so we have to only include one.
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 ".", 330 ".",
331 "//chrome") 331 "//chrome")
332 } 332 }
333 if (enable_background) { 333 if (enable_background) {
334 sources += rebase_path(gypi_values.chrome_browser_background_sources, 334 sources += rebase_path(gypi_values.chrome_browser_background_sources,
335 ".", 335 ".",
336 "//chrome") 336 "//chrome")
337 if (!use_aura || is_win || is_chromeos) { 337 if (!use_aura || is_win || is_chromeos) {
338 sources -= [ "background/background_mode_manager_aura.cc" ] 338 sources -= [ "background/background_mode_manager_aura.cc" ]
339 } 339 }
340 defines += [ "ENABLE_BACKGROUND=1" ]
341 } 340 }
342 if (enable_task_manager) { 341 if (enable_task_manager) {
343 sources += rebase_path(gypi_values.chrome_browser_task_manager_sources, 342 sources += rebase_path(gypi_values.chrome_browser_task_manager_sources,
344 ".", 343 ".",
345 "//chrome") 344 "//chrome")
346 } 345 }
347 if (enable_spellcheck) { 346 if (enable_spellcheck) {
348 sources += rebase_path(gypi_values.chrome_browser_spellchecker_sources, 347 sources += rebase_path(gypi_values.chrome_browser_spellchecker_sources,
349 ".", 348 ".",
350 "//chrome") 349 "//chrome")
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 ] 1098 ]
1100 } 1099 }
1101 1100
1102 if (enable_wifi_bootstrapping) { 1101 if (enable_wifi_bootstrapping) {
1103 sources += [ 1102 sources += [
1104 "local_discovery/wifi/mock_wifi_manager.cc", 1103 "local_discovery/wifi/mock_wifi_manager.cc",
1105 "local_discovery/wifi/mock_wifi_manager.h", 1104 "local_discovery/wifi/mock_wifi_manager.h",
1106 ] 1105 ]
1107 } 1106 }
1108 } 1107 }
OLDNEW
« no previous file with comments | « build/config/win/BUILD.gn ('k') | chrome/test/BUILD.gn » ('j') | skia/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698