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

Side by Side Diff: base/BUILD.gn

Issue 1983333002: Define SYS_NATIVE_UTF8 for base_unittests on Chromecast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | no next file » | 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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 1954 matching lines...) Expand 10 before | Expand all | Expand 10 after
1965 1965
1966 # Some unittests depend on the ALLOCATOR_SHIM macro. 1966 # Some unittests depend on the ALLOCATOR_SHIM macro.
1967 configs += [ "//base/allocator:allocator_shim_define" ] 1967 configs += [ "//base/allocator:allocator_shim_define" ]
1968 1968
1969 data = [ 1969 data = [
1970 "test/data/", 1970 "test/data/",
1971 ] 1971 ]
1972 1972
1973 # Allow more direct string conversions on platforms with native utf8 1973 # Allow more direct string conversions on platforms with native utf8
1974 # strings 1974 # strings
1975 if (is_mac || is_ios || is_chromeos) { 1975 if (is_mac || is_ios || is_chromeos || is_chromecast) {
1976 defines = [ "SYSTEM_NATIVE_UTF8" ] 1976 defines = [ "SYSTEM_NATIVE_UTF8" ]
1977 } 1977 }
1978 1978
1979 if (is_android) { 1979 if (is_android) {
1980 deps += [ 1980 deps += [
1981 ":base_java", 1981 ":base_java",
1982 ":base_java_unittest_support", 1982 ":base_java_unittest_support",
1983 "//base/android/jni_generator:jni_generator_tests", 1983 "//base/android/jni_generator:jni_generator_tests",
1984 ] 1984 ]
1985 } 1985 }
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
2373 2373
2374 # GYP: //base.gyp:base_java_unittest_support 2374 # GYP: //base.gyp:base_java_unittest_support
2375 android_library("base_java_unittest_support") { 2375 android_library("base_java_unittest_support") {
2376 deps = [ 2376 deps = [
2377 ":base_java", 2377 ":base_java",
2378 ] 2378 ]
2379 java_files = 2379 java_files =
2380 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2380 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2381 } 2381 }
2382 } 2382 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698