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

Side by Side Diff: base/BUILD.gn

Issue 946183002: Add base_unittests to win8 trybot. Fix PEImage tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: namespace the callbacks Created 5 years, 10 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/base.gyp » ('j') | base/win/pe_image_unittest.cc » ('J')
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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 source_set("protect_file_posix") { 1128 source_set("protect_file_posix") {
1129 sources = [ 1129 sources = [
1130 "files/protect_file_posix.cc", 1130 "files/protect_file_posix.cc",
1131 ] 1131 ]
1132 1132
1133 deps = [ 1133 deps = [
1134 "//base", 1134 "//base",
1135 ] 1135 ]
1136 } 1136 }
1137 1137
1138 if (is_win) {
1139 shared_library("pe_image_test") {
1140 sources = [
1141 "win/pe_image_test.cc",
1142 ]
1143 ldflags = [
1144 "/DELAYLOAD:cfgmgr32.dll",
1145 "/DELAYLOAD:shell32.dll",
1146 "/SUBSYSTEM:WINDOWS",
1147 ]
1148 libs = [
1149 "cfgmgr32.lib",
1150 "shell32.lib",
1151 ]
1152 }
1153 }
1154
1138 test("base_unittests") { 1155 test("base_unittests") {
1139 sources = [ 1156 sources = [
1140 "android/application_status_listener_unittest.cc", 1157 "android/application_status_listener_unittest.cc",
1141 "android/content_uri_utils_unittest.cc", 1158 "android/content_uri_utils_unittest.cc",
1142 "android/jni_android_unittest.cc", 1159 "android/jni_android_unittest.cc",
1143 "android/jni_array_unittest.cc", 1160 "android/jni_array_unittest.cc",
1144 "android/jni_string_unittest.cc", 1161 "android/jni_string_unittest.cc",
1145 "android/path_utils_unittest.cc", 1162 "android/path_utils_unittest.cc",
1146 "android/scoped_java_ref_unittest.cc", 1163 "android/scoped_java_ref_unittest.cc",
1147 "android/sys_utils_unittest.cc", 1164 "android/sys_utils_unittest.cc",
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1435 deps += [ "//third_party/libevent" ] 1452 deps += [ "//third_party/libevent" ]
1436 } 1453 }
1437 1454
1438 if (is_android) { 1455 if (is_android) {
1439 deps += [ "//testing/android:native_test_native_code" ] 1456 deps += [ "//testing/android:native_test_native_code" ]
1440 set_sources_assignment_filter([]) 1457 set_sources_assignment_filter([])
1441 sources += [ "debug/proc_maps_linux_unittest.cc" ] 1458 sources += [ "debug/proc_maps_linux_unittest.cc" ]
1442 set_sources_assignment_filter(sources_assignment_filter) 1459 set_sources_assignment_filter(sources_assignment_filter)
1443 } 1460 }
1444 1461
1462 if (is_win) {
1463 deps += [ ":pe_image_test" ]
1464 }
1465
1445 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1466 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1446 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 1467 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
1447 } 1468 }
1448 1469
1449 if (is_android) { 1470 if (is_android) {
1450 # GYP: //base.gyp:base_jni_headers 1471 # GYP: //base.gyp:base_jni_headers
1451 generate_jni("base_jni_headers") { 1472 generate_jni("base_jni_headers") {
1452 sources = [ 1473 sources = [
1453 "android/java/src/org/chromium/base/ApplicationStatus.java", 1474 "android/java/src/org/chromium/base/ApplicationStatus.java",
1454 "android/java/src/org/chromium/base/BuildInfo.java", 1475 "android/java/src/org/chromium/base/BuildInfo.java",
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 1563
1543 # GYP: //base.gyp:base_java_unittest_support 1564 # GYP: //base.gyp:base_java_unittest_support
1544 android_library("base_java_unittest_support") { 1565 android_library("base_java_unittest_support") {
1545 deps = [ 1566 deps = [
1546 ":base_java", 1567 ":base_java",
1547 ] 1568 ]
1548 java_files = 1569 java_files =
1549 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 1570 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
1550 } 1571 }
1551 } 1572 }
OLDNEW
« no previous file with comments | « no previous file | base/base.gyp » ('j') | base/win/pe_image_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698