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

Side by Side Diff: base/base.gyp

Issue 6877053: Base: More adjustments to BASE_API and project dependencies to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « no previous file | base/base.gypi » ('j') | base/string_util_static.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 'i18n/number_formatting.cc', 48 'i18n/number_formatting.cc',
49 'i18n/number_formatting.h', 49 'i18n/number_formatting.h',
50 'i18n/rtl.cc', 50 'i18n/rtl.cc',
51 'i18n/rtl.h', 51 'i18n/rtl.h',
52 'i18n/time_formatting.cc', 52 'i18n/time_formatting.cc',
53 'i18n/time_formatting.h', 53 'i18n/time_formatting.h',
54 ], 54 ],
55 }, 55 },
56 { 56 {
57 # This is the subset of files from base that should not be used with a 57 # This is the subset of files from base that should not be used with a
58 # dynamic library. 58 # dynamic library. Note that this library cannot depend on base because
59 # base depends on base_static.
59 'target_name': 'base_static', 60 'target_name': 'base_static',
60 'type': '<(library)', 61 'type': '<(library)',
61 'sources': [ 62 'sources': [
62 'base_switches.cc', 63 'base_switches.cc',
63 'base_switches.h', 64 'base_switches.h',
65 'string_util_static.cc',
66 'string_util_static.h',
64 'win/pe_image.cc', 67 'win/pe_image.cc',
65 'win/pe_image.h', 68 'win/pe_image.h',
66 ], 69 ],
67 'include_dirs': [ 70 'include_dirs': [
68 '..', 71 '..',
69 ], 72 ],
70 }, 73 },
71 { 74 {
72 # TODO(rvargas): Remove this when gyp finally supports a clean model. 75 # TODO(rvargas): Remove this when gyp finally supports a clean model.
73 # See bug 36232. 76 # See bug 36232.
74 'target_name': 'base_static_win64', 77 'target_name': 'base_static_win64',
75 'type': '<(library)', 78 'type': '<(library)',
76 'sources': [ 79 'sources': [
77 'base_switches.cc', 80 'base_switches.cc',
78 'base_switches.h', 81 'base_switches.h',
82 'string_util_static.cc',
83 'string_util_static.h',
79 'win/pe_image.cc', 84 'win/pe_image.cc',
80 'win/pe_image.h', 85 'win/pe_image.h',
81 ], 86 ],
82 'include_dirs': [ 87 'include_dirs': [
83 '..', 88 '..',
84 ], 89 ],
85 'configurations': { 90 'configurations': {
86 'Common_Base': { 91 'Common_Base': {
87 'msvs_target_platform': 'x64', 92 'msvs_target_platform': 'x64',
88 }, 93 },
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 'win/scoped_comptr_unittest.cc', 218 'win/scoped_comptr_unittest.cc',
214 'win/scoped_variant_unittest.cc', 219 'win/scoped_variant_unittest.cc',
215 'win/win_util_unittest.cc', 220 'win/win_util_unittest.cc',
216 'win/wrapped_window_proc_unittest.cc', 221 'win/wrapped_window_proc_unittest.cc',
217 ], 222 ],
218 'dependencies': [ 223 'dependencies': [
219 'base', 224 'base',
220 'base_i18n', 225 'base_i18n',
221 'base_static', 226 'base_static',
222 'test_support_base', 227 'test_support_base',
228 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions',
223 '../testing/gmock.gyp:gmock', 229 '../testing/gmock.gyp:gmock',
224 '../testing/gtest.gyp:gtest', 230 '../testing/gtest.gyp:gtest',
225 ], 231 ],
226 'conditions': [ 232 'conditions': [
227 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris" ', { 233 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris" ', {
228 'sources!': [ 234 'sources!': [
229 'file_version_info_unittest.cc', 235 'file_version_info_unittest.cc',
230 ], 236 ],
231 'sources': [ 237 'sources': [
232 'nix/xdg_util_unittest.cc', 238 'nix/xdg_util_unittest.cc',
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 'win_util_unittest.cc', 277 'win_util_unittest.cc',
272 ], 278 ],
273 }], 279 }],
274 ], 280 ],
275 }, 281 },
276 { 282 {
277 'target_name': 'test_support_base', 283 'target_name': 'test_support_base',
278 'type': '<(library)', 284 'type': '<(library)',
279 'dependencies': [ 285 'dependencies': [
280 'base', 286 'base',
287 'base_static',
281 'base_i18n', 288 'base_i18n',
282 '../testing/gmock.gyp:gmock', 289 '../testing/gmock.gyp:gmock',
283 '../testing/gtest.gyp:gtest', 290 '../testing/gtest.gyp:gtest',
284 ], 291 ],
292 'export_dependent_settings': [
293 'base',
294 ],
285 'conditions': [ 295 'conditions': [
286 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 296 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
287 'dependencies': [ 297 'dependencies': [
288 # test_suite initializes GTK. 298 # test_suite initializes GTK.
289 '../build/linux/system.gyp:gtk', 299 '../build/linux/system.gyp:gtk',
290 ], 300 ],
291 }], 301 }],
292 ], 302 ],
293 'sources': [ 303 'sources': [
294 'perftimer.cc', 304 'perftimer.cc',
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 ], 368 ],
359 }], 369 }],
360 ], 370 ],
361 } 371 }
362 372
363 # Local Variables: 373 # Local Variables:
364 # tab-width:2 374 # tab-width:2
365 # indent-tabs-mode:nil 375 # indent-tabs-mode:nil
366 # End: 376 # End:
367 # vim: set expandtab tabstop=2 shiftwidth=2: 377 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | base/base.gypi » ('j') | base/string_util_static.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698