Chromium Code Reviews| 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 'common/api/api.gyp:extensions_api', | |
| 15 # TODO(benwells): figure out what to do with the api target and | 14 # TODO(benwells): figure out what to do with the api target and |
| 16 # api resources compiled into the chrome resource bundle. | 15 # api resources compiled into the chrome resource bundle. |
| 17 # http://crbug.com/162530 | 16 # http://crbug.com/162530 |
| 18 '../chrome/chrome_resources.gyp:chrome_resources', | 17 '../chrome/chrome_resources.gyp:chrome_resources', |
| 19 # TODO(jamescook|derat): Pull strings into extensions module. | 18 # TODO(jamescook|derat): Pull all strings into extensions module. |
| 20 '../chrome/chrome_resources.gyp:chrome_strings', | 19 '../chrome/chrome_resources.gyp:chrome_strings', |
| 21 # Need default icons in theme_resources.grd | 20 # Need default icons in theme_resources.grd |
| 22 '../chrome/chrome_resources.gyp:theme_resources', | 21 '../chrome/chrome_resources.gyp:theme_resources', |
| 23 | 22 |
| 24 # TODO(tfarina): This dep here is for extensions/common/constants.* | 23 # TODO(tfarina): This dep here is for extensions/common/constants.* |
| 25 # We should find a way to compile this module within extensions_common. | 24 # We should find a way to compile this module within extensions_common. |
| 26 '../chrome/common_constants.gyp:common_constants', | 25 '../chrome/common_constants.gyp:common_constants', |
| 27 '../components/components.gyp:url_matcher', | 26 '../components/components.gyp:url_matcher', |
| 28 '../content/content.gyp:content_common', | 27 '../content/content.gyp:content_common', |
| 29 '../crypto/crypto.gyp:crypto', | 28 '../crypto/crypto.gyp:crypto', |
| 30 '../ipc/ipc.gyp:ipc', | 29 '../ipc/ipc.gyp:ipc', |
| 31 '../net/net.gyp:net', | 30 '../net/net.gyp:net', |
| 32 '../third_party/re2/re2.gyp:re2', | 31 '../third_party/re2/re2.gyp:re2', |
| 33 '../ui/base/ui_base.gyp:ui_base', | 32 '../ui/base/ui_base.gyp:ui_base', |
| 34 '../ui/gfx/gfx.gyp:gfx_geometry', | 33 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 35 '../url/url.gyp:url_lib', | 34 '../url/url.gyp:url_lib', |
| 35 'common/api/api.gyp:extensions_api', | |
|
James Cook
2014/04/15 23:46:39
I sorted this so everything is alphabetical.
| |
| 36 'extensions_strings.gyp:extensions_strings', | |
| 36 ], | 37 ], |
| 37 'include_dirs': [ | 38 'include_dirs': [ |
| 38 '..', | 39 '..', |
| 39 '<(INTERMEDIATE_DIR)', | 40 '<(INTERMEDIATE_DIR)', |
| 40 ], | 41 ], |
| 41 'sources': [ | 42 'sources': [ |
| 42 'common/api/messaging/message.h', | 43 'common/api/messaging/message.h', |
| 43 'common/api/sockets/sockets_manifest_data.cc', | 44 'common/api/sockets/sockets_manifest_data.cc', |
| 44 'common/api/sockets/sockets_manifest_data.h', | 45 'common/api/sockets/sockets_manifest_data.h', |
| 45 'common/api/sockets/sockets_manifest_handler.cc', | 46 'common/api/sockets/sockets_manifest_handler.cc', |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 208 'sources!': [ | 209 'sources!': [ |
| 209 'common/extension_api.cc', | 210 'common/extension_api.cc', |
| 210 ], | 211 ], |
| 211 }], | 212 }], |
| 212 ], | 213 ], |
| 213 }, | 214 }, |
| 214 { | 215 { |
| 215 'target_name': 'extensions_browser', | 216 'target_name': 'extensions_browser', |
| 216 'type': 'static_library', | 217 'type': 'static_library', |
| 217 'dependencies': [ | 218 'dependencies': [ |
| 218 'extensions_common', | |
| 219 'common/api/api.gyp:extensions_api', | |
| 220 # TODO(jamescook|derat): Pull strings into extensions module. | 219 # TODO(jamescook|derat): Pull strings into extensions module. |
| 221 '../chrome/chrome_resources.gyp:chrome_strings', | 220 '../chrome/chrome_resources.gyp:chrome_strings', |
| 222 '../components/components.gyp:keyed_service_content', | 221 '../components/components.gyp:keyed_service_content', |
| 223 '../content/content.gyp:content_browser', | 222 '../content/content.gyp:content_browser', |
| 224 '../skia/skia.gyp:skia', | 223 '../skia/skia.gyp:skia', |
| 225 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 224 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
| 225 'common/api/api.gyp:extensions_api', | |
| 226 'extensions_common', | |
| 227 'extensions_strings.gyp:extensions_strings', | |
| 226 ], | 228 ], |
| 227 'include_dirs': [ | 229 'include_dirs': [ |
| 228 '..', | 230 '..', |
| 229 '<(INTERMEDIATE_DIR)', | 231 '<(INTERMEDIATE_DIR)', |
| 230 # Needed to access generated API headers. | 232 # Needed to access generated API headers. |
| 231 '<(SHARED_INTERMEDIATE_DIR)', | 233 '<(SHARED_INTERMEDIATE_DIR)', |
| 232 # Needed for grit. | 234 # Needed for grit. |
| 233 '<(SHARED_INTERMEDIATE_DIR)/chrome', | 235 '<(SHARED_INTERMEDIATE_DIR)/chrome', |
| 234 ], | 236 ], |
| 235 'sources': [ | 237 'sources': [ |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 432 'dependencies': [ | 434 'dependencies': [ |
| 433 '../third_party/WebKit/public/blink.gyp:blink', | 435 '../third_party/WebKit/public/blink.gyp:blink', |
| 434 ], | 436 ], |
| 435 # Disable c4267 warnings until we fix size_t to int truncations. | 437 # Disable c4267 warnings until we fix size_t to int truncations. |
| 436 'msvs_disabled_warnings': [ 4267, ], | 438 'msvs_disabled_warnings': [ 4267, ], |
| 437 }, | 439 }, |
| 438 { | 440 { |
| 439 'target_name': 'extensions_test_support', | 441 'target_name': 'extensions_test_support', |
| 440 'type': 'static_library', | 442 'type': 'static_library', |
| 441 'dependencies': [ | 443 'dependencies': [ |
| 444 '../base/base.gyp:base', | |
| 445 '../testing/gtest.gyp:gtest', | |
| 442 'extensions_browser', | 446 'extensions_browser', |
| 443 'extensions_common', | 447 'extensions_common', |
| 444 '../base/base.gyp:base', | |
| 445 '../testing/gtest.gyp:gtest', | |
| 446 ], | 448 ], |
| 447 'include_dirs': [ | 449 'include_dirs': [ |
| 448 '..', | 450 '..', |
| 449 ], | 451 ], |
| 450 'sources': [ | 452 'sources': [ |
| 451 'browser/test_extensions_browser_client.cc', | 453 'browser/test_extensions_browser_client.cc', |
| 452 'browser/test_extensions_browser_client.h', | 454 'browser/test_extensions_browser_client.h', |
| 453 'browser/test_management_policy.cc', | 455 'browser/test_management_policy.cc', |
| 454 'browser/test_management_policy.h', | 456 'browser/test_management_policy.h', |
| 455 'common/extension_builder.cc', | 457 'common/extension_builder.cc', |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 468 # after that we will start the work on buildbot to get this running there. | 470 # after that we will start the work on buildbot to get this running there. |
| 469 # When we consider this stable in the bots, we can go to unit_tests target | 471 # When we consider this stable in the bots, we can go to unit_tests target |
| 470 # and remove the duplicated entries from there, otherwise if we just | 472 # and remove the duplicated entries from there, otherwise if we just |
| 471 # remove them right now we would be losing coverage. | 473 # remove them right now we would be losing coverage. |
| 472 # http://crbug.com/348066 | 474 # http://crbug.com/348066 |
| 473 'target_name': 'extensions_unittests', | 475 'target_name': 'extensions_unittests', |
| 474 'type': 'executable', | 476 'type': 'executable', |
| 475 'dependencies': [ | 477 'dependencies': [ |
| 476 '../base/base.gyp:base', | 478 '../base/base.gyp:base', |
| 477 '../base/base.gyp:test_support_base', | 479 '../base/base.gyp:test_support_base', |
| 480 '../testing/gmock.gyp:gmock', | |
|
James Cook
2014/04/15 23:46:39
I missed this before -- a couple tests below use g
| |
| 478 '../testing/gtest.gyp:gtest', | 481 '../testing/gtest.gyp:gtest', |
| 479 'extensions_common', | 482 'extensions_common', |
| 483 'extensions_strings.gyp:extensions_strings', | |
| 480 'extensions_test_support', | 484 'extensions_test_support', |
| 481 ], | 485 ], |
| 482 'sources': [ | 486 'sources': [ |
| 483 'common/api/sockets/sockets_manifest_permission_unittest.cc', | 487 'common/api/sockets/sockets_manifest_permission_unittest.cc', |
| 484 'common/csp_validator_unittest.cc', | 488 'common/csp_validator_unittest.cc', |
| 485 'common/event_filter_unittest.cc', | 489 'common/event_filter_unittest.cc', |
| 486 'common/file_util_unittest.cc', | 490 'common/file_util_unittest.cc', |
| 487 'common/id_util_unittest.cc', | 491 'common/id_util_unittest.cc', |
| 488 'common/manifest_handler_unittest.cc', | 492 'common/manifest_handler_unittest.cc', |
| 489 'common/one_shot_event_unittest.cc', | 493 'common/one_shot_event_unittest.cc', |
| 490 'common/permissions/api_permission_set_unittest.cc', | 494 'common/permissions/api_permission_set_unittest.cc', |
| 491 'common/permissions/manifest_permission_set_unittest.cc', | 495 'common/permissions/manifest_permission_set_unittest.cc', |
| 492 'common/url_pattern_set_unittest.cc', | 496 'common/url_pattern_set_unittest.cc', |
| 493 'common/url_pattern_unittest.cc', | 497 'common/url_pattern_unittest.cc', |
| 494 'common/user_script_unittest.cc', | 498 'common/user_script_unittest.cc', |
| 495 'test/extensions_unittests_main.cc', | 499 'test/extensions_unittests_main.cc', |
| 496 'test/test_extensions_client.cc', | 500 'test/test_extensions_client.cc', |
| 497 'test/test_extensions_client.h', | 501 'test/test_extensions_client.h', |
| 498 'test/test_permission_message_provider.cc', | 502 'test/test_permission_message_provider.cc', |
| 499 'test/test_permission_message_provider.h', | 503 'test/test_permission_message_provider.h', |
| 500 'test/test_permissions_provider.cc', | 504 'test/test_permissions_provider.cc', |
| 501 'test/test_permissions_provider.h', | 505 'test/test_permissions_provider.h', |
| 502 ], | 506 ], |
| 503 }, | 507 }, |
| 504 ] | 508 ] |
| 505 } | 509 } |
| OLD | NEW |