| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'extensions_common', | 11 'target_name': 'extensions_common', |
| 12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 # TODO(benwells): figure out what to do with the api target and |
| 15 # api resources compiled into the chrome resource bundle. |
| 16 # http://crbug.com/162530 |
| 17 '../chrome/chrome_resources.gyp:chrome_resources', |
| 18 '../chrome/common/extensions/api/api.gyp:api', |
| 14 '../content/content.gyp:content_common', | 19 '../content/content.gyp:content_common', |
| 15 '../third_party/re2/re2.gyp:re2', | 20 '../third_party/re2/re2.gyp:re2', |
| 16 ], | 21 ], |
| 17 'include_dirs': [ | 22 'include_dirs': [ |
| 18 '..', | 23 '..', |
| 19 '<(INTERMEDIATE_DIR)', | 24 '<(INTERMEDIATE_DIR)', |
| 20 ], | 25 ], |
| 21 'sources': [ | 26 'sources': [ |
| 22 'common/crx_file.cc', | 27 'common/crx_file.cc', |
| 23 'common/crx_file.h', | 28 'common/crx_file.h', |
| 24 'common/draggable_region.cc', | 29 'common/draggable_region.cc', |
| 25 'common/draggable_region.h', | 30 'common/draggable_region.h', |
| 26 'common/error_utils.cc', | 31 'common/error_utils.cc', |
| 27 'common/error_utils.h', | 32 'common/error_utils.h', |
| 28 'common/event_filter.cc', | 33 'common/event_filter.cc', |
| 29 'common/event_filter.h', | 34 'common/event_filter.h', |
| 30 'common/event_filtering_info.cc', | 35 'common/event_filtering_info.cc', |
| 31 'common/event_filtering_info.h', | 36 'common/event_filtering_info.h', |
| 32 'common/event_matcher.cc', | 37 'common/event_matcher.cc', |
| 33 'common/event_matcher.h', | 38 'common/event_matcher.h', |
| 39 'common/extension_api.cc', |
| 40 'common/extension_api.h', |
| 41 'common/extension_api_stub.cc', |
| 34 'common/extension_paths.cc', | 42 'common/extension_paths.cc', |
| 35 'common/extension_paths.h', | 43 'common/extension_paths.h', |
| 36 'common/extension_resource.cc', | 44 'common/extension_resource.cc', |
| 37 'common/extension_resource.h', | 45 'common/extension_resource.h', |
| 38 'common/extension_urls.cc', | 46 'common/extension_urls.cc', |
| 39 'common/extension_urls.h', | 47 'common/extension_urls.h', |
| 40 'common/extensions_client.cc', | 48 'common/extensions_client.cc', |
| 41 'common/extensions_client.h', | 49 'common/extensions_client.h', |
| 42 'common/features/feature.cc', | 50 'common/features/feature.cc', |
| 43 'common/features/feature.h', | 51 'common/features/feature.h', |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 'common/url_pattern.h', | 96 'common/url_pattern.h', |
| 89 'common/url_pattern_set.cc', | 97 'common/url_pattern_set.cc', |
| 90 'common/url_pattern_set.h', | 98 'common/url_pattern_set.h', |
| 91 'common/user_script.cc', | 99 'common/user_script.cc', |
| 92 'common/user_script.h', | 100 'common/user_script.h', |
| 93 'common/view_type.cc', | 101 'common/view_type.cc', |
| 94 'common/view_type.h', | 102 'common/view_type.h', |
| 95 ], | 103 ], |
| 96 # Disable c4267 warnings until we fix size_t to int truncations. | 104 # Disable c4267 warnings until we fix size_t to int truncations. |
| 97 'msvs_disabled_warnings': [ 4267, ], | 105 'msvs_disabled_warnings': [ 4267, ], |
| 106 'conditions': [ |
| 107 ['enable_extensions==1', { |
| 108 'sources!': [ |
| 109 'common/extension_api_stub.cc', |
| 110 ], |
| 111 }, { # enable_extensions == 0 |
| 112 'sources!': [ |
| 113 'common/extension_api.cc', |
| 114 ], |
| 115 }], |
| 116 ], |
| 98 }, | 117 }, |
| 99 { | 118 { |
| 100 'target_name': 'extensions_browser', | 119 'target_name': 'extensions_browser', |
| 101 'type': 'static_library', | 120 'type': 'static_library', |
| 102 'dependencies': [ | 121 'dependencies': [ |
| 103 'extensions_common', | 122 'extensions_common', |
| 104 '../content/content.gyp:content_browser', | 123 '../content/content.gyp:content_browser', |
| 105 '../skia/skia.gyp:skia', | 124 '../skia/skia.gyp:skia', |
| 106 ], | 125 ], |
| 107 'include_dirs': [ | 126 'include_dirs': [ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 123 'browser/pref_names.cc', | 142 'browser/pref_names.cc', |
| 124 'browser/pref_names.h', | 143 'browser/pref_names.h', |
| 125 'browser/view_type_utils.cc', | 144 'browser/view_type_utils.cc', |
| 126 'browser/view_type_utils.h', | 145 'browser/view_type_utils.h', |
| 127 ], | 146 ], |
| 128 # Disable c4267 warnings until we fix size_t to int truncations. | 147 # Disable c4267 warnings until we fix size_t to int truncations. |
| 129 'msvs_disabled_warnings': [ 4267, ], | 148 'msvs_disabled_warnings': [ 4267, ], |
| 130 }, | 149 }, |
| 131 ] | 150 ] |
| 132 } | 151 } |
| OLD | NEW |