| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 | 6 |
| 7 # GYP version: extensions/extensions.gyp:extensions_common | 7 # GYP version: extensions/extensions.gyp:extensions_common |
| 8 source_set("common") { | 8 source_set("common") { |
| 9 sources = [ | 9 sources = [ |
| 10 "api/messaging/message.h", | 10 "api/messaging/message.h", |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 "permissions/socket_permission_entry.cc", | 158 "permissions/socket_permission_entry.cc", |
| 159 "permissions/socket_permission_entry.h", | 159 "permissions/socket_permission_entry.h", |
| 160 "permissions/usb_device_permission.cc", | 160 "permissions/usb_device_permission.cc", |
| 161 "permissions/usb_device_permission.h", | 161 "permissions/usb_device_permission.h", |
| 162 "permissions/usb_device_permission_data.cc", | 162 "permissions/usb_device_permission_data.cc", |
| 163 "permissions/usb_device_permission_data.h", | 163 "permissions/usb_device_permission_data.h", |
| 164 "stack_frame.cc", | 164 "stack_frame.cc", |
| 165 "stack_frame.h", | 165 "stack_frame.h", |
| 166 "switches.cc", | 166 "switches.cc", |
| 167 "switches.h", | 167 "switches.h", |
| 168 "update_manifest.cc", |
| 169 "update_manifest.h", |
| 168 "url_pattern.cc", | 170 "url_pattern.cc", |
| 169 "url_pattern.h", | 171 "url_pattern.h", |
| 170 "url_pattern_set.cc", | 172 "url_pattern_set.cc", |
| 171 "url_pattern_set.h", | 173 "url_pattern_set.h", |
| 172 "user_script.cc", | 174 "user_script.cc", |
| 173 "user_script.h", | 175 "user_script.h", |
| 174 "value_counter.cc", | 176 "value_counter.cc", |
| 175 "value_counter.h", | 177 "value_counter.h", |
| 176 "view_type.cc", | 178 "view_type.cc", |
| 177 "view_type.h", | 179 "view_type.h", |
| 178 ] | 180 ] |
| 179 | 181 |
| 180 deps = [ | 182 deps = [ |
| 181 # TODO(benwells): figure out what to do with the api target and | 183 # TODO(benwells): figure out what to do with the api target and |
| 182 # api resources compiled into the chrome resource bundle. | 184 # api resources compiled into the chrome resource bundle. |
| 183 # http://crbug.com/162530 | 185 # http://crbug.com/162530 |
| 184 "//chrome:resources", | 186 "//chrome:resources", |
| 185 "//components/crx_file", | 187 "//components/crx_file", |
| 186 "//components/url_matcher", | 188 "//components/url_matcher", |
| 187 "//content/public/common", | 189 "//content/public/common", |
| 188 "//crypto", | 190 "//crypto", |
| 189 "//extensions/common/api", | 191 "//extensions/common/api", |
| 190 "//extensions/strings", | 192 "//extensions/strings", |
| 191 "//ipc", | 193 "//ipc", |
| 192 "//net", | 194 "//net", |
| 193 "//third_party/icu", | 195 "//third_party/icu", |
| 196 "//third_party/libxml", |
| 194 "//third_party/re2", | 197 "//third_party/re2", |
| 195 "//ui/base", | 198 "//ui/base", |
| 196 "//ui/gfx/geometry", | 199 "//ui/gfx/geometry", |
| 197 "//ui/gfx/ipc", | 200 "//ui/gfx/ipc", |
| 198 "//url", | 201 "//url", |
| 199 ] | 202 ] |
| 200 | 203 |
| 201 if (enable_extensions) { | 204 if (enable_extensions) { |
| 202 sources -= [ | 205 sources -= [ |
| 203 "extension_api_stub.cc", | 206 "extension_api_stub.cc", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 227 "manifest_handlers/nacl_modules_handler.h", | 230 "manifest_handlers/nacl_modules_handler.h", |
| 228 ] | 231 ] |
| 229 } | 232 } |
| 230 | 233 |
| 231 if (is_win) { | 234 if (is_win) { |
| 232 cflags = [ | 235 cflags = [ |
| 233 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 236 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 234 ] | 237 ] |
| 235 } | 238 } |
| 236 } | 239 } |
| OLD | NEW |