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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 '<@(webrtc_schema_files)', | 199 '<@(webrtc_schema_files)', |
200 ], | 200 ], |
201 }], | 201 }], |
202 ['branding=="Chrome" and chromeos==1', { | 202 ['branding=="Chrome" and chromeos==1', { |
203 'schema_files': [ | 203 'schema_files': [ |
204 '<@(chromeos_branded_schema_files)', | 204 '<@(chromeos_branded_schema_files)', |
205 ], | 205 ], |
206 }], | 206 }], |
207 ], | 207 ], |
208 'cc_dir': 'chrome/common/extensions/api', | 208 'cc_dir': 'chrome/common/extensions/api', |
209 'root_namespace': 'extensions::api', | 209 'root_namespace': 'extensions::api::%(namespace)s', |
210 }, | 210 }, |
211 'dependencies': [ | 211 'dependencies': [ |
212 # Different APIs include some headers from chrome/common that in turn | 212 # Different APIs include some headers from chrome/common that in turn |
213 # include generated headers from these targets. | 213 # include generated headers from these targets. |
214 # TODO(brettw) this should be made unnecessary if possible. | 214 # TODO(brettw) this should be made unnecessary if possible. |
215 '<(DEPTH)/components/components.gyp:component_metrics_proto', | 215 '<(DEPTH)/components/components.gyp:component_metrics_proto', |
216 | 216 |
217 '<(DEPTH)/content/content.gyp:content_browser', | 217 '<(DEPTH)/content/content.gyp:content_browser', |
218 '<(DEPTH)/skia/skia.gyp:skia', | 218 '<(DEPTH)/skia/skia.gyp:skia', |
219 '<(DEPTH)/sync/sync.gyp:sync', | 219 '<(DEPTH)/sync/sync.gyp:sync', |
220 ], | 220 ], |
221 'conditions': [ | 221 'conditions': [ |
222 ['chromeos==1', { | 222 ['chromeos==1', { |
223 'dependencies': [ | 223 'dependencies': [ |
224 '<(DEPTH)/chrome/chrome.gyp:drive_proto', | 224 '<(DEPTH)/chrome/chrome.gyp:drive_proto', |
225 ], | 225 ], |
226 }], | 226 }], |
227 ], | 227 ], |
228 }, | 228 }, |
229 ], | 229 ], |
230 } | 230 } |
OLD | NEW |