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

Side by Side Diff: chrome/browser/extensions/api/api_registration.gyp

Issue 680213003: Cleanup: Remove most enable_extensions logic in chrome/ extensions code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //chrome/browser/extensions/api:api_registration 8 # GN version: //chrome/browser/extensions/api:api_registration
9 'target_name': 'chrome_api_registration', 9 'target_name': 'chrome_api_registration',
10 'type': 'static_library', 10 'type': 'static_library',
11 # TODO(jschuh): http://crbug.com/167187 size_t -> int 11 # TODO(jschuh): http://crbug.com/167187 size_t -> int
12 'msvs_disabled_warnings': [ 4267 ], 12 'msvs_disabled_warnings': [ 4267 ],
13 'includes': [ 13 'includes': [
14 '../../../../build/json_schema_bundle_registration_compile.gypi', 14 '../../../../build/json_schema_bundle_registration_compile.gypi',
15 '../../../common/extensions/api/schemas.gypi', 15 '../../../common/extensions/api/schemas.gypi',
16 ], 16 ],
17 'dependencies': [ 17 'dependencies': [
18 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api', 18 '<(DEPTH)/chrome/common/extensions/api/api.gyp:chrome_api',
19 # Different APIs include some headers from chrome/common that in turn 19 # Different APIs include some headers from chrome/common that in turn
20 # include generated headers from these targets. 20 # include generated headers from these targets.
21 # TODO(brettw) this should be made unnecessary if possible. 21 # TODO(brettw) this should be made unnecessary if possible.
22 '<(DEPTH)/components/components.gyp:component_metrics_proto', 22 '<(DEPTH)/components/components.gyp:component_metrics_proto',
23 '<(DEPTH)/components/components.gyp:copresence_proto',
23 '<(DEPTH)/skia/skia.gyp:skia', 24 '<(DEPTH)/skia/skia.gyp:skia',
24 '<(DEPTH)/sync/sync.gyp:sync', 25 '<(DEPTH)/sync/sync.gyp:sync',
25 '<(DEPTH)/ui/accessibility/accessibility.gyp:ax_gen', 26 '<(DEPTH)/ui/accessibility/accessibility.gyp:ax_gen',
26 ], 27 ],
27 'conditions': [ 28 'conditions': [
28 ['OS != "ios" and OS != "android"', {
29 'dependencies': [
30 '<(DEPTH)/components/components.gyp:copresence_proto',
31 ],
32 }],
33 ['chromeos==1', { 29 ['chromeos==1', {
34 'dependencies': [ 30 'dependencies': [
35 '<(DEPTH)/chrome/chrome.gyp:drive_proto', 31 '<(DEPTH)/chrome/chrome.gyp:drive_proto',
36 ], 32 ],
37 }], 33 }],
38 ], 34 ],
39 }, 35 },
40 ], 36 ],
41 } 37 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chrome/browser/ui/webui/extensions/extension_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698