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

Side by Side Diff: base/base.gyp

Issue 8065017: Upstream: Android's base.gyp and base.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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/base.gypi » ('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 '../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 'dependencies': [ 17 'dependencies': [
18 'base', 18 'base',
19 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions', 19 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions',
20 '../third_party/icu/icu.gyp:icui18n', 20 '../third_party/icu/icu.gyp:icui18n',
21 '../third_party/icu/icu.gyp:icuuc', 21 '../third_party/icu/icu.gyp:icuuc',
22 ], 22 ],
23 'conditions': [ 23 'conditions': [
24 ['toolkit_uses_gtk==1', { 24 ['toolkit_uses_gtk==1', {
25 'dependencies': [ 25 'dependencies': [
26 # i18n/rtl.cc uses gtk 26 # i18n/rtl.cc uses gtk
27 '../build/linux/system.gyp:gtk', 27 '../build/linux/system.gyp:gtk',
28 ], 28 ],
29 }], 29 }],
30 # TODO(michaelbai): Override the dependencies to remove the icu.gyp,
brettw 2011/09/28 19:49:28 I don't understand this comment, I don't see anyth
michaelbai 2011/09/28 21:22:11 It removed the base_i18n's dependence on 'icu' by
31 # this should be removed once icu supported
32 ['OS == "android"', {
33 'dependencies=': [
brettw 2011/09/28 19:49:28 Why do we need these on Android and not other syst
michaelbai 2011/09/28 21:22:11 It because third_party/icu can not be built on And
34 'base',
35 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations',
36 ],
37 'sources=': [
38 ],
39 }],
30 ], 40 ],
31 'export_dependent_settings': [ 41 'export_dependent_settings': [
32 'base', 42 'base',
33 ], 43 ],
34 'defines': [ 44 'defines': [
35 'BASE_I18N_IMPLEMENTATION', 45 'BASE_I18N_IMPLEMENTATION',
36 ], 46 ],
37 'sources': [ 47 'sources': [
38 'i18n/base_i18n_export.h', 48 'i18n/base_i18n_export.h',
39 'i18n/bidi_line_iterator.cc', 49 'i18n/bidi_line_iterator.cc',
40 'i18n/bidi_line_iterator.h', 50 'i18n/bidi_line_iterator.h',
41 'i18n/break_iterator.cc', 51 'i18n/break_iterator.cc',
42 'i18n/break_iterator.h', 52 'i18n/break_iterator.h',
43 'i18n/char_iterator.cc', 53 'i18n/char_iterator.cc',
44 'i18n/char_iterator.h', 54 'i18n/char_iterator.h',
45 'i18n/case_conversion.cc', 55 'i18n/case_conversion.cc',
46 'i18n/case_conversion.h', 56 'i18n/case_conversion.h',
47 'i18n/file_util_icu.cc', 57 'i18n/file_util_icu.cc',
48 'i18n/file_util_icu.h', 58 'i18n/file_util_icu.h',
49 'i18n/icu_encoding_detection.cc', 59 'i18n/icu_encoding_detection.cc',
50 'i18n/icu_encoding_detection.h', 60 'i18n/icu_encoding_detection.h',
51 'i18n/icu_string_conversions.cc', 61 'i18n/icu_string_conversions.cc',
52 'i18n/icu_string_conversions.h', 62 'i18n/icu_string_conversions.h',
53 'i18n/icu_util.cc', 63 'i18n/icu_util.cc',
54 'i18n/icu_util.h', 64 'i18n/icu_util.h',
55 'i18n/number_formatting.cc', 65 'i18n/number_formatting.cc',
56 'i18n/number_formatting.h', 66 'i18n/number_formatting.h',
57 'i18n/rtl.cc', 67 'i18n/rtl.cc',
58 'i18n/rtl.h', 68 'i18n/rtl.h',
59 » 'i18n/string_search.cc', 69 » 'i18n/string_search.cc',
60 » 'i18n/string_search.h', 70 » 'i18n/string_search.h',
61 'i18n/time_formatting.cc', 71 'i18n/time_formatting.cc',
62 'i18n/time_formatting.h', 72 'i18n/time_formatting.h',
63 ], 73 ],
64 }, 74 },
65 { 75 {
66 # This is the subset of files from base that should not be used with a 76 # This is the subset of files from base that should not be used with a
67 # dynamic library. Note that this library cannot depend on base because 77 # dynamic library. Note that this library cannot depend on base because
68 # base depends on base_static. 78 # base depends on base_static.
69 'target_name': 'base_static', 79 'target_name': 'base_static',
70 'type': 'static_library', 80 'type': 'static_library',
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 '../testing/gtest.gyp:gtest', 260 '../testing/gtest.gyp:gtest',
251 '../third_party/icu/icu.gyp:icui18n', 261 '../third_party/icu/icu.gyp:icui18n',
252 '../third_party/icu/icu.gyp:icuuc', 262 '../third_party/icu/icu.gyp:icuuc',
253 ], 263 ],
254 'includes': ['../build/nocompile.gypi'], 264 'includes': ['../build/nocompile.gypi'],
255 'variables': { 265 'variables': {
256 # TODO(ajwong): Is there a way to autodetect this? 266 # TODO(ajwong): Is there a way to autodetect this?
257 'module_dir': 'base' 267 'module_dir': 'base'
258 }, 268 },
259 'conditions': [ 269 'conditions': [
270 ['OS == "android"', {
271 # TODO(michaelbai): Override the dependencies to remove the icu.gyp,
272 # this should be removed once icu supported
273 'dependencies=': [
274 'base',
275 'base_i18n',
276 'base_static',
277 'test_support_base',
278 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_ann otations',
279 '../testing/gmock.gyp:gmock',
280 '../testing/gtest.gyp:gtest',
281 ],
282 'sources!': [
283 # The belows are the files not compiled because of the missing icu.
284 'i18n/break_iterator_unittest.cc',
285 'i18n/char_iterator_unittest.cc',
286 'i18n/case_conversion_unittest.cc',
287 'i18n/file_util_icu_unittest.cc',
288 'i18n/icu_string_conversions_unittest.cc',
289 'i18n/number_formatting_unittest.cc',
290 'i18n/rtl_unittest.cc',
291 'i18n/string_search_unittest.cc',
292 'i18n/time_formatting_unittest.cc',
293 # Removed the below once the fix upstreamed.
294 'memory/mru_cache_unittest.cc',
295 'process_util_unittest.cc',
296 'synchronization/cancellation_flag_unittest.cc',
297 # Not linked because of the missing JNI.
298 'android/scoped_java_ref_unittest.cc',
299 'debug/stack_trace_unittest.cc',
300 ],
301 }],
260 ['use_glib==1', { 302 ['use_glib==1', {
261 'sources!': [ 303 'sources!': [
262 'file_version_info_unittest.cc', 304 'file_version_info_unittest.cc',
263 ], 305 ],
264 'conditions': [ 306 'conditions': [
265 [ 'linux_use_tcmalloc==1', { 307 [ 'linux_use_tcmalloc==1', {
266 'dependencies': [ 308 'dependencies': [
267 'allocator/allocator.gyp:allocator', 309 'allocator/allocator.gyp:allocator',
268 ], 310 ],
269 }, 311 },
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 'test/scoped_locale.h', 404 'test/scoped_locale.h',
363 'test/test_file_util.h', 405 'test/test_file_util.h',
364 'test/test_file_util_linux.cc', 406 'test/test_file_util_linux.cc',
365 'test/test_file_util_mac.cc', 407 'test/test_file_util_mac.cc',
366 'test/test_file_util_posix.cc', 408 'test/test_file_util_posix.cc',
367 'test/test_file_util_win.cc', 409 'test/test_file_util_win.cc',
368 'test/test_reg_util_win.cc', 410 'test/test_reg_util_win.cc',
369 'test/test_reg_util_win.h', 411 'test/test_reg_util_win.h',
370 'test/test_suite.cc', 412 'test/test_suite.cc',
371 'test/test_suite.h', 413 'test/test_suite.h',
414 'test/test_stub_android.cc',
372 'test/test_switches.cc', 415 'test/test_switches.cc',
373 'test/test_switches.h', 416 'test/test_switches.h',
374 'test/test_timeouts.cc', 417 'test/test_timeouts.cc',
375 'test/test_timeouts.h', 418 'test/test_timeouts.h',
376 'test/thread_test_helper.cc', 419 'test/thread_test_helper.cc',
377 'test/thread_test_helper.h', 420 'test/thread_test_helper.h',
378 ], 421 ],
379 }, 422 },
380 { 423 {
381 'target_name': 'test_support_perf', 424 'target_name': 'test_support_perf',
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 'msvs_settings': { 461 'msvs_settings': {
419 'VCLinkerTool': { 462 'VCLinkerTool': {
420 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS 463 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
421 }, 464 },
422 }, 465 },
423 }, 466 },
424 ], 467 ],
425 }], 468 }],
426 ], 469 ],
427 } 470 }
OLDNEW
« no previous file with comments | « no previous file | base/base.gypi » ('j') | base/base.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698