OLD | NEW |
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 # All files are stored in these lists which are referenced in the target | 6 # All files are stored in these lists which are referenced in the target |
7 # below so that the GN build of this target can read in this dictionary and | 7 # below so that the GN build of this target can read in this dictionary and |
8 # duplicate the same logic without the lists getting out-of-sync. The GN | 8 # duplicate the same logic without the lists getting out-of-sync. The GN |
9 # .gypi reader can not process conditions and does not know about targets, | 9 # .gypi reader can not process conditions and does not know about targets, |
10 # etc., it just reads Python dictionaries. | 10 # etc., it just reads Python dictionaries. |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 '<@(webrtc_schema_files)', | 198 '<@(webrtc_schema_files)', |
199 ], | 199 ], |
200 }], | 200 }], |
201 ['branding=="Chrome" and chromeos==1', { | 201 ['branding=="Chrome" and chromeos==1', { |
202 'schema_files': [ | 202 'schema_files': [ |
203 '<@(chromeos_branded_schema_files)', | 203 '<@(chromeos_branded_schema_files)', |
204 ], | 204 ], |
205 }], | 205 }], |
206 ], | 206 ], |
207 'cc_dir': 'chrome/common/extensions/api', | 207 'cc_dir': 'chrome/common/extensions/api', |
208 'root_namespace': 'extensions::api', | 208 'root_namespace': 'extensions::api::%(namespace)s', |
209 }, | 209 }, |
210 'dependencies': [ | 210 'dependencies': [ |
211 # Different APIs include some headers from chrome/common that in turn | 211 # Different APIs include some headers from chrome/common that in turn |
212 # include generated headers from these targets. | 212 # include generated headers from these targets. |
213 # TODO(brettw) this should be made unnecessary if possible. | 213 # TODO(brettw) this should be made unnecessary if possible. |
214 '<(DEPTH)/components/components.gyp:component_metrics_proto', | 214 '<(DEPTH)/components/components.gyp:component_metrics_proto', |
215 | 215 |
216 '<(DEPTH)/content/content.gyp:content_browser', | 216 '<(DEPTH)/content/content.gyp:content_browser', |
217 '<(DEPTH)/skia/skia.gyp:skia', | 217 '<(DEPTH)/skia/skia.gyp:skia', |
218 '<(DEPTH)/sync/sync.gyp:sync', | 218 '<(DEPTH)/sync/sync.gyp:sync', |
219 ], | 219 ], |
220 'conditions': [ | 220 'conditions': [ |
221 ['chromeos==1', { | 221 ['chromeos==1', { |
222 'dependencies': [ | 222 'dependencies': [ |
223 '<(DEPTH)/chrome/chrome.gyp:drive_proto', | 223 '<(DEPTH)/chrome/chrome.gyp:drive_proto', |
224 ], | 224 ], |
225 }], | 225 }], |
226 ], | 226 ], |
227 }, | 227 }, |
228 ], | 228 ], |
229 } | 229 } |
OLD | NEW |