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

Side by Side Diff: base/BUILD.gn

Issue 1557623002: Port //base/android/jni_generator/jni_generator.gyp to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | base/android/jni_generator/BUILD.gn » ('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) 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 1873 matching lines...) Expand 10 before | Expand all | Expand 10 after
1884 # Allow more direct string conversions on platforms with native utf8 1884 # Allow more direct string conversions on platforms with native utf8
1885 # strings 1885 # strings
1886 if (is_mac || is_ios || is_chromeos) { 1886 if (is_mac || is_ios || is_chromeos) {
1887 defines = [ "SYSTEM_NATIVE_UTF8" ] 1887 defines = [ "SYSTEM_NATIVE_UTF8" ]
1888 } 1888 }
1889 1889
1890 if (is_android) { 1890 if (is_android) {
1891 deps += [ 1891 deps += [
1892 ":base_java", 1892 ":base_java",
1893 ":base_java_unittest_support", 1893 ":base_java_unittest_support",
1894 "//base/android/jni_generator:jni_generator_tests",
1894 ] 1895 ]
1895 1896
1896 # TODO(brettw) I think this should not be here, we should not be using 1897 # TODO(brettw) I think this should not be here, we should not be using
1897 # isolate files. 1898 # isolate files.
1898 isolate_file = "base_unittests.isolate" 1899 isolate_file = "base_unittests.isolate"
1899 } 1900 }
1900 1901
1901 if (is_ios) { 1902 if (is_ios) {
1902 sources -= [ 1903 sources -= [
1903 "files/file_locking_unittest.cc", 1904 "files/file_locking_unittest.cc",
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
2146 2147
2147 # GYP: //base.gyp:base_java_unittest_support 2148 # GYP: //base.gyp:base_java_unittest_support
2148 android_library("base_java_unittest_support") { 2149 android_library("base_java_unittest_support") {
2149 deps = [ 2150 deps = [
2150 ":base_java", 2151 ":base_java",
2151 ] 2152 ]
2152 java_files = 2153 java_files =
2153 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2154 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2154 } 2155 }
2155 } 2156 }
OLDNEW
« no previous file with comments | « no previous file | base/android/jni_generator/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698