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

Side by Side Diff: build/common.gypi

Issue 86313004: [Android] Add lint as a gyp action. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years 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 | « build/android/lint_action.gypi ('k') | build/java.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 1020
1021 # Set to 1 to enable java code coverage. Instruments classes during build 1021 # Set to 1 to enable java code coverage. Instruments classes during build
1022 # to produce .ec files during runtime. 1022 # to produce .ec files during runtime.
1023 'emma_coverage%': 0, 1023 'emma_coverage%': 0,
1024 1024
1025 # EMMA filter string consisting of a list of inclusion/exclusion patterns 1025 # EMMA filter string consisting of a list of inclusion/exclusion patterns
1026 # separated with whitespace and/or comma. Only has effect if 1026 # separated with whitespace and/or comma. Only has effect if
1027 # 'emma_coverage=1'. 1027 # 'emma_coverage=1'.
1028 'emma_filter%': '', 1028 'emma_filter%': '',
1029 1029
1030 # Set to 1 to enable running Android lint on java/class files.
1031 'android_lint%': 0,
1032
1030 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. 1033 # Set to 1 to force Visual C++ to use legacy debug information format /Z7.
1031 # This is useful for parallel compilation tools which can't support /Zi. 1034 # This is useful for parallel compilation tools which can't support /Zi.
1032 # Only used on Windows. 1035 # Only used on Windows.
1033 'win_z7%' : 0, 1036 'win_z7%' : 0,
1034 1037
1035 # Although base/allocator lets you select a heap library via an 1038 # Although base/allocator lets you select a heap library via an
1036 # environment variable, the libcmt shim it uses sometimes gets in 1039 # environment variable, the libcmt shim it uses sometimes gets in
1037 # the way. To disable it entirely, and switch to normal msvcrt, do e.g. 1040 # the way. To disable it entirely, and switch to normal msvcrt, do e.g.
1038 # 'win_use_allocator_shim': 0, 1041 # 'win_use_allocator_shim': 0,
1039 # 'win_release_RuntimeLibrary': 2 1042 # 'win_release_RuntimeLibrary': 2
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 }], 1475 }],
1473 ['OS=="mac"', { 1476 ['OS=="mac"', {
1474 # Enable clang on mac by default! 1477 # Enable clang on mac by default!
1475 'clang%': 1, 1478 'clang%': 1,
1476 'conditions': [ 1479 'conditions': [
1477 # All Chrome builds have breakpad symbols, but only process the 1480 # All Chrome builds have breakpad symbols, but only process the
1478 # symbols from official builds. 1481 # symbols from official builds.
1479 ['(branding=="Chrome" and buildtype=="Official")', { 1482 ['(branding=="Chrome" and buildtype=="Official")', {
1480 'mac_strip_release%': 1, 1483 'mac_strip_release%': 1,
1481 }], 1484 }],
1482 ], 1485 ],
1483 }], # OS=="mac" 1486 }], # OS=="mac"
1484 ['OS=="mac" or OS=="ios"', { 1487 ['OS=="mac" or OS=="ios"', {
1485 'variables': { 1488 'variables': {
1486 # Mac OS X SDK and deployment target support. The SDK identifies 1489 # Mac OS X SDK and deployment target support. The SDK identifies
1487 # the version of the system headers that will be used, and 1490 # the version of the system headers that will be used, and
1488 # corresponds to the MAC_OS_X_VERSION_MAX_ALLOWED compile-time 1491 # corresponds to the MAC_OS_X_VERSION_MAX_ALLOWED compile-time
1489 # macro. "Maximum allowed" refers to the operating system version 1492 # macro. "Maximum allowed" refers to the operating system version
1490 # whose APIs are available in the headers. The deployment target 1493 # whose APIs are available in the headers. The deployment target
1491 # identifies the minimum system version that the built products are 1494 # identifies the minimum system version that the built products are
1492 # expected to function on. It corresponds to the 1495 # expected to function on. It corresponds to the
(...skipping 3311 matching lines...) Expand 10 before | Expand all | Expand 10 after
4804 # settings in target dicts. SYMROOT is a special case, because many other 4807 # settings in target dicts. SYMROOT is a special case, because many other
4805 # Xcode variables depend on it, including variables such as 4808 # Xcode variables depend on it, including variables such as
4806 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4809 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4807 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4810 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4808 # files to appear (when present) in the UI as actual files and not red 4811 # files to appear (when present) in the UI as actual files and not red
4809 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4812 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4810 # and therefore SYMROOT, needs to be set at the project level. 4813 # and therefore SYMROOT, needs to be set at the project level.
4811 'SYMROOT': '<(DEPTH)/xcodebuild', 4814 'SYMROOT': '<(DEPTH)/xcodebuild',
4812 }, 4815 },
4813 } 4816 }
OLDNEW
« no previous file with comments | « build/android/lint_action.gypi ('k') | build/java.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698