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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
11 'base.gypi', | 11 'base.gypi', |
12 ], | 12 ], |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'base_i18n', | 15 'target_name': 'base_i18n', |
16 'type': '<(component)', | 16 'type': '<(component)', |
17 'variables': { 'enable_wexit_time_destructors': 1, }, | 17 'variables': { |
| 18 'enable_wexit_time_destructors': 1, |
| 19 'optimize': 'max', |
| 20 }, |
18 'dependencies': [ | 21 'dependencies': [ |
19 'base', | 22 'base', |
20 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 23 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
21 '../third_party/icu/icu.gyp:icui18n', | 24 '../third_party/icu/icu.gyp:icui18n', |
22 '../third_party/icu/icu.gyp:icuuc', | 25 '../third_party/icu/icu.gyp:icuuc', |
23 ], | 26 ], |
24 'conditions': [ | 27 'conditions': [ |
25 ['toolkit_uses_gtk==1', { | 28 ['toolkit_uses_gtk==1', { |
26 'dependencies': [ | 29 'dependencies': [ |
27 # i18n/rtl.cc uses gtk | 30 # i18n/rtl.cc uses gtk |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 'i18n/time_formatting.cc', | 65 'i18n/time_formatting.cc', |
63 'i18n/time_formatting.h', | 66 'i18n/time_formatting.h', |
64 ], | 67 ], |
65 }, | 68 }, |
66 { | 69 { |
67 # This is the subset of files from base that should not be used with a | 70 # This is the subset of files from base that should not be used with a |
68 # dynamic library. Note that this library cannot depend on base because | 71 # dynamic library. Note that this library cannot depend on base because |
69 # base depends on base_static. | 72 # base depends on base_static. |
70 'target_name': 'base_static', | 73 'target_name': 'base_static', |
71 'type': 'static_library', | 74 'type': 'static_library', |
72 'variables': { 'enable_wexit_time_destructors': 1, }, | 75 'variables': { |
| 76 'enable_wexit_time_destructors': 1, |
| 77 'optimize': 'max', |
| 78 }, |
73 'toolsets': ['host', 'target'], | 79 'toolsets': ['host', 'target'], |
74 'sources': [ | 80 'sources': [ |
75 'base_switches.cc', | 81 'base_switches.cc', |
76 'base_switches.h', | 82 'base_switches.h', |
77 'win/pe_image.cc', | 83 'win/pe_image.cc', |
78 'win/pe_image.h', | 84 'win/pe_image.h', |
79 ], | 85 ], |
80 'include_dirs': [ | 86 'include_dirs': [ |
81 '..', | 87 '..', |
82 ], | 88 ], |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 'msvs_settings': { | 468 'msvs_settings': { |
463 'VCLinkerTool': { | 469 'VCLinkerTool': { |
464 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 470 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
465 }, | 471 }, |
466 }, | 472 }, |
467 }, | 473 }, |
468 ], | 474 ], |
469 }], | 475 }], |
470 ], | 476 ], |
471 } | 477 } |
OLD | NEW |