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

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

Issue 598353003: Handle the "debug_devtools" build arg in GN builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | chrome/browser/devtools/BUILD.gn » ('j') | chrome/browser/devtools/BUILD.gn » ('J')
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("//components/nacl/nacl_defines.gni") 8 import("//components/nacl/nacl_defines.gni")
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 # '<(grit_out_dir)/grit/component_extension_resources_map.cc', 141 # '<(grit_out_dir)/grit/component_extension_resources_map.cc',
142 # '<(grit_out_dir)/grit/theme_resources_map.cc', 142 # '<(grit_out_dir)/grit/theme_resources_map.cc',
143 # '<(SHARED_INTERMEDIATE_DIR)/ui/resources/grit/ui_resources_map.cc', 143 # '<(SHARED_INTERMEDIATE_DIR)/ui/resources/grit/ui_resources_map.cc',
144 # 144 #
145 # # This file is generated by 145 # # This file is generated by
146 # # chrome/browser/metrics/variations/generate_resources_map.py 146 # # chrome/browser/metrics/variations/generate_resources_map.py
147 # '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/gener ated_resources_map.cc', 147 # '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/gener ated_resources_map.cc',
148 148
149 defines = nacl_defines 149 defines = nacl_defines
150 150
151 if (debug_devtools) {
152 defines += [ "DEBUG_DEVTOOLS=1" ]
153 }
154
151 deps += [ 155 deps += [
152 "//apps", 156 "//apps",
153 "//cc", 157 "//cc",
154 "//chrome/browser/devtools", 158 "//chrome/browser/devtools",
155 "//chrome/installer/util", 159 "//chrome/installer/util",
156 "//components/autofill/content/browser", 160 "//components/autofill/content/browser",
157 "//components/dom_distiller/content", 161 "//components/dom_distiller/content",
158 "//components/keyed_service/content", 162 "//components/keyed_service/content",
159 "//components/navigation_interception", 163 "//components/navigation_interception",
160 "//components/password_manager/content/browser", 164 "//components/password_manager/content/browser",
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 if (enable_spellcheck) { 270 if (enable_spellcheck) {
267 sources += rebase_path(gypi_values.chrome_browser_spellchecker_sources, 271 sources += rebase_path(gypi_values.chrome_browser_spellchecker_sources,
268 ".", "//chrome") 272 ".", "//chrome")
269 deps += [ "//third_party/hunspell" ] 273 deps += [ "//third_party/hunspell" ]
270 } 274 }
271 if (enable_nacl) { 275 if (enable_nacl) {
272 sources += rebase_path(gypi_values.chrome_browser_nacl_sources, 276 sources += rebase_path(gypi_values.chrome_browser_nacl_sources,
273 ".", "//chrome") 277 ".", "//chrome")
274 #deps += [ "//components/nacl:nacl_browser" ] TODO(GYP) 278 #deps += [ "//components/nacl:nacl_browser" ] TODO(GYP)
275 } 279 }
276 # ["debug_devtools==1", { TODO(GYP) 280
277 # "defines": [
278 # "DEBUG_DEVTOOLS=1",
279 # }],
280 if (enable_configuration_policy) { 281 if (enable_configuration_policy) {
281 sources += rebase_path( 282 sources += rebase_path(
282 gypi_values.chrome_browser_policy_shared_with_ios_sources, 283 gypi_values.chrome_browser_policy_shared_with_ios_sources,
283 ".", "//chrome") 284 ".", "//chrome")
284 deps += [ 285 deps += [
285 "//components/policy", 286 "//components/policy",
286 "//components/policy/proto", 287 "//components/policy/proto",
287 ] 288 ]
288 if (!is_ios) { 289 if (!is_ios) {
289 sources += rebase_path( 290 sources += rebase_path(
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 ] 925 ]
925 } 926 }
926 927
927 if (enable_wifi_bootstrapping) { 928 if (enable_wifi_bootstrapping) {
928 sources += [ 929 sources += [
929 "local_discovery/wifi/mock_wifi_manager.cc", 930 "local_discovery/wifi/mock_wifi_manager.cc",
930 "local_discovery/wifi/mock_wifi_manager.h", 931 "local_discovery/wifi/mock_wifi_manager.h",
931 ] 932 ]
932 } 933 }
933 } 934 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/devtools/BUILD.gn » ('j') | chrome/browser/devtools/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698