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

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

Issue 1258273004: Annotate large GN targets for precompiled headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable Created 5 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/devtools/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 assert(enable_extensions) 9 assert(enable_extensions)
10 10
11 gypi_values = 11 gypi_values =
12 exec_script("//build/gypi_to_gn.py", 12 exec_script("//build/gypi_to_gn.py",
13 [ rebase_path("../../chrome_browser_extensions.gypi") ], 13 [ rebase_path("../../chrome_browser_extensions.gypi") ],
14 "scope", 14 "scope",
15 [ "../../chrome_browser_extensions.gypi" ]) 15 [ "../../chrome_browser_extensions.gypi" ])
16 16
17 # GYP version: chrome/chrome_browser_extensions.gypi:browser_extensions 17 # GYP version: chrome/chrome_browser_extensions.gypi:browser_extensions
18 source_set("extensions") { 18 source_set("extensions") {
19 sources = [] 19 sources = []
20 sources += rebase_path(gypi_values.chrome_browser_extensions_enabled_sources, 20 sources += rebase_path(gypi_values.chrome_browser_extensions_enabled_sources,
21 ".", 21 ".",
22 "//chrome") 22 "//chrome")
23 23
24 configs += [ "//build/config:precompiled_headers" ]
24 defines = [] 25 defines = []
25 26
26 # Since browser and browser_extensions actually depend on each other, 27 # Since browser and browser_extensions actually depend on each other,
27 # we must omit the dependency from browser_extensions to browser. 28 # we must omit the dependency from browser_extensions to browser.
28 # However, this means browser_extensions and browser should more or less 29 # However, this means browser_extensions and browser should more or less
29 # have the same dependencies. Once browser_extensions is untangled from 30 # have the same dependencies. Once browser_extensions is untangled from
30 # browser, then we can clean up these dependencies. 31 # browser, then we can clean up these dependencies.
31 public_deps = [ 32 public_deps = [
32 "//chrome/common/extensions/api", 33 "//chrome/common/extensions/api",
33 "//content/public/browser", 34 "//content/public/browser",
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 "//chrome") 203 "//chrome")
203 } 204 }
204 205
205 if (is_chromeos && use_ozone) { 206 if (is_chromeos && use_ozone) {
206 sources -= [ "global_shortcut_listener_chromeos.cc" ] 207 sources -= [ "global_shortcut_listener_chromeos.cc" ]
207 } 208 }
208 if (!use_ozone) { 209 if (!use_ozone) {
209 sources -= [ "global_shortcut_listener_ozone.cc" ] 210 sources -= [ "global_shortcut_listener_ozone.cc" ]
210 } 211 }
211 } 212 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/BUILD.gn ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698