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

Side by Side Diff: base/base.gypi

Issue 8429034: Upstream: Build net_unittests for Android. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix build Created 9 years, 1 month 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 | build/all_android.gyp » ('j') | build/common.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 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'base_target': 0, 8 'base_target': 0,
9 }, 9 },
10 'target_conditions': [ 10 'target_conditions': [
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 [ 'OS != "linux" and OS != "openbsd"', { 436 [ 'OS != "linux" and OS != "openbsd"', {
437 'sources!': [ 437 'sources!': [
438 # Not automatically excluded by the *linux.cc rules. 438 # Not automatically excluded by the *linux.cc rules.
439 'linux_util.cc', 439 'linux_util.cc',
440 ], 440 ],
441 }, 441 },
442 ], 442 ],
443 [ 'OS == "android"', { 443 [ 'OS == "android"', {
444 'sources!': [ 444 'sources!': [
445 'files/file_path_watcher_kqueue.cc', 445 'files/file_path_watcher_kqueue.cc',
446 'debug/stack_trace.cc',
447 'debug/stack_trace_posix.cc',
448 'system_monitor/system_monitor_posix.cc', 446 'system_monitor/system_monitor_posix.cc',
449 ], 447 ],
450 'sources/': [ 448 'sources/': [
451 ['include', '^native_library_linux\\.cc$'], 449 ['include', '^native_library_linux\\.cc$'],
452 ['include', '^process_util_linux\\.cc$'], 450 ['include', '^process_util_linux\\.cc$'],
453 ['include', '^sys_info_linux\\.cc$'], 451 ['include', '^sys_info_linux\\.cc$'],
454 ['include', '^sys_string_conversions_linux\\.cc$'], 452 ['include', '^sys_string_conversions_linux\\.cc$'],
455 ['include', '^worker_pool_linux\\.cc$'], 453 ['include', '^worker_pool_linux\\.cc$'],
456 # TODO(michaelbai): The below files are excluded because of the 454 # TODO(michaelbai): The below files are excluded because of the
457 # missing JNI, add them back when JNI is ready. 455 # missing JNI, add them back when JNI is ready.
458 ['exclude', '^android/'], 456 ['exclude', '^android/'],
459 ['exclude', '^message_pump_android\\.cc$'],
460 ['exclude', '^base_paths_android\\.cc$'], 457 ['exclude', '^base_paths_android\\.cc$'],
461 ['exclude', '^debug/stack_trace_android\\.cc$'], 458 ['exclude', '^debug/stack_trace_android\\.cc$'],
459 ['exclude', '^message_pump_android\\.cc$'],
462 ], 460 ],
463 }], 461 }],
464 [ 'OS != "mac"', { 462 [ 'OS != "mac"', {
465 'sources!': [ 463 'sources!': [
466 'mac/scoped_aedesc.h' 464 'mac/scoped_aedesc.h'
467 ], 465 ],
468 }], 466 }],
469 # For now, just test the *BSD platforms enough to exclude them. 467 # For now, just test the *BSD platforms enough to exclude them.
470 # Subsequent changes will include them further. 468 # Subsequent changes will include them further.
471 [ 'OS != "freebsd"', { 469 [ 'OS != "freebsd"', {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 ], 594 ],
597 }], 595 }],
598 [ 'OS == "android"', { 596 [ 'OS == "android"', {
599 'dependencies': [ 597 'dependencies': [
600 'symbolize', 598 'symbolize',
601 '../third_party/ashmem/ashmem.gyp:ashmem#target', 599 '../third_party/ashmem/ashmem.gyp:ashmem#target',
602 ], 600 ],
603 'defines': [ 601 'defines': [
604 'USE_SYMBOLIZE', 602 'USE_SYMBOLIZE',
605 ], 603 ],
606 'link_settings': {
607 'libraries': [
608 '-llog',
609 ],
610 },
611 'conditions': [ 604 'conditions': [
612 [ '_toolset=="host" and host_os=="linux"', { 605 [ '_toolset=="host" and host_os=="linux"', {
613 'dependencies': [ 606 'dependencies': [
614 '../build/linux/system.gyp:glib', 607 '../build/linux/system.gyp:glib',
615 ], 608 ],
609 'sources/': [
610 ['include', '^atomicops_internals_x86_gcc\\.cc$'],
611 ],
612 }],
613 [ '_toolset=="target"', {
614 'sources!': [
615 'debug/stack_trace.cc',
616 'debug/stack_trace_posix.cc',
617 ],
618 'link_settings': {
619 'libraries': [
620 '-llog',
621 ],
622 },
616 }], 623 }],
617 ], 624 ],
618 }], 625 }],
619 [ 'OS == "freebsd" or OS == "openbsd"', { 626 [ 'OS == "freebsd" or OS == "openbsd"', {
620 'include_dirs': [ 627 'include_dirs': [
621 '/usr/local/include', 628 '/usr/local/include',
622 ], 629 ],
623 'link_settings': { 630 'link_settings': {
624 'libraries': [ 631 'libraries': [
625 '-L/usr/local/lib -lexecinfo', 632 '-L/usr/local/lib -lexecinfo',
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 'third_party/xdg_mime/xdgmimemagic.c', 838 'third_party/xdg_mime/xdgmimemagic.c',
832 'third_party/xdg_mime/xdgmimemagic.h', 839 'third_party/xdg_mime/xdgmimemagic.h',
833 'third_party/xdg_mime/xdgmimeparent.c', 840 'third_party/xdg_mime/xdgmimeparent.c',
834 'third_party/xdg_mime/xdgmimeparent.h', 841 'third_party/xdg_mime/xdgmimeparent.h',
835 ], 842 ],
836 }, 843 },
837 ], 844 ],
838 }], 845 }],
839 ], 846 ],
840 } 847 }
OLDNEW
« no previous file with comments | « no previous file | build/all_android.gyp » ('j') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698