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': { |
11 'chrome_common_target': 1, | 11 'chrome_common_target': 1, |
12 # TODO(thakis): Turn this on. Blocked on g_log_function_mapping in | 12 # TODO(thakis): Turn this on. Blocked on g_log_function_mapping in |
13 # ipc_message_macros.h. http://crbug.com/101600 | 13 # ipc_message_macros.h. http://crbug.com/101600 |
14 #'enable_wexit_time_destructors': 1, | 14 #'enable_wexit_time_destructors': 1, |
15 }, | 15 }, |
16 'include_dirs': [ | 16 'include_dirs': [ |
17 '..', | 17 '..', |
18 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc. | 18 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc. |
19 ], | 19 ], |
20 'direct_dependent_settings': { | 20 'direct_dependent_settings': { |
21 'include_dirs': [ | 21 'include_dirs': [ |
22 '..', | 22 '..', |
23 ], | 23 ], |
24 }, | 24 }, |
25 'dependencies': [ | 25 'dependencies': [ |
26 # TODO(gregoryd): chrome_resources and chrome_strings could be | 26 # TODO(gregoryd): chrome_resources and chrome_strings could be |
27 # shared with the 64-bit target, but it does not work due to a gyp | 27 # shared with the 64-bit target, but it does not work due to a gyp |
28 # issue. | 28 # issue. |
| 29 'apiidlc_common', |
29 'common_constants', | 30 'common_constants', |
30 'common_net', | 31 'common_net', |
31 'common_version', | 32 'common_version', |
32 'metrics_proto', | 33 'metrics_proto', |
33 '<(DEPTH)/base/base.gyp:base', | 34 '<(DEPTH)/base/base.gyp:base', |
34 '<(DEPTH)/base/base.gyp:base_i18n', | 35 '<(DEPTH)/base/base.gyp:base_i18n', |
35 '<(DEPTH)/base/base.gyp:base_static', | 36 '<(DEPTH)/base/base.gyp:base_static', |
36 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 37 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
37 '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy', | 38 '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy', |
38 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', | 39 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 'common/metrics/proto/profiler_event.proto', | 472 'common/metrics/proto/profiler_event.proto', |
472 'common/metrics/proto/system_profile.proto', | 473 'common/metrics/proto/system_profile.proto', |
473 'common/metrics/proto/user_action_event.proto', | 474 'common/metrics/proto/user_action_event.proto', |
474 ], | 475 ], |
475 'variables': { | 476 'variables': { |
476 'proto_in_dir': 'common/metrics/proto', | 477 'proto_in_dir': 'common/metrics/proto', |
477 'proto_out_dir': 'chrome/common/metrics/proto', | 478 'proto_out_dir': 'chrome/common/metrics/proto', |
478 }, | 479 }, |
479 'includes': [ '../build/protoc.gypi' ], | 480 'includes': [ '../build/protoc.gypi' ], |
480 }, | 481 }, |
| 482 { |
| 483 'target_name': 'apiidlc_common', |
| 484 'type': 'none', |
| 485 'variables': { |
| 486 'apiidlc_in_dir': '.', |
| 487 'apiidlc_out_dir': |
| 488 '<(SHARED_INTERMEDIATE_DIR)/apiidlc_out/chrome/<(apiidlc_in_dir)', |
| 489 'source_files': [ |
| 490 'common/extensions/api/generated_messages.h.tmpl', |
| 491 ], |
| 492 'output_files': [ |
| 493 '<(apiidlc_out_dir)/common/extensions/api/generated_messages.h', |
| 494 ], |
| 495 }, |
| 496 'includes': [ '../build/apiidlc.gypi' ], |
| 497 }, |
481 ], | 498 ], |
482 } | 499 } |
OLD | NEW |