Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(616)

Side by Side Diff: extensions/extensions.gyp

Issue 239543005: Introduce extensions_strings.grd (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments (strings) Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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',
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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 'sources!': [ 211 'sources!': [
211 'common/extension_api.cc', 212 'common/extension_api.cc',
212 ], 213 ],
213 }], 214 }],
214 ], 215 ],
215 }, 216 },
216 { 217 {
217 'target_name': 'extensions_browser', 218 'target_name': 'extensions_browser',
218 'type': 'static_library', 219 'type': 'static_library',
219 'dependencies': [ 220 'dependencies': [
220 'extensions_common',
221 'common/api/api.gyp:extensions_api',
222 # TODO(jamescook|derat): Pull strings into extensions module. 221 # TODO(jamescook|derat): Pull strings into extensions module.
223 '../chrome/chrome_resources.gyp:chrome_strings', 222 '../chrome/chrome_resources.gyp:chrome_strings',
224 '../components/components.gyp:keyed_service_content', 223 '../components/components.gyp:keyed_service_content',
225 '../content/content.gyp:content_browser', 224 '../content/content.gyp:content_browser',
226 '../skia/skia.gyp:skia', 225 '../skia/skia.gyp:skia',
227 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 226 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
227 'common/api/api.gyp:extensions_api',
228 'extensions_common',
229 'extensions_strings.gyp:extensions_strings',
228 ], 230 ],
229 'include_dirs': [ 231 'include_dirs': [
230 '..', 232 '..',
231 '<(INTERMEDIATE_DIR)', 233 '<(INTERMEDIATE_DIR)',
232 # Needed to access generated API headers. 234 # Needed to access generated API headers.
233 '<(SHARED_INTERMEDIATE_DIR)', 235 '<(SHARED_INTERMEDIATE_DIR)',
234 # Needed for grit. 236 # Needed for grit.
235 '<(SHARED_INTERMEDIATE_DIR)/chrome', 237 '<(SHARED_INTERMEDIATE_DIR)/chrome',
236 ], 238 ],
237 'sources': [ 239 'sources': [
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 'dependencies': [ 440 'dependencies': [
439 '../third_party/WebKit/public/blink.gyp:blink', 441 '../third_party/WebKit/public/blink.gyp:blink',
440 ], 442 ],
441 # Disable c4267 warnings until we fix size_t to int truncations. 443 # Disable c4267 warnings until we fix size_t to int truncations.
442 'msvs_disabled_warnings': [ 4267, ], 444 'msvs_disabled_warnings': [ 4267, ],
443 }, 445 },
444 { 446 {
445 'target_name': 'extensions_test_support', 447 'target_name': 'extensions_test_support',
446 'type': 'static_library', 448 'type': 'static_library',
447 'dependencies': [ 449 'dependencies': [
450 '../base/base.gyp:base',
451 '../testing/gtest.gyp:gtest',
448 'extensions_browser', 452 'extensions_browser',
449 'extensions_common', 453 'extensions_common',
450 '../base/base.gyp:base',
451 '../testing/gtest.gyp:gtest',
452 ], 454 ],
453 'include_dirs': [ 455 'include_dirs': [
454 '..', 456 '..',
455 ], 457 ],
456 'sources': [ 458 'sources': [
457 'browser/test_extensions_browser_client.cc', 459 'browser/test_extensions_browser_client.cc',
458 'browser/test_extensions_browser_client.h', 460 'browser/test_extensions_browser_client.h',
459 'browser/test_management_policy.cc', 461 'browser/test_management_policy.cc',
460 'browser/test_management_policy.h', 462 'browser/test_management_policy.h',
461 'common/extension_builder.cc', 463 'common/extension_builder.cc',
(...skipping 12 matching lines...) Expand all
474 # after that we will start the work on buildbot to get this running there. 476 # after that we will start the work on buildbot to get this running there.
475 # When we consider this stable in the bots, we can go to unit_tests target 477 # When we consider this stable in the bots, we can go to unit_tests target
476 # and remove the duplicated entries from there, otherwise if we just 478 # and remove the duplicated entries from there, otherwise if we just
477 # remove them right now we would be losing coverage. 479 # remove them right now we would be losing coverage.
478 # http://crbug.com/348066 480 # http://crbug.com/348066
479 'target_name': 'extensions_unittests', 481 'target_name': 'extensions_unittests',
480 'type': 'executable', 482 'type': 'executable',
481 'dependencies': [ 483 'dependencies': [
482 '../base/base.gyp:base', 484 '../base/base.gyp:base',
483 '../base/base.gyp:test_support_base', 485 '../base/base.gyp:test_support_base',
486 '../testing/gmock.gyp:gmock',
484 '../testing/gtest.gyp:gtest', 487 '../testing/gtest.gyp:gtest',
485 'extensions_common', 488 'extensions_common',
489 'extensions_strings.gyp:extensions_strings',
486 'extensions_test_support', 490 'extensions_test_support',
487 ], 491 ],
488 'sources': [ 492 'sources': [
489 'common/api/sockets/sockets_manifest_permission_unittest.cc', 493 'common/api/sockets/sockets_manifest_permission_unittest.cc',
490 'common/csp_validator_unittest.cc', 494 'common/csp_validator_unittest.cc',
491 'common/event_filter_unittest.cc', 495 'common/event_filter_unittest.cc',
492 'common/file_util_unittest.cc', 496 'common/file_util_unittest.cc',
493 'common/id_util_unittest.cc', 497 'common/id_util_unittest.cc',
494 'common/manifest_handler_unittest.cc', 498 'common/manifest_handler_unittest.cc',
495 'common/one_shot_event_unittest.cc', 499 'common/one_shot_event_unittest.cc',
496 'common/permissions/api_permission_set_unittest.cc', 500 'common/permissions/api_permission_set_unittest.cc',
497 'common/permissions/manifest_permission_set_unittest.cc', 501 'common/permissions/manifest_permission_set_unittest.cc',
498 'common/url_pattern_set_unittest.cc', 502 'common/url_pattern_set_unittest.cc',
499 'common/url_pattern_unittest.cc', 503 'common/url_pattern_unittest.cc',
500 'common/user_script_unittest.cc', 504 'common/user_script_unittest.cc',
501 'test/extensions_unittests_main.cc', 505 'test/extensions_unittests_main.cc',
502 'test/test_extensions_client.cc', 506 'test/test_extensions_client.cc',
503 'test/test_extensions_client.h', 507 'test/test_extensions_client.h',
504 'test/test_permission_message_provider.cc', 508 'test/test_permission_message_provider.cc',
505 'test/test_permission_message_provider.h', 509 'test/test_permission_message_provider.h',
506 'test/test_permissions_provider.cc', 510 'test/test_permissions_provider.cc',
507 'test/test_permissions_provider.h', 511 'test/test_permissions_provider.h',
508 ], 512 ],
509 }, 513 },
510 ] 514 ]
511 } 515 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698