OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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': [ |
11 # This part is shared between the targets defined below. | 11 # This part is shared between the targets defined below. |
12 ['base_target==1', { | 12 ['base_target==1', { |
13 'sources': [ | 13 'sources': [ |
14 '../build/build_config.h', | 14 '../build/build_config.h', |
15 'third_party/dmg_fp/dmg_fp.h', | 15 'third_party/dmg_fp/dmg_fp.h', |
16 'third_party/dmg_fp/g_fmt.cc', | 16 'third_party/dmg_fp/g_fmt.cc', |
17 'third_party/dmg_fp/dtoa_wrapper.cc', | 17 'third_party/dmg_fp/dtoa_wrapper.cc', |
18 'third_party/icu/icu_utf.cc', | 18 'third_party/icu/icu_utf.cc', |
19 'third_party/icu/icu_utf.h', | 19 'third_party/icu/icu_utf.h', |
| 20 'third_party/nspr/prcpucfg.h', |
| 21 'third_party/nspr/prcpucfg_freebsd.h', |
| 22 'third_party/nspr/prcpucfg_linux.h', |
| 23 'third_party/nspr/prcpucfg_mac.h', |
| 24 'third_party/nspr/prcpucfg_nacl.h', |
| 25 'third_party/nspr/prcpucfg_openbsd.h', |
| 26 'third_party/nspr/prcpucfg_solaris.h', |
| 27 'third_party/nspr/prcpucfg_win.h', |
20 'third_party/nspr/prtime.cc', | 28 'third_party/nspr/prtime.cc', |
21 'third_party/nspr/prtime.h', | 29 'third_party/nspr/prtime.h', |
22 'third_party/nspr/prcpucfg_linux.h', | 30 'third_party/nspr/prtypes.h', |
23 'third_party/xdg_mime/xdgmime.h', | 31 'third_party/xdg_mime/xdgmime.h', |
24 'allocator/allocator_extension.cc', | 32 'allocator/allocator_extension.cc', |
25 'allocator/allocator_extension.h', | 33 'allocator/allocator_extension.h', |
26 'allocator/type_profiler_control.cc', | 34 'allocator/type_profiler_control.cc', |
27 'allocator/type_profiler_control.h', | 35 'allocator/type_profiler_control.h', |
28 'android/base_jni_registrar.cc', | 36 'android/base_jni_registrar.cc', |
29 'android/base_jni_registrar.h', | 37 'android/base_jni_registrar.h', |
30 'android/build_info.cc', | 38 'android/build_info.cc', |
31 'android/build_info.h', | 39 'android/build_info.h', |
32 'android/scoped_java_ref.cc', | 40 'android/scoped_java_ref.cc', |
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', { | 728 ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', { |
721 'sources/': [ | 729 'sources/': [ |
722 ['exclude', '^chromeos/'], | 730 ['exclude', '^chromeos/'], |
723 ], | 731 ], |
724 }], | 732 }], |
725 # Remove all unnecessary files for build_nexe.py to avoid exceeding | 733 # Remove all unnecessary files for build_nexe.py to avoid exceeding |
726 # command-line-string limitation when building NaCl on Windows. | 734 # command-line-string limitation when building NaCl on Windows. |
727 ['OS == "win" and >(nacl_untrusted_build)==1', { | 735 ['OS == "win" and >(nacl_untrusted_build)==1', { |
728 'sources/': [ ['exclude', '\\.h$'] ], | 736 'sources/': [ ['exclude', '\\.h$'] ], |
729 }], | 737 }], |
| 738 ['<(use_system_nspr)==1 and >(nacl_untrusted_build)==0', { |
| 739 'sources/': [ |
| 740 ['exclude', '^third_party/nspr/'], |
| 741 ], |
| 742 }], |
730 ], | 743 ], |
731 }], | 744 }], |
732 ], | 745 ], |
733 }, | 746 }, |
734 } | 747 } |
OLD | NEW |