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 'base.gypi', | 10 'base.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'base_i18n', | 14 'target_name': 'base_i18n', |
15 'type': '<(library)', | 15 'type': 'static_library', |
16 'msvs_guid': '968F3222-9798-4D21-BE08-15ECB5EF2994', | 16 'msvs_guid': '968F3222-9798-4D21-BE08-15ECB5EF2994', |
17 'dependencies': [ | 17 'dependencies': [ |
18 'base', | 18 'base', |
19 '../third_party/icu/icu.gyp:icui18n', | 19 '../third_party/icu/icu.gyp:icui18n', |
20 '../third_party/icu/icu.gyp:icuuc', | 20 '../third_party/icu/icu.gyp:icuuc', |
21 ], | 21 ], |
22 'conditions': [ | 22 'conditions': [ |
23 ['toolkit_uses_gtk==1', { | 23 ['toolkit_uses_gtk==1', { |
24 'dependencies': [ | 24 'dependencies': [ |
25 # i18n/rtl.cc uses gtk | 25 # i18n/rtl.cc uses gtk |
(...skipping 27 matching lines...) Expand all Loading... |
53 'i18n/rtl.h', | 53 'i18n/rtl.h', |
54 'i18n/time_formatting.cc', | 54 'i18n/time_formatting.cc', |
55 'i18n/time_formatting.h', | 55 'i18n/time_formatting.h', |
56 ], | 56 ], |
57 }, | 57 }, |
58 { | 58 { |
59 # This is the subset of files from base that should not be used with a | 59 # This is the subset of files from base that should not be used with a |
60 # dynamic library. Note that this library cannot depend on base because | 60 # dynamic library. Note that this library cannot depend on base because |
61 # base depends on base_static. | 61 # base depends on base_static. |
62 'target_name': 'base_static', | 62 'target_name': 'base_static', |
63 'type': '<(library)', | 63 'type': 'static_library', |
64 'sources': [ | 64 'sources': [ |
65 'base_switches.cc', | 65 'base_switches.cc', |
66 'base_switches.h', | 66 'base_switches.h', |
67 'win/pe_image.cc', | 67 'win/pe_image.cc', |
68 'win/pe_image.h', | 68 'win/pe_image.h', |
69 ], | 69 ], |
70 'include_dirs': [ | 70 'include_dirs': [ |
71 '..', | 71 '..', |
72 ], | 72 ], |
73 }, | 73 }, |
74 { | 74 { |
75 # TODO(rvargas): Remove this when gyp finally supports a clean model. | 75 # TODO(rvargas): Remove this when gyp finally supports a clean model. |
76 # See bug 36232. | 76 # See bug 36232. |
77 'target_name': 'base_static_win64', | 77 'target_name': 'base_static_win64', |
78 'type': '<(library)', | 78 'type': 'static_library', |
79 'sources': [ | 79 'sources': [ |
80 'base_switches.cc', | 80 'base_switches.cc', |
81 'base_switches.h', | 81 'base_switches.h', |
82 'win/pe_image.cc', | 82 'win/pe_image.cc', |
83 'win/pe_image.h', | 83 'win/pe_image.h', |
84 ], | 84 ], |
85 'include_dirs': [ | 85 'include_dirs': [ |
86 '..', | 86 '..', |
87 ], | 87 ], |
88 'configurations': { | 88 'configurations': { |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 'sources!': [ | 286 'sources!': [ |
287 'time_win_unittest.cc', | 287 'time_win_unittest.cc', |
288 'trace_event_win_unittest.cc', | 288 'trace_event_win_unittest.cc', |
289 'win_util_unittest.cc', | 289 'win_util_unittest.cc', |
290 ], | 290 ], |
291 }], | 291 }], |
292 ], | 292 ], |
293 }, | 293 }, |
294 { | 294 { |
295 'target_name': 'test_support_base', | 295 'target_name': 'test_support_base', |
296 'type': '<(library)', | 296 'type': 'static_library', |
297 'dependencies': [ | 297 'dependencies': [ |
298 'base', | 298 'base', |
299 'base_static', | 299 'base_static', |
300 'base_i18n', | 300 'base_i18n', |
301 '../testing/gmock.gyp:gmock', | 301 '../testing/gmock.gyp:gmock', |
302 '../testing/gtest.gyp:gtest', | 302 '../testing/gtest.gyp:gtest', |
303 ], | 303 ], |
304 'export_dependent_settings': [ | 304 'export_dependent_settings': [ |
305 'base', | 305 'base', |
306 ], | 306 ], |
(...skipping 21 matching lines...) Expand all Loading... |
328 'test/test_suite.cc', | 328 'test/test_suite.cc', |
329 'test/test_suite.h', | 329 'test/test_suite.h', |
330 'test/test_switches.cc', | 330 'test/test_switches.cc', |
331 'test/test_switches.h', | 331 'test/test_switches.h', |
332 'test/test_timeouts.cc', | 332 'test/test_timeouts.cc', |
333 'test/test_timeouts.h', | 333 'test/test_timeouts.h', |
334 ], | 334 ], |
335 }, | 335 }, |
336 { | 336 { |
337 'target_name': 'test_support_perf', | 337 'target_name': 'test_support_perf', |
338 'type': '<(library)', | 338 'type': 'static_library', |
339 'dependencies': [ | 339 'dependencies': [ |
340 'base', | 340 'base', |
341 '../testing/gtest.gyp:gtest', | 341 '../testing/gtest.gyp:gtest', |
342 ], | 342 ], |
343 'sources': [ | 343 'sources': [ |
344 'perftimer.cc', | 344 'perftimer.cc', |
345 'test/run_all_perftests.cc', | 345 'test/run_all_perftests.cc', |
346 ], | 346 ], |
347 'direct_dependent_settings': { | 347 'direct_dependent_settings': { |
348 'defines': [ | 348 'defines': [ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 ], | 380 ], |
381 }], | 381 }], |
382 ], | 382 ], |
383 } | 383 } |
384 | 384 |
385 # Local Variables: | 385 # Local Variables: |
386 # tab-width:2 | 386 # tab-width:2 |
387 # indent-tabs-mode:nil | 387 # indent-tabs-mode:nil |
388 # End: | 388 # End: |
389 # vim: set expandtab tabstop=2 shiftwidth=2: | 389 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |