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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 'use_libffmpeg%': '0', | 839 'use_libffmpeg%': '0', |
840 | 840 |
841 # Always use the chromium skia. The use_system_harfbuzz needs to | 841 # Always use the chromium skia. The use_system_harfbuzz needs to |
842 # match use_system_skia. | 842 # match use_system_skia. |
843 'use_system_skia%': '0', | 843 'use_system_skia%': '0', |
844 'use_system_harfbuzz%': '0', | 844 'use_system_harfbuzz%': '0', |
845 | 845 |
846 # Use the system icu. | 846 # Use the system icu. |
847 'use_system_icu%': 0, | 847 'use_system_icu%': 0, |
848 | 848 |
| 849 # TODO(yfriedman): Remove once unit_tests can link for Android. |
| 850 # To override it specify: |
| 851 # GYP_DEFINES="$GYP_DEFINES android_unit_test_target_type=executable" |
| 852 # android_gyp |
| 853 'android_unit_test_target_type%': 'static_library', |
| 854 |
849 # Choose static link by build type. | 855 # Choose static link by build type. |
850 'conditions': [ | 856 'conditions': [ |
851 ['android_build_type==0', { | 857 ['android_build_type==0', { |
852 'static_link_system_icu%': 1, | 858 'static_link_system_icu%': 1, |
853 }, { | 859 }, { |
854 'static_link_system_icu%': 0, | 860 'static_link_system_icu%': 0, |
855 }], | 861 }], |
856 ], | 862 ], |
857 # Enable to use system sqlite. | 863 # Enable to use system sqlite. |
858 'use_system_sqlite%': '<(android_build_type)', | 864 'use_system_sqlite%': '<(android_build_type)', |
(...skipping 2133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2992 # settings in target dicts. SYMROOT is a special case, because many other | 2998 # settings in target dicts. SYMROOT is a special case, because many other |
2993 # Xcode variables depend on it, including variables such as | 2999 # Xcode variables depend on it, including variables such as |
2994 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3000 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2995 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3001 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2996 # files to appear (when present) in the UI as actual files and not red | 3002 # files to appear (when present) in the UI as actual files and not red |
2997 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3003 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2998 # and therefore SYMROOT, needs to be set at the project level. | 3004 # and therefore SYMROOT, needs to be set at the project level. |
2999 'SYMROOT': '<(DEPTH)/xcodebuild', | 3005 'SYMROOT': '<(DEPTH)/xcodebuild', |
3000 }, | 3006 }, |
3001 } | 3007 } |
OLD | NEW |