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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'common', | 8 'target_name': 'common', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'variables': { | 10 'variables': { |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 'common/extensions/unpacker.cc', | 205 'common/extensions/unpacker.cc', |
206 'common/extensions/unpacker.h', | 206 'common/extensions/unpacker.h', |
207 'common/extensions/update_manifest.cc', | 207 'common/extensions/update_manifest.cc', |
208 'common/extensions/update_manifest.h', | 208 'common/extensions/update_manifest.h', |
209 'common/extensions/user_script.cc', | 209 'common/extensions/user_script.cc', |
210 'common/extensions/user_script.h', | 210 'common/extensions/user_script.h', |
211 'common/extensions/value_counter.cc', | 211 'common/extensions/value_counter.cc', |
212 'common/extensions/value_counter.h', | 212 'common/extensions/value_counter.h', |
213 'common/extensions/api/extension_api.cc', | 213 'common/extensions/api/extension_api.cc', |
214 'common/extensions/api/extension_api.h', | 214 'common/extensions/api/extension_api.h', |
| 215 'common/extensions/api/extension_api_stub.cc', |
215 'common/external_ipc_fuzzer.h', | 216 'common/external_ipc_fuzzer.h', |
216 'common/external_ipc_fuzzer.cc', | 217 'common/external_ipc_fuzzer.cc', |
217 'common/favicon_url.cc', | 218 'common/favicon_url.cc', |
218 'common/favicon_url.h', | 219 'common/favicon_url.h', |
219 'common/form_data.cc', | 220 'common/form_data.cc', |
220 'common/form_data.h', | 221 'common/form_data.h', |
221 'common/form_data_predictions.cc', | 222 'common/form_data_predictions.cc', |
222 'common/form_data_predictions.h', | 223 'common/form_data_predictions.h', |
223 'common/form_field_data.cc', | 224 'common/form_field_data.cc', |
224 'common/form_field_data.h', | 225 'common/form_field_data.h', |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 '../third_party/mach_override/mach_override.gyp:mach_override', | 417 '../third_party/mach_override/mach_override.gyp:mach_override', |
417 ], | 418 ], |
418 'include_dirs': [ | 419 'include_dirs': [ |
419 '../third_party/GTM', | 420 '../third_party/GTM', |
420 ], | 421 ], |
421 'sources!': [ | 422 'sources!': [ |
422 'common/child_process_logging_posix.cc', | 423 'common/child_process_logging_posix.cc', |
423 'common/chrome_version_info_posix.cc', | 424 'common/chrome_version_info_posix.cc', |
424 ], | 425 ], |
425 }], | 426 }], |
| 427 ['enable_extensions==1', { |
| 428 'sources!': [ |
| 429 'common/extensions/api/extension_api_stub.cc', |
| 430 ], |
| 431 }, { # enable_extensions == 0 |
| 432 'sources/': [ |
| 433 ['exclude', '^common/extensions/api/'], |
| 434 ['include', 'common/extensions/api/extension_api_stub.cc'], |
| 435 ], |
| 436 }], |
426 ['remoting==1', { | 437 ['remoting==1', { |
427 'dependencies': [ | 438 'dependencies': [ |
428 '../remoting/remoting.gyp:remoting_client_plugin', | 439 '../remoting/remoting.gyp:remoting_client_plugin', |
429 ], | 440 ], |
430 }], | 441 }], |
431 ], | 442 ], |
432 'target_conditions': [ | 443 'target_conditions': [ |
433 ['OS == "ios"', { | 444 ['OS == "ios"', { |
434 'sources/': [ | 445 'sources/': [ |
435 # Pull in specific Mac files for iOS (which have been filtered out | 446 # Pull in specific Mac files for iOS (which have been filtered out |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 'common/metrics/proto/user_action_event.proto', | 612 'common/metrics/proto/user_action_event.proto', |
602 ], | 613 ], |
603 'variables': { | 614 'variables': { |
604 'proto_in_dir': 'common/metrics/proto', | 615 'proto_in_dir': 'common/metrics/proto', |
605 'proto_out_dir': 'chrome/common/metrics/proto', | 616 'proto_out_dir': 'chrome/common/metrics/proto', |
606 }, | 617 }, |
607 'includes': [ '../build/protoc.gypi' ], | 618 'includes': [ '../build/protoc.gypi' ], |
608 }, | 619 }, |
609 ], | 620 ], |
610 } | 621 } |
OLD | NEW |