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

Side by Side Diff: chrome/chrome_browser_ui.gypi

Issue 1160773004: extensions: Check |enable_extensions| flag before depending on extension code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« chrome/browser/ui/BUILD.gn ('K') | « chrome/browser/ui/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 # There are two sections of sources: 7 # There are two sections of sources:
8 # * "Platform"-based sources (OS, toolkit, etc.) 8 # * "Platform"-based sources (OS, toolkit, etc.)
9 # * Feature/directory-based sources (e.g., history, printing) 9 # * Feature/directory-based sources (e.g., history, printing)
10 10
(...skipping 2894 matching lines...) Expand 10 before | Expand all | Expand 10 after
2905 ], 2905 ],
2906 'conditions': [ 2906 'conditions': [
2907 ['chromeos == 0 and (OS!="mac" or mac_views_browser==1)', { 2907 ['chromeos == 0 and (OS!="mac" or mac_views_browser==1)', {
2908 'sources': [ '<@(chrome_browser_ui_views_non_chromeos_sources)' ], 2908 'sources': [ '<@(chrome_browser_ui_views_non_chromeos_sources)' ],
2909 }], 2909 }],
2910 ['use_ash == 1', { 2910 ['use_ash == 1', {
2911 'sources': [ '<@(chrome_browser_ui_ash_views_sources)' ], 2911 'sources': [ '<@(chrome_browser_ui_ash_views_sources)' ],
2912 }], 2912 }],
2913 ['OS!="mac"', { 2913 ['OS!="mac"', {
2914 'sources': [ '<@(chrome_browser_ui_views_non_mac_sources)' ], 2914 'sources': [ '<@(chrome_browser_ui_views_non_mac_sources)' ],
2915 'dependencies': [ 2915 'conditions': [
2916 '<(DEPTH)/extensions/components/extensions_components.gyp:native _app_window', 2916 ['enable_extensions==0', {
2917 'sources/': [
2918 ['exclude', '^browser/ui/views/extensions/'],
2919 ],
2920 }, {
2921 'dependencies': [
2922 '<(DEPTH)/extensions/components/extensions_components.gyp:na tive_app_window',
2923 ],
2924 }],
2917 ], 2925 ],
2918 }], 2926 }],
2919 ], 2927 ],
2920 }], 2928 }],
2921 ['use_aura==1 and chromeos==0 and use_ozone==0 and OS=="linux"', { 2929 ['use_aura==1 and chromeos==0 and use_ozone==0 and OS=="linux"', {
2922 'dependencies': [ 2930 'dependencies': [
2923 # gtk2 is the only component that can interact with gtk2 in our new 2931 # gtk2 is the only component that can interact with gtk2 in our new
2924 # world. 2932 # world.
2925 'browser/ui/libgtk2ui/libgtk2ui.gyp:gtk2ui', 2933 'browser/ui/libgtk2ui/libgtk2ui.gyp:gtk2ui',
2926 '../build/linux/system.gyp:gio', 2934 '../build/linux/system.gyp:gio',
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
3194 ], 3202 ],
3195 'sources': [ 3203 'sources': [
3196 '<@(chrome_browser_ui_non_mobile_sources)', 3204 '<@(chrome_browser_ui_non_mobile_sources)',
3197 '<@(chrome_browser_ui_omnibox_non_mobile_sources)', 3205 '<@(chrome_browser_ui_omnibox_non_mobile_sources)',
3198 ], 3206 ],
3199 }], 3207 }],
3200 ], 3208 ],
3201 }, 3209 },
3202 ], 3210 ],
3203 } 3211 }
OLDNEW
« chrome/browser/ui/BUILD.gn ('K') | « chrome/browser/ui/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698