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

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') | no next file with comments »
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',
64 'win/pe_image.cc', 65 'win/pe_image.cc',
65 'win/pe_image.h', 66 'win/pe_image.h',
66 ], 67 ],
67 'include_dirs': [ 68 'include_dirs': [
68 '..', 69 '..',
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 'win/scoped_comptr_unittest.cc', 214 'win/scoped_comptr_unittest.cc',
214 'win/scoped_variant_unittest.cc', 215 'win/scoped_variant_unittest.cc',
215 'win/win_util_unittest.cc', 216 'win/win_util_unittest.cc',
216 'win/wrapped_window_proc_unittest.cc', 217 'win/wrapped_window_proc_unittest.cc',
217 ], 218 ],
218 'dependencies': [ 219 'dependencies': [
219 'base', 220 'base',
220 'base_i18n', 221 'base_i18n',
221 'base_static', 222 'base_static',
222 'test_support_base', 223 'test_support_base',
224 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions',
223 '../testing/gmock.gyp:gmock', 225 '../testing/gmock.gyp:gmock',
224 '../testing/gtest.gyp:gtest', 226 '../testing/gtest.gyp:gtest',
225 ], 227 ],
226 'conditions': [ 228 'conditions': [
227 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris" ', { 229 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris" ', {
228 'sources!': [ 230 'sources!': [
229 'file_version_info_unittest.cc', 231 'file_version_info_unittest.cc',
230 ], 232 ],
231 'sources': [ 233 'sources': [
232 'nix/xdg_util_unittest.cc', 234 'nix/xdg_util_unittest.cc',
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 'win_util_unittest.cc', 273 'win_util_unittest.cc',
272 ], 274 ],
273 }], 275 }],
274 ], 276 ],
275 }, 277 },
276 { 278 {
277 'target_name': 'test_support_base', 279 'target_name': 'test_support_base',
278 'type': '<(library)', 280 'type': '<(library)',
279 'dependencies': [ 281 'dependencies': [
280 'base', 282 'base',
283 'base_static',
281 'base_i18n', 284 'base_i18n',
282 '../testing/gmock.gyp:gmock', 285 '../testing/gmock.gyp:gmock',
283 '../testing/gtest.gyp:gtest', 286 '../testing/gtest.gyp:gtest',
284 ], 287 ],
288 'export_dependent_settings': [
289 'base',
290 ],
285 'conditions': [ 291 'conditions': [
286 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 292 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
287 'dependencies': [ 293 'dependencies': [
288 # test_suite initializes GTK. 294 # test_suite initializes GTK.
289 '../build/linux/system.gyp:gtk', 295 '../build/linux/system.gyp:gtk',
290 ], 296 ],
291 }], 297 }],
292 ], 298 ],
293 'sources': [ 299 'sources': [
294 'perftimer.cc', 300 'perftimer.cc',
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 ], 364 ],
359 }], 365 }],
360 ], 366 ],
361 } 367 }
362 368
363 # Local Variables: 369 # Local Variables:
364 # tab-width:2 370 # tab-width:2
365 # indent-tabs-mode:nil 371 # indent-tabs-mode:nil
366 # End: 372 # End:
367 # vim: set expandtab tabstop=2 shiftwidth=2: 373 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | base/base.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698