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

Side by Side Diff: chrome/common/extensions/api/api.gyp

Issue 24449006: Add non_compiled_schema_files in api.gyp to disable schema model code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: upload again Created 7 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
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'api', 8 'target_name': 'api',
9 'type': 'static_library', 9 'type': 'static_library',
10 'sources': [ 10 'sources': [
11 '<@(schema_files)', 11 '<@(schema_files)',
12 ], 12 ],
13 # TODO(jschuh): http://crbug.com/167187 size_t -> int 13 # TODO(jschuh): http://crbug.com/167187 size_t -> int
14 'msvs_disabled_warnings': [ 4267 ], 14 'msvs_disabled_warnings': [ 4267 ],
15 'includes': [ 15 'includes': [
16 '../../../../build/json_schema_bundle_compile.gypi', 16 '../../../../build/json_schema_bundle_compile.gypi',
17 '../../../../build/json_schema_compile.gypi', 17 '../../../../build/json_schema_compile.gypi',
18 ], 18 ],
19 'variables': { 19 'variables': {
20 'chromium_code': 1, 20 'chromium_code': 1,
21 'conditions': [ 21 'conditions': [
22 ['OS!="android"', { 22 ['OS!="android"', {
23 'schema_files_disable_compile': [
Yoyo Zhou 2013/10/16 21:07:44 There should be a comment here explaining how this
Haojian Wu 2013/10/17 00:37:58 Done.
24 ],
23 'schema_files': [ 25 'schema_files': [
24 'activity_log_private.json', 26 'activity_log_private.json',
25 'adview.json', 27 'adview.json',
26 'alarms.idl', 28 'alarms.idl',
27 'app_current_window_internal.idl', 29 'app_current_window_internal.idl',
28 'app_runtime.idl', 30 'app_runtime.idl',
29 'app_window.idl', 31 'app_window.idl',
30 'audio.idl', 32 'audio.idl',
31 'autotest_private.idl', 33 'autotest_private.idl',
32 'bluetooth.idl', 34 'bluetooth.idl',
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 'conditions': [ 170 'conditions': [
169 ['chromeos==1', { 171 ['chromeos==1', {
170 'dependencies': [ 172 'dependencies': [
171 '<(DEPTH)/chrome/chrome.gyp:drive_proto', 173 '<(DEPTH)/chrome/chrome.gyp:drive_proto',
172 ], 174 ],
173 }], 175 }],
174 ], 176 ],
175 }, 177 },
176 ], 178 ],
177 } 179 }
OLDNEW
« build/json_schema_bundle_compile.gypi ('K') | « build/json_schema_bundle_compile.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698