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

Side by Side Diff: base/base.gyp

Issue 46303005: Fix chrome upload with content uri (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding unittests for net/ Created 7 years, 1 month 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 'sources!': [ 884 'sources!': [
885 'test/scoped_locale.cc', 885 'test/scoped_locale.cc',
886 'test/scoped_locale.h', 886 'test/scoped_locale.h',
887 ], 887 ],
888 }], 888 }],
889 ['os_bsd==1', { 889 ['os_bsd==1', {
890 'sources!': [ 890 'sources!': [
891 'test/test_file_util_linux.cc', 891 'test/test_file_util_linux.cc',
892 ], 892 ],
893 }], 893 }],
894 ['OS == "android"', {
895 'dependencies': [
896 'base_unittests_jni_headers',
897 ],
898 'include_dirs': [
899 '<(SHARED_INTERMEDIATE_DIR)/base',
900 ],
901 }],
894 ], 902 ],
895 'sources': [ 903 'sources': [
896 'test/expectations/expectation.cc', 904 'test/expectations/expectation.cc',
897 'test/expectations/expectation.h', 905 'test/expectations/expectation.h',
898 'test/expectations/parser.cc', 906 'test/expectations/parser.cc',
899 'test/expectations/parser.h', 907 'test/expectations/parser.h',
900 'test/gtest_xml_util.cc', 908 'test/gtest_xml_util.cc',
901 'test/gtest_xml_util.h', 909 'test/gtest_xml_util.h',
902 'test/launcher/test_launcher.cc', 910 'test/launcher/test_launcher.cc',
903 'test/launcher/test_launcher.h', 911 'test/launcher/test_launcher.h',
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 'test/sequenced_worker_pool_owner.cc', 944 'test/sequenced_worker_pool_owner.cc',
937 'test/sequenced_worker_pool_owner.h', 945 'test/sequenced_worker_pool_owner.h',
938 'test/simple_test_clock.cc', 946 'test/simple_test_clock.cc',
939 'test/simple_test_clock.h', 947 'test/simple_test_clock.h',
940 'test/simple_test_tick_clock.cc', 948 'test/simple_test_tick_clock.cc',
941 'test/simple_test_tick_clock.h', 949 'test/simple_test_tick_clock.h',
942 'test/task_runner_test_template.cc', 950 'test/task_runner_test_template.cc',
943 'test/task_runner_test_template.h', 951 'test/task_runner_test_template.h',
944 'test/test_file_util.cc', 952 'test/test_file_util.cc',
945 'test/test_file_util.h', 953 'test/test_file_util.h',
954 'test/test_file_util_android.cc',
946 'test/test_file_util_linux.cc', 955 'test/test_file_util_linux.cc',
947 'test/test_file_util_mac.cc', 956 'test/test_file_util_mac.cc',
948 'test/test_file_util_posix.cc', 957 'test/test_file_util_posix.cc',
949 'test/test_file_util_win.cc', 958 'test/test_file_util_win.cc',
950 'test/test_listener_ios.h', 959 'test/test_listener_ios.h',
951 'test/test_listener_ios.mm', 960 'test/test_listener_ios.mm',
952 'test/test_pending_task.cc', 961 'test/test_pending_task.cc',
953 'test/test_pending_task.h', 962 'test/test_pending_task.h',
954 'test/test_process_killer_win.cc', 963 'test/test_process_killer_win.cc',
955 'test/test_process_killer_win.h', 964 'test/test_process_killer_win.h',
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
1202 ], 1211 ],
1203 }], 1212 }],
1204 ['OS == "android"', { 1213 ['OS == "android"', {
1205 'targets': [ 1214 'targets': [
1206 { 1215 {
1207 'target_name': 'base_jni_headers', 1216 'target_name': 'base_jni_headers',
1208 'type': 'none', 1217 'type': 'none',
1209 'sources': [ 1218 'sources': [
1210 'android/java/src/org/chromium/base/ActivityStatus.java', 1219 'android/java/src/org/chromium/base/ActivityStatus.java',
1211 'android/java/src/org/chromium/base/BuildInfo.java', 1220 'android/java/src/org/chromium/base/BuildInfo.java',
1221 'android/java/src/org/chromium/base/ContentUriUtils.java',
1212 'android/java/src/org/chromium/base/CpuFeatures.java', 1222 'android/java/src/org/chromium/base/CpuFeatures.java',
1213 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java' , 1223 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java' ,
1214 'android/java/src/org/chromium/base/MemoryPressureListener.java', 1224 'android/java/src/org/chromium/base/MemoryPressureListener.java',
1215 'android/java/src/org/chromium/base/JavaHandlerThread.java', 1225 'android/java/src/org/chromium/base/JavaHandlerThread.java',
1216 'android/java/src/org/chromium/base/PathService.java', 1226 'android/java/src/org/chromium/base/PathService.java',
1217 'android/java/src/org/chromium/base/PathUtils.java', 1227 'android/java/src/org/chromium/base/PathUtils.java',
1218 'android/java/src/org/chromium/base/PowerMonitor.java', 1228 'android/java/src/org/chromium/base/PowerMonitor.java',
1219 'android/java/src/org/chromium/base/SystemMessageHandler.java', 1229 'android/java/src/org/chromium/base/SystemMessageHandler.java',
1220 'android/java/src/org/chromium/base/SysUtils.java', 1230 'android/java/src/org/chromium/base/SysUtils.java',
1221 'android/java/src/org/chromium/base/ThreadUtils.java', 1231 'android/java/src/org/chromium/base/ThreadUtils.java',
1222 ], 1232 ],
1223 'conditions': [ 1233 'conditions': [
1224 ['google_tv==1', { 1234 ['google_tv==1', {
1225 'sources': [ 1235 'sources': [
1226 'android/java/src/org/chromium/base/ContextTypes.java', 1236 'android/java/src/org/chromium/base/ContextTypes.java',
1227 ], 1237 ],
1228 }], 1238 }],
1229 ], 1239 ],
1230 'variables': { 1240 'variables': {
1231 'jni_gen_package': 'base', 1241 'jni_gen_package': 'base',
1232 }, 1242 },
1233 'includes': [ '../build/jni_generator.gypi' ], 1243 'includes': [ '../build/jni_generator.gypi' ],
1234 }, 1244 },
1235 { 1245 {
1246 'target_name': 'base_unittests_jni_headers',
1247 'type': 'none',
1248 'sources': [
1249 'test/android/java/src/org/chromium/base/ContentUriTestUtils.java',
1250 ],
1251 'variables': {
1252 'jni_gen_package': 'base',
1253 },
1254 'includes': [ '../build/jni_generator.gypi' ],
1255 },
1256 {
1236 'target_name': 'base_java', 1257 'target_name': 'base_java',
1237 'type': 'none', 1258 'type': 'none',
1238 'variables': { 1259 'variables': {
1239 'java_in_dir': '../base/android/java', 1260 'java_in_dir': '../base/android/java',
1240 }, 1261 },
1241 'dependencies': [ 1262 'dependencies': [
1242 'base_java_activity_state', 1263 'base_java_activity_state',
1243 'base_java_memory_pressure_level_list', 1264 'base_java_memory_pressure_level_list',
1244 ], 1265 ],
1245 'includes': [ '../build/java.gypi' ], 1266 'includes': [ '../build/java.gypi' ],
1246 'conditions': [ 1267 'conditions': [
1247 ['android_webview_build==0', { 1268 ['android_webview_build==0', {
1248 'dependencies': [ 1269 'dependencies': [
1249 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', 1270 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib',
1250 ], 1271 ],
1251 }] 1272 }]
1252 ], 1273 ],
1253 }, 1274 },
1254 { 1275 {
1276 'target_name': 'base_java_unittest_support',
1277 'type': 'none',
1278 'dependencies': [
1279 'base_java',
1280 ],
1281 'variables': {
1282 'java_in_dir': '../base/test/android/java',
1283 },
1284 'includes': [ '../build/java.gypi' ],
1285 },
1286 {
1255 'target_name': 'base_java_activity_state', 1287 'target_name': 'base_java_activity_state',
1256 'type': 'none', 1288 'type': 'none',
1257 # This target is used to auto-generate ActivityState.java 1289 # This target is used to auto-generate ActivityState.java
1258 # from a template file. The source file contains a list of 1290 # from a template file. The source file contains a list of
1259 # Java constant declarations matching the ones in 1291 # Java constant declarations matching the ones in
1260 # android/activity_state_list.h. 1292 # android/activity_state_list.h.
1261 'sources': [ 1293 'sources': [
1262 'android/java/src/org/chromium/base/ActivityState.template', 1294 'android/java/src/org/chromium/base/ActivityState.template',
1263 ], 1295 ],
1264 'variables': { 1296 'variables': {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 # in the gyp make generator. What is the correct way to extract 1358 # in the gyp make generator. What is the correct way to extract
1327 # this path from gyp and into 'raw' for input to antfiles? 1359 # this path from gyp and into 'raw' for input to antfiles?
1328 # Hard-coding in the gypfile seems a poor choice. 1360 # Hard-coding in the gypfile seems a poor choice.
1329 ['OS == "android" and gtest_target_type == "shared_library"', { 1361 ['OS == "android" and gtest_target_type == "shared_library"', {
1330 'targets': [ 1362 'targets': [
1331 { 1363 {
1332 'target_name': 'base_unittests_apk', 1364 'target_name': 'base_unittests_apk',
1333 'type': 'none', 1365 'type': 'none',
1334 'dependencies': [ 1366 'dependencies': [
1335 'base_java', 1367 'base_java',
1368 'base_java_unittest_support',
1336 'base_unittests', 1369 'base_unittests',
1337 ], 1370 ],
1338 'variables': { 1371 'variables': {
1339 'test_suite_name': 'base_unittests', 1372 'test_suite_name': 'base_unittests',
1340 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit tests<(SHARED_LIB_SUFFIX)', 1373 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit tests<(SHARED_LIB_SUFFIX)',
1341 }, 1374 },
1342 'includes': [ '../build/apk_test.gypi' ], 1375 'includes': [ '../build/apk_test.gypi' ],
1343 }, 1376 },
1344 ], 1377 ],
1345 }], 1378 }],
(...skipping 10 matching lines...) Expand all
1356 'base_unittests.isolate', 1389 'base_unittests.isolate',
1357 ], 1390 ],
1358 'sources': [ 1391 'sources': [
1359 'base_unittests.isolate', 1392 'base_unittests.isolate',
1360 ], 1393 ],
1361 }, 1394 },
1362 ], 1395 ],
1363 }], 1396 }],
1364 ], 1397 ],
1365 } 1398 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698