| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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': 'apps', | 8 'target_name': 'apps', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 11 # Since browser and browser_extensions actually depend on each other, | 11 # Since browser and browser_extensions actually depend on each other, |
| 12 # we must omit the dependency from browser_extensions to browser. | 12 # we must omit the dependency from browser_extensions to browser. |
| 13 # However, this means browser_extensions and browser should more or less | 13 # However, this means browser_extensions and browser should more or less |
| 14 # have the same dependencies. Once browser_extensions is untangled from | 14 # have the same dependencies. Once browser_extensions is untangled from |
| 15 # browser, then we can clean up these dependencies. | 15 # browser, then we can clean up these dependencies. |
| 16 'dependencies': [ | 16 'dependencies': [ |
| 17 'browser_extensions', | 17 'browser_extensions', |
| 18 'common/extensions/api/api.gyp:api', | 18 'common/extensions/api/api.gyp:api', |
| 19 '../skia/skia.gyp:skia', | 19 '../skia/skia.gyp:skia', |
| 20 ], | 20 ], |
| 21 'include_dirs': [ | 21 'include_dirs': [ |
| 22 '<(INTERMEDIATE_DIR)', | 22 '<(INTERMEDIATE_DIR)', |
| 23 ], | 23 ], |
| 24 'sources': [ | 24 'sources': [ |
| 25 'app_launcher.cc', |
| 26 'app_launcher.h', |
| 25 'app_restore_service.cc', | 27 'app_restore_service.cc', |
| 26 'app_restore_service.h', | 28 'app_restore_service.h', |
| 27 'app_restore_service_factory.cc', | 29 'app_restore_service_factory.cc', |
| 28 'app_restore_service_factory.h', | 30 'app_restore_service_factory.h', |
| 31 'pref_names.cc', |
| 32 'pref_names.h', |
| 33 'prefs.cc', |
| 34 'prefs.h', |
| 29 ], | 35 ], |
| 30 'conditions': [ | 36 'conditions': [ |
| 31 ['enable_extensions==0', { | 37 ['enable_extensions==0', { |
| 32 'sources/': [ | 38 'sources/': [ |
| 33 ['exclude', '^apps/'], | 39 ['exclude', '^apps/'], |
| 34 ], | 40 ], |
| 35 }], | 41 }], |
| 36 ], | 42 ], |
| 37 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 43 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 38 'msvs_disabled_warnings': [ 4267, ], | 44 'msvs_disabled_warnings': [ 4267, ], |
| 39 }, | 45 }, |
| 40 ], | 46 ], |
| 41 } | 47 } |
| OLD | NEW |