OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 ], | 18 ], |
19 'direct_dependent_settings': { | 19 'direct_dependent_settings': { |
20 'include_dirs': [ | 20 'include_dirs': [ |
21 '..', | 21 '..', |
22 ], | 22 ], |
23 }, | 23 }, |
24 'dependencies': [ | 24 'dependencies': [ |
25 # TODO(gregoryd): chrome_resources and chrome_strings could be | 25 # TODO(gregoryd): chrome_resources and chrome_strings could be |
26 # shared with the 64-bit target, but it does not work due to a gyp | 26 # shared with the 64-bit target, but it does not work due to a gyp |
27 # issue. | 27 # issue. |
28 'app/policy/cloud_policy_codegen.gyp:policy', | |
29 'chrome_resources.gyp:chrome_resources', | |
30 'chrome_resources.gyp:chrome_strings', | |
31 'chrome_resources.gyp:theme_resources', | |
32 'common_constants', | 28 'common_constants', |
33 'common_net', | 29 'common_net', |
34 'common_version', | 30 'common_version', |
35 '../base/base.gyp:base', | 31 '<(DEPTH)/base/base.gyp:base', |
36 '../base/base.gyp:base_i18n', | 32 '<(DEPTH)/base/base.gyp:base_i18n', |
37 '../base/base.gyp:base_static', | 33 '<(DEPTH)/base/base.gyp:base_static', |
38 '../build/temp_gyp/googleurl.gyp:googleurl', | 34 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
39 '../content/content.gyp:content_common', | 35 '<(DEPTH)/chrome/app/policy/cloud_policy_codegen.gyp:policy', |
40 '../ipc/ipc.gyp:ipc', | 36 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
41 '../net/net.gyp:net', | 37 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
42 '../printing/printing.gyp:printing', | 38 '<(DEPTH)/chrome/chrome_resources.gyp:theme_resources', |
43 '../skia/skia.gyp:skia', | 39 '<(DEPTH)/content/content.gyp:content_common', |
44 '../third_party/bzip2/bzip2.gyp:bzip2', | 40 '<(DEPTH)/ipc/ipc.gyp:ipc', |
45 '../third_party/icu/icu.gyp:icui18n', | 41 '<(DEPTH)/net/net.gyp:net', |
46 '../third_party/icu/icu.gyp:icuuc', | 42 '<(DEPTH)/printing/printing.gyp:printing', |
47 '../third_party/libxml/libxml.gyp:libxml', | 43 '<(DEPTH)/skia/skia.gyp:skia', |
48 '../third_party/sqlite/sqlite.gyp:sqlite', | 44 '<(DEPTH)/third_party/bzip2/bzip2.gyp:bzip2', |
49 '../third_party/zlib/zlib.gyp:zlib', | 45 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
50 '../ui/ui.gyp:ui_resources', | 46 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
51 '../ui/ui.gyp:ui_resources_standard', | 47 '<(DEPTH)/third_party/libxml/libxml.gyp:libxml', |
52 '../webkit/support/webkit_support.gyp:glue', | 48 '<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite', |
| 49 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', |
| 50 '<(DEPTH)/ui/ui.gyp:ui_resources', |
| 51 '<(DEPTH)/ui/ui.gyp:ui_resources_standard', |
| 52 '<(DEPTH)/webkit/support/webkit_support.gyp:glue', |
53 ], | 53 ], |
54 'sources': [ | 54 'sources': [ |
55 'common/about_handler.cc', | 55 'common/about_handler.cc', |
56 'common/about_handler.h', | 56 'common/about_handler.h', |
57 'common/all_messages.h', | 57 'common/all_messages.h', |
58 'common/attrition_experiments.h', | 58 'common/attrition_experiments.h', |
59 'common/auto_start_linux.cc', | 59 'common/auto_start_linux.cc', |
60 'common/auto_start_linux.h', | 60 'common/auto_start_linux.h', |
61 'common/autofill_messages.h', | 61 'common/autofill_messages.h', |
62 'common/automation_constants.cc', | 62 'common/automation_constants.cc', |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 'common/zip_reader.h', | 244 'common/zip_reader.h', |
245 ], | 245 ], |
246 'conditions': [ | 246 'conditions': [ |
247 ['OS=="win"', { | 247 ['OS=="win"', { |
248 'include_dirs': [ | 248 'include_dirs': [ |
249 '<(DEPTH)/third_party/wtl/include', | 249 '<(DEPTH)/third_party/wtl/include', |
250 ] | 250 ] |
251 }], | 251 }], |
252 ['OS=="win" and use_aura==0', { | 252 ['OS=="win" and use_aura==0', { |
253 'dependencies': [ | 253 'dependencies': [ |
254 'default_plugin/default_plugin.gyp:default_plugin', | 254 '<(DEPTH)/chrome/default_plugin/default_plugin.gyp:default_plugin', |
255 ] | 255 ] |
256 }], | 256 }], |
257 ['toolkit_uses_gtk == 1', { | 257 ['toolkit_uses_gtk == 1', { |
258 'dependencies': [ | 258 'dependencies': [ |
259 '../build/linux/system.gyp:gtk', | 259 '../build/linux/system.gyp:gtk', |
260 ], | 260 ], |
261 'export_dependent_settings': [ | 261 'export_dependent_settings': [ |
262 '../third_party/sqlite/sqlite.gyp:sqlite', | 262 '../third_party/sqlite/sqlite.gyp:sqlite', |
263 ], | 263 ], |
264 'link_settings': { | 264 'link_settings': { |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 'common/net/gaia/oauth_request_signer.h', | 377 'common/net/gaia/oauth_request_signer.h', |
378 'common/net/gaia/oauth2_access_token_consumer.h', | 378 'common/net/gaia/oauth2_access_token_consumer.h', |
379 'common/net/gaia/oauth2_access_token_fetcher.cc', | 379 'common/net/gaia/oauth2_access_token_fetcher.cc', |
380 'common/net/gaia/oauth2_access_token_fetcher.h', | 380 'common/net/gaia/oauth2_access_token_fetcher.h', |
381 'common/net/x509_certificate_model.cc', | 381 'common/net/x509_certificate_model.cc', |
382 'common/net/x509_certificate_model_nss.cc', | 382 'common/net/x509_certificate_model_nss.cc', |
383 'common/net/x509_certificate_model_openssl.cc', | 383 'common/net/x509_certificate_model_openssl.cc', |
384 'common/net/x509_certificate_model.h', | 384 'common/net/x509_certificate_model.h', |
385 ], | 385 ], |
386 'dependencies': [ | 386 'dependencies': [ |
387 'chrome_resources.gyp:chrome_resources', | 387 '<(DEPTH)/base/base.gyp:base', |
388 'chrome_resources.gyp:chrome_strings', | 388 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
389 '../base/base.gyp:base', | 389 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
390 '../crypto/crypto.gyp:crypto', | 390 '<(DEPTH)/crypto/crypto.gyp:crypto', |
391 '../gpu/gpu.gyp:gpu_ipc', | 391 '<(DEPTH)/gpu/gpu.gyp:gpu_ipc', |
392 '../net/net.gyp:net_resources', | 392 '<(DEPTH)/net/net.gyp:net_resources', |
393 '../net/net.gyp:net', | 393 '<(DEPTH)/net/net.gyp:net', |
394 '../third_party/icu/icu.gyp:icui18n', | 394 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', |
395 '../third_party/icu/icu.gyp:icuuc', | 395 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
396 ], | 396 ], |
397 'conditions': [ | 397 'conditions': [ |
398 ['os_posix == 1 and OS != "mac"', { | 398 ['os_posix == 1 and OS != "mac"', { |
399 'dependencies': [ | 399 'dependencies': [ |
400 '../build/linux/system.gyp:ssl', | 400 '../build/linux/system.gyp:ssl', |
401 ], | 401 ], |
402 }, | 402 }, |
403 { # else: OS is not in the above list | 403 { # else: OS is not in the above list |
404 'sources!': [ | 404 'sources!': [ |
405 'common/net/x509_certificate_model_nss.cc', | 405 'common/net/x509_certificate_model_nss.cc', |
(...skipping 25 matching lines...) Expand all Loading... |
431 'common/safe_browsing/csd.proto' | 431 'common/safe_browsing/csd.proto' |
432 ], | 432 ], |
433 'variables': { | 433 'variables': { |
434 'proto_in_dir': 'common/safe_browsing', | 434 'proto_in_dir': 'common/safe_browsing', |
435 'proto_out_dir': 'chrome/common/safe_browsing', | 435 'proto_out_dir': 'chrome/common/safe_browsing', |
436 }, | 436 }, |
437 'includes': [ '../build/protoc.gypi' ], | 437 'includes': [ '../build/protoc.gypi' ], |
438 }, | 438 }, |
439 ], | 439 ], |
440 } | 440 } |
OLD | NEW |