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

Side by Side Diff: chrome/BUILD.gn

Issue 472213002: Mark some files/targets as compiled only when their associated feature is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | chrome/browser/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/features.gni") 5 import("//build/config/features.gni")
6 6
7 # GYP version: chrome/chrome_resources.gyp:chrome_resources 7 # GYP version: chrome/chrome_resources.gyp:chrome_resources
8 group("resources") { 8 group("resources") {
9 deps = [ 9 deps = [
10 # Note: GYP lists some dependencies in addition to these actions. However, 10 # Note: GYP lists some dependencies in addition to these actions. However,
(...skipping 17 matching lines...) Expand all
28 "//chrome/browser/resources:net_internals_resources", 28 "//chrome/browser/resources:net_internals_resources",
29 "//chrome/browser/resources:password_manager_internals_resources", 29 "//chrome/browser/resources:password_manager_internals_resources",
30 "//chrome/browser/resources:signin_internals_resources", 30 "//chrome/browser/resources:signin_internals_resources",
31 "//chrome/browser/resources:sync_internals_resources", 31 "//chrome/browser/resources:sync_internals_resources",
32 "//chrome/browser/resources:translate_internals_resources", 32 "//chrome/browser/resources:translate_internals_resources",
33 ] 33 ]
34 if (!is_ios) { 34 if (!is_ios) {
35 deps += [ 35 deps += [
36 "//chrome/browser/resources:component_extension_resources", 36 "//chrome/browser/resources:component_extension_resources",
37 "//chrome/browser/resources:options_resources", 37 "//chrome/browser/resources:options_resources",
38 "//chrome/browser/resources:quota_internals_resources",
39 "//chrome/browser/resources:sync_file_system_internals_resources",
40 ] 38 ]
41 } 39 }
42 40
43 if (enable_chromevox_next) { 41 if (enable_chromevox_next) {
44 deps += [ 42 deps += [
45 #'browser/resources/chromeos/chromevox2/chromevox.gyp:chromevox2', TODO(G YP) 43 #'browser/resources/chromeos/chromevox2/chromevox.gyp:chromevox2', TODO(G YP)
46 ] 44 ]
47 } else { 45 } else {
48 deps += [ 46 deps += [
49 #'browser/resources/chromeos/chromevox/chromevox.gyp:chromevox', TODO(GYP ) 47 #'browser/resources/chromeos/chromevox/chromevox.gyp:chromevox', TODO(GYP )
50 ] 48 ]
51 } 49 }
50
51 if (enable_extensions) {
52 deps += [
53 "//chrome/browser/resources:quota_internals_resources",
54 "//chrome/browser/resources:sync_file_system_internals_resources",
55 ]
56 }
52 } 57 }
53 58
54 # GYP version: chrome/chrome_resources.gyp:chrome_strings 59 # GYP version: chrome/chrome_resources.gyp:chrome_strings
55 group("strings") { 60 group("strings") {
56 deps = [ 61 deps = [
57 "//chrome/app:chromium_strings", 62 "//chrome/app:chromium_strings",
58 "//chrome/app:generated_resources", 63 "//chrome/app:generated_resources",
59 "//chrome/app:google_chrome_strings", 64 "//chrome/app:google_chrome_strings",
60 "//chrome/app/resources:locale_settings", 65 "//chrome/app/resources:locale_settings",
61 ] 66 ]
62 } 67 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698