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

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: move localized 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.
20 '../chrome/chrome_resources.gyp:chrome_strings',
21 # Need default icons in theme_resources.grd 18 # Need default icons in theme_resources.grd
22 '../chrome/chrome_resources.gyp:theme_resources', 19 '../chrome/chrome_resources.gyp:theme_resources',
23 20
24 # TODO(tfarina): This dep here is for extensions/common/constants.* 21 # TODO(tfarina): This dep here is for extensions/common/constants.*
25 # We should find a way to compile this module within extensions_common. 22 # We should find a way to compile this module within extensions_common.
26 '../chrome/common_constants.gyp:common_constants', 23 '../chrome/common_constants.gyp:common_constants',
27 '../components/components.gyp:url_matcher', 24 '../components/components.gyp:url_matcher',
28 '../content/content.gyp:content_common', 25 '../content/content.gyp:content_common',
29 '../crypto/crypto.gyp:crypto', 26 '../crypto/crypto.gyp:crypto',
30 '../ipc/ipc.gyp:ipc', 27 '../ipc/ipc.gyp:ipc',
31 '../net/net.gyp:net', 28 '../net/net.gyp:net',
32 '../third_party/re2/re2.gyp:re2', 29 '../third_party/re2/re2.gyp:re2',
33 '../ui/base/ui_base.gyp:ui_base', 30 '../ui/base/ui_base.gyp:ui_base',
34 '../ui/gfx/gfx.gyp:gfx_geometry', 31 '../ui/gfx/gfx.gyp:gfx_geometry',
35 '../url/url.gyp:url_lib', 32 '../url/url.gyp:url_lib',
33 'common/api/api.gyp:extensions_api',
34 'extensions_strings.gyp:extensions_strings',
36 ], 35 ],
37 'include_dirs': [ 36 'include_dirs': [
38 '..', 37 '..',
39 '<(INTERMEDIATE_DIR)', 38 '<(INTERMEDIATE_DIR)',
40 ], 39 ],
41 'sources': [ 40 'sources': [
42 'common/api/messaging/message.h', 41 'common/api/messaging/message.h',
43 'common/api/sockets/sockets_manifest_data.cc', 42 'common/api/sockets/sockets_manifest_data.cc',
44 'common/api/sockets/sockets_manifest_data.h', 43 'common/api/sockets/sockets_manifest_data.h',
45 'common/api/sockets/sockets_manifest_handler.cc', 44 'common/api/sockets/sockets_manifest_handler.cc',
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 'sources!': [ 209 'sources!': [
211 'common/extension_api.cc', 210 'common/extension_api.cc',
212 ], 211 ],
213 }], 212 }],
214 ], 213 ],
215 }, 214 },
216 { 215 {
217 'target_name': 'extensions_browser', 216 'target_name': 'extensions_browser',
218 'type': 'static_library', 217 'type': 'static_library',
219 'dependencies': [ 218 'dependencies': [
220 'extensions_common',
221 'common/api/api.gyp:extensions_api',
222 # TODO(jamescook|derat): Pull strings into extensions module.
223 '../chrome/chrome_resources.gyp:chrome_strings',
224 '../components/components.gyp:keyed_service_content', 219 '../components/components.gyp:keyed_service_content',
225 '../content/content.gyp:content_browser', 220 '../content/content.gyp:content_browser',
226 '../skia/skia.gyp:skia', 221 '../skia/skia.gyp:skia',
227 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 222 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
223 'common/api/api.gyp:extensions_api',
224 'extensions_common',
225 'extensions_strings.gyp:extensions_strings',
228 ], 226 ],
229 'include_dirs': [ 227 'include_dirs': [
230 '..', 228 '..',
231 '<(INTERMEDIATE_DIR)', 229 '<(INTERMEDIATE_DIR)',
232 # Needed to access generated API headers. 230 # Needed to access generated API headers.
233 '<(SHARED_INTERMEDIATE_DIR)', 231 '<(SHARED_INTERMEDIATE_DIR)',
234 # Needed for grit. 232 # Needed for grit.
235 '<(SHARED_INTERMEDIATE_DIR)/chrome', 233 '<(SHARED_INTERMEDIATE_DIR)/chrome',
236 ], 234 ],
237 'sources': [ 235 'sources': [
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 'dependencies': [ 436 'dependencies': [
439 '../third_party/WebKit/public/blink.gyp:blink', 437 '../third_party/WebKit/public/blink.gyp:blink',
440 ], 438 ],
441 # Disable c4267 warnings until we fix size_t to int truncations. 439 # Disable c4267 warnings until we fix size_t to int truncations.
442 'msvs_disabled_warnings': [ 4267, ], 440 'msvs_disabled_warnings': [ 4267, ],
443 }, 441 },
444 { 442 {
445 'target_name': 'extensions_test_support', 443 'target_name': 'extensions_test_support',
446 'type': 'static_library', 444 'type': 'static_library',
447 'dependencies': [ 445 'dependencies': [
446 '../base/base.gyp:base',
447 '../testing/gtest.gyp:gtest',
448 'extensions_browser', 448 'extensions_browser',
449 'extensions_common', 449 'extensions_common',
450 '../base/base.gyp:base',
451 '../testing/gtest.gyp:gtest',
452 ], 450 ],
453 'include_dirs': [ 451 'include_dirs': [
454 '..', 452 '..',
455 ], 453 ],
456 'sources': [ 454 'sources': [
457 'browser/test_extensions_browser_client.cc', 455 'browser/test_extensions_browser_client.cc',
458 'browser/test_extensions_browser_client.h', 456 'browser/test_extensions_browser_client.h',
459 'browser/test_management_policy.cc', 457 'browser/test_management_policy.cc',
460 'browser/test_management_policy.h', 458 'browser/test_management_policy.h',
461 'common/extension_builder.cc', 459 '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. 472 # 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 473 # 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 474 # and remove the duplicated entries from there, otherwise if we just
477 # remove them right now we would be losing coverage. 475 # remove them right now we would be losing coverage.
478 # http://crbug.com/348066 476 # http://crbug.com/348066
479 'target_name': 'extensions_unittests', 477 'target_name': 'extensions_unittests',
480 'type': 'executable', 478 'type': 'executable',
481 'dependencies': [ 479 'dependencies': [
482 '../base/base.gyp:base', 480 '../base/base.gyp:base',
483 '../base/base.gyp:test_support_base', 481 '../base/base.gyp:test_support_base',
482 '../testing/gmock.gyp:gmock',
484 '../testing/gtest.gyp:gtest', 483 '../testing/gtest.gyp:gtest',
485 'extensions_common', 484 'extensions_common',
485 'extensions_strings.gyp:extensions_strings',
486 'extensions_test_support', 486 'extensions_test_support',
487 ], 487 ],
488 'sources': [ 488 'sources': [
489 'common/api/sockets/sockets_manifest_permission_unittest.cc', 489 'common/api/sockets/sockets_manifest_permission_unittest.cc',
490 'common/csp_validator_unittest.cc', 490 'common/csp_validator_unittest.cc',
491 'common/event_filter_unittest.cc', 491 'common/event_filter_unittest.cc',
492 'common/file_util_unittest.cc', 492 'common/file_util_unittest.cc',
493 'common/id_util_unittest.cc', 493 'common/id_util_unittest.cc',
494 'common/manifest_handler_unittest.cc', 494 'common/manifest_handler_unittest.cc',
495 'common/one_shot_event_unittest.cc', 495 'common/one_shot_event_unittest.cc',
496 'common/permissions/api_permission_set_unittest.cc', 496 'common/permissions/api_permission_set_unittest.cc',
497 'common/permissions/manifest_permission_set_unittest.cc', 497 'common/permissions/manifest_permission_set_unittest.cc',
498 'common/url_pattern_set_unittest.cc', 498 'common/url_pattern_set_unittest.cc',
499 'common/url_pattern_unittest.cc', 499 'common/url_pattern_unittest.cc',
500 'common/user_script_unittest.cc', 500 'common/user_script_unittest.cc',
501 'test/extensions_unittests_main.cc', 501 'test/extensions_unittests_main.cc',
502 'test/test_extensions_client.cc', 502 'test/test_extensions_client.cc',
503 'test/test_extensions_client.h', 503 'test/test_extensions_client.h',
504 'test/test_permission_message_provider.cc', 504 'test/test_permission_message_provider.cc',
505 'test/test_permission_message_provider.h', 505 'test/test_permission_message_provider.h',
506 'test/test_permissions_provider.cc', 506 'test/test_permissions_provider.cc',
507 'test/test_permissions_provider.h', 507 'test/test_permissions_provider.h',
508 ], 508 ],
509 }, 509 },
510 ] 510 ]
511 } 511 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698