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

Side by Side Diff: build/common.gypi

Issue 10051021: apk-based test runner work for android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months 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
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 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 'input_speech%': 0, 781 'input_speech%': 0,
782 'enable_web_intents%': 0, 782 'enable_web_intents%': 0,
783 'java_bridge%': 1, 783 'java_bridge%': 1,
784 # Android does not support themes. 784 # Android does not support themes.
785 'enable_themes%': 0, 785 'enable_themes%': 0,
786 786
787 # Set to 1 once we have a notification system for Android. 787 # Set to 1 once we have a notification system for Android.
788 # http://crbug.com/115320 788 # http://crbug.com/115320
789 'notifications%': 0, 789 'notifications%': 0,
790 790
791 # Builds the gtest targets as a shared_library.
792 # TODO(michaelbai): Use the fixed value 'shared_library' once it
793 # is fully supported.
794 'gtest_target_type%': '<(gtest_target_type)', 791 'gtest_target_type%': '<(gtest_target_type)',
792 # TODO(jrg): when 'gtest_target_type'=='shared_libary' and
793 # OS==android, make all gtest_targets depend on
794 # testing/android/native_test.gyp:native_test_apk.
795 ### 'gtest_target_type': 'shared_libary',
795 796
796 # Uses system APIs for decoding audio and video. 797 # Uses system APIs for decoding audio and video.
797 'use_libffmpeg%': '0', 798 'use_libffmpeg%': '0',
798 799
799 # Always use the chromium skia. The use_system_harfbuzz needs to 800 # Always use the chromium skia. The use_system_harfbuzz needs to
800 # match use_system_skia. 801 # match use_system_skia.
801 'use_system_skia%': '0', 802 'use_system_skia%': '0',
802 'use_system_harfbuzz%': '0', 803 'use_system_harfbuzz%': '0',
803 804
804 # Use the system icu. 805 # Use the system icu.
(...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after
2349 'libraries': [ 2350 'libraries': [
2350 # crtend_android.o needs to be the last item in libraries. 2351 # crtend_android.o needs to be the last item in libraries.
2351 # Do not add any libraries after this! 2352 # Do not add any libraries after this!
2352 '<(android_ndk_lib)/crtend_android.o', 2353 '<(android_ndk_lib)/crtend_android.o',
2353 ], 2354 ],
2354 }], 2355 }],
2355 ['_type=="shared_library"', { 2356 ['_type=="shared_library"', {
2356 'ldflags': [ 2357 'ldflags': [
2357 '-Wl,-shared,-Bsymbolic', 2358 '-Wl,-shared,-Bsymbolic',
2358 ], 2359 ],
2360 # Use of -nostdlib prevents the compiler from bringing
2361 # in crtbegin_dynamic.o et al, so we get an undefined
2362 # reference to ___dso_handle when building
2363 # gtest_target_type==shared_library.
2364 'ldflags!': [ '-nostdlib' ],
2359 }], 2365 }],
2360 ], 2366 ],
2361 }], 2367 }],
2362 # Settings for building host targets using the system toolchain. 2368 # Settings for building host targets using the system toolchain.
2363 ['_toolset=="host"', { 2369 ['_toolset=="host"', {
2364 'cflags!': [ 2370 'cflags!': [
2365 # Due to issues in Clang build system, using ASan on 32-bit 2371 # Due to issues in Clang build system, using ASan on 32-bit
2366 # binaries on x86_64 host is problematic. 2372 # binaries on x86_64 host is problematic.
2367 # TODO(eugenis): re-enable. 2373 # TODO(eugenis): re-enable.
2368 '-faddress-sanitizer', 2374 '-faddress-sanitizer',
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
2948 # settings in target dicts. SYMROOT is a special case, because many other 2954 # settings in target dicts. SYMROOT is a special case, because many other
2949 # Xcode variables depend on it, including variables such as 2955 # Xcode variables depend on it, including variables such as
2950 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2956 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2951 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2957 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2952 # files to appear (when present) in the UI as actual files and not red 2958 # files to appear (when present) in the UI as actual files and not red
2953 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2959 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2954 # and therefore SYMROOT, needs to be set at the project level. 2960 # and therefore SYMROOT, needs to be set at the project level.
2955 'SYMROOT': '<(DEPTH)/xcodebuild', 2961 'SYMROOT': '<(DEPTH)/xcodebuild',
2956 }, 2962 },
2957 } 2963 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698