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 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 # used, but prefix headers will not be precompiled. This is useful when | 982 # used, but prefix headers will not be precompiled. This is useful when |
983 # using distcc to distribute a build to compile slaves that don't | 983 # using distcc to distribute a build to compile slaves that don't |
984 # share the same compiler executable as the system driving the compilation, | 984 # share the same compiler executable as the system driving the compilation, |
985 # because precompiled headers rely on pointers into a specific compiler | 985 # because precompiled headers rely on pointers into a specific compiler |
986 # executable's image. Setting this to 0 is needed to use an experimental | 986 # executable's image. Setting this to 0 is needed to use an experimental |
987 # Linux-Mac cross compiler distcc farm. | 987 # Linux-Mac cross compiler distcc farm. |
988 'chromium_mac_pch%': 1, | 988 'chromium_mac_pch%': 1, |
989 | 989 |
990 # The default value for mac_strip in target_defaults. This cannot be | 990 # The default value for mac_strip in target_defaults. This cannot be |
991 # set there, per the comment about variable% in a target_defaults. | 991 # set there, per the comment about variable% in a target_defaults. |
992 'mac_strip_release%': 1, | 992 'mac_strip_release%': 0, |
993 | 993 |
994 # Set to 1 to enable code coverage. In addition to build changes | 994 # Set to 1 to enable code coverage. In addition to build changes |
995 # (e.g. extra CFLAGS), also creates a new target in the src/chrome | 995 # (e.g. extra CFLAGS), also creates a new target in the src/chrome |
996 # project file called "coverage". | 996 # project file called "coverage". |
997 # Currently ignored on Windows. | 997 # Currently ignored on Windows. |
998 'coverage%': 0, | 998 'coverage%': 0, |
999 | 999 |
1000 # Set to 1 to enable java code coverage. Instruments classes during build | 1000 # Set to 1 to enable java code coverage. Instruments classes during build |
1001 # to produce .ec files during runtime. | 1001 # to produce .ec files during runtime. |
1002 'emma_coverage%': 0, | 1002 'emma_coverage%': 0, |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1443 'android_webview_build%': '<(android_webview_build)', | 1443 'android_webview_build%': '<(android_webview_build)', |
1444 }], # OS=="android" | 1444 }], # OS=="android" |
1445 ['android_webview_build==1', { | 1445 ['android_webview_build==1', { |
1446 # When building the WebView in the Android tree, jarjar will remap all | 1446 # When building the WebView in the Android tree, jarjar will remap all |
1447 # the class names, so the JNI generator needs to know this. | 1447 # the class names, so the JNI generator needs to know this. |
1448 'jni_generator_jarjar_file': '../android_webview/build/jarjar-rules.txt'
, | 1448 'jni_generator_jarjar_file': '../android_webview/build/jarjar-rules.txt'
, |
1449 }], | 1449 }], |
1450 ['OS=="mac"', { | 1450 ['OS=="mac"', { |
1451 # Enable clang on mac by default! | 1451 # Enable clang on mac by default! |
1452 'clang%': 1, | 1452 'clang%': 1, |
| 1453 'conditions': [ |
| 1454 # All Chrome builds have breakpad symbols, but only process the |
| 1455 # symbols from official builds. |
| 1456 ['(branding=="Chrome" and buildtype=="Official")', { |
| 1457 'mac_strip_release%': 1, |
| 1458 }], |
| 1459 ], |
1453 }], # OS=="mac" | 1460 }], # OS=="mac" |
1454 ['OS=="mac" or OS=="ios"', { | 1461 ['OS=="mac" or OS=="ios"', { |
1455 'variables': { | 1462 'variables': { |
1456 # Mac OS X SDK and deployment target support. The SDK identifies | 1463 # Mac OS X SDK and deployment target support. The SDK identifies |
1457 # the version of the system headers that will be used, and | 1464 # the version of the system headers that will be used, and |
1458 # corresponds to the MAC_OS_X_VERSION_MAX_ALLOWED compile-time | 1465 # corresponds to the MAC_OS_X_VERSION_MAX_ALLOWED compile-time |
1459 # macro. "Maximum allowed" refers to the operating system version | 1466 # macro. "Maximum allowed" refers to the operating system version |
1460 # whose APIs are available in the headers. The deployment target | 1467 # whose APIs are available in the headers. The deployment target |
1461 # identifies the minimum system version that the built products are | 1468 # identifies the minimum system version that the built products are |
1462 # expected to function on. It corresponds to the | 1469 # expected to function on. It corresponds to the |
(...skipping 3317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4780 # settings in target dicts. SYMROOT is a special case, because many other | 4787 # settings in target dicts. SYMROOT is a special case, because many other |
4781 # Xcode variables depend on it, including variables such as | 4788 # Xcode variables depend on it, including variables such as |
4782 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4789 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4783 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4790 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4784 # files to appear (when present) in the UI as actual files and not red | 4791 # files to appear (when present) in the UI as actual files and not red |
4785 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4792 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4786 # and therefore SYMROOT, needs to be set at the project level. | 4793 # and therefore SYMROOT, needs to be set at the project level. |
4787 'SYMROOT': '<(DEPTH)/xcodebuild', | 4794 'SYMROOT': '<(DEPTH)/xcodebuild', |
4788 }, | 4795 }, |
4789 } | 4796 } |
OLD | NEW |