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

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 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/parallel_test_launcher.cc', 910 'test/launcher/parallel_test_launcher.cc',
903 'test/launcher/parallel_test_launcher.h', 911 'test/launcher/parallel_test_launcher.h',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 'test/sequenced_worker_pool_owner.cc', 946 'test/sequenced_worker_pool_owner.cc',
939 'test/sequenced_worker_pool_owner.h', 947 'test/sequenced_worker_pool_owner.h',
940 'test/simple_test_clock.cc', 948 'test/simple_test_clock.cc',
941 'test/simple_test_clock.h', 949 'test/simple_test_clock.h',
942 'test/simple_test_tick_clock.cc', 950 'test/simple_test_tick_clock.cc',
943 'test/simple_test_tick_clock.h', 951 'test/simple_test_tick_clock.h',
944 'test/task_runner_test_template.cc', 952 'test/task_runner_test_template.cc',
945 'test/task_runner_test_template.h', 953 'test/task_runner_test_template.h',
946 'test/test_file_util.cc', 954 'test/test_file_util.cc',
947 'test/test_file_util.h', 955 'test/test_file_util.h',
956 'test/test_file_util_android.cc',
948 'test/test_file_util_linux.cc', 957 'test/test_file_util_linux.cc',
949 'test/test_file_util_mac.cc', 958 'test/test_file_util_mac.cc',
950 'test/test_file_util_posix.cc', 959 'test/test_file_util_posix.cc',
951 'test/test_file_util_win.cc', 960 'test/test_file_util_win.cc',
952 'test/test_listener_ios.h', 961 'test/test_listener_ios.h',
953 'test/test_listener_ios.mm', 962 'test/test_listener_ios.mm',
954 'test/test_pending_task.cc', 963 'test/test_pending_task.cc',
955 'test/test_pending_task.h', 964 'test/test_pending_task.h',
956 'test/test_process_killer_win.cc', 965 'test/test_process_killer_win.cc',
957 'test/test_process_killer_win.h', 966 'test/test_process_killer_win.h',
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 ], 1213 ],
1205 }], 1214 }],
1206 ['OS == "android"', { 1215 ['OS == "android"', {
1207 'targets': [ 1216 'targets': [
1208 { 1217 {
1209 'target_name': 'base_jni_headers', 1218 'target_name': 'base_jni_headers',
1210 'type': 'none', 1219 'type': 'none',
1211 'sources': [ 1220 'sources': [
1212 'android/java/src/org/chromium/base/ActivityStatus.java', 1221 'android/java/src/org/chromium/base/ActivityStatus.java',
1213 'android/java/src/org/chromium/base/BuildInfo.java', 1222 'android/java/src/org/chromium/base/BuildInfo.java',
1223 'android/java/src/org/chromium/base/ContentUriUtils.java',
1214 'android/java/src/org/chromium/base/CpuFeatures.java', 1224 'android/java/src/org/chromium/base/CpuFeatures.java',
1215 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java' , 1225 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java' ,
1216 'android/java/src/org/chromium/base/MemoryPressureListener.java', 1226 'android/java/src/org/chromium/base/MemoryPressureListener.java',
1217 'android/java/src/org/chromium/base/JavaHandlerThread.java', 1227 'android/java/src/org/chromium/base/JavaHandlerThread.java',
1218 'android/java/src/org/chromium/base/PathService.java', 1228 'android/java/src/org/chromium/base/PathService.java',
1219 'android/java/src/org/chromium/base/PathUtils.java', 1229 'android/java/src/org/chromium/base/PathUtils.java',
1220 'android/java/src/org/chromium/base/PowerMonitor.java', 1230 'android/java/src/org/chromium/base/PowerMonitor.java',
1221 'android/java/src/org/chromium/base/SystemMessageHandler.java', 1231 'android/java/src/org/chromium/base/SystemMessageHandler.java',
1222 'android/java/src/org/chromium/base/SysUtils.java', 1232 'android/java/src/org/chromium/base/SysUtils.java',
1223 'android/java/src/org/chromium/base/ThreadUtils.java', 1233 'android/java/src/org/chromium/base/ThreadUtils.java',
1224 ], 1234 ],
1225 'conditions': [ 1235 'conditions': [
1226 ['google_tv==1', { 1236 ['google_tv==1', {
1227 'sources': [ 1237 'sources': [
1228 'android/java/src/org/chromium/base/ContextTypes.java', 1238 'android/java/src/org/chromium/base/ContextTypes.java',
1229 ], 1239 ],
1230 }], 1240 }],
1231 ], 1241 ],
1232 'variables': { 1242 'variables': {
1233 'jni_gen_package': 'base', 1243 'jni_gen_package': 'base',
1234 }, 1244 },
1235 'includes': [ '../build/jni_generator.gypi' ], 1245 'includes': [ '../build/jni_generator.gypi' ],
1236 }, 1246 },
1237 { 1247 {
1248 'target_name': 'base_unittests_jni_headers',
1249 'type': 'none',
1250 'sources': [
1251 'test/android/java/src/org/chromium/base/ContentUriTestUtils.java',
1252 ],
1253 'variables': {
1254 'jni_gen_package': 'base',
1255 },
1256 'includes': [ '../build/jni_generator.gypi' ],
1257 },
1258 {
1238 'target_name': 'base_java', 1259 'target_name': 'base_java',
1239 'type': 'none', 1260 'type': 'none',
1240 'variables': { 1261 'variables': {
1241 'java_in_dir': '../base/android/java', 1262 'java_in_dir': '../base/android/java',
1242 }, 1263 },
1243 'dependencies': [ 1264 'dependencies': [
1244 'base_java_activity_state', 1265 'base_java_activity_state',
1245 'base_java_memory_pressure_level_list', 1266 'base_java_memory_pressure_level_list',
1246 ], 1267 ],
1247 'includes': [ '../build/java.gypi' ], 1268 'includes': [ '../build/java.gypi' ],
1248 'conditions': [ 1269 'conditions': [
1249 ['android_webview_build==0', { 1270 ['android_webview_build==0', {
1250 'dependencies': [ 1271 'dependencies': [
1251 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', 1272 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib',
1252 ], 1273 ],
1253 }] 1274 }]
1254 ], 1275 ],
1255 }, 1276 },
1256 { 1277 {
1278 'target_name': 'base_java_unittest_support',
1279 'type': 'none',
1280 'dependencies': [
1281 'base_java',
1282 ],
1283 'variables': {
1284 'java_in_dir': '../base/test/android/java',
1285 },
1286 'includes': [ '../build/java.gypi' ],
1287 },
1288 {
1257 'target_name': 'base_java_activity_state', 1289 'target_name': 'base_java_activity_state',
1258 'type': 'none', 1290 'type': 'none',
1259 # This target is used to auto-generate ActivityState.java 1291 # This target is used to auto-generate ActivityState.java
1260 # from a template file. The source file contains a list of 1292 # from a template file. The source file contains a list of
1261 # Java constant declarations matching the ones in 1293 # Java constant declarations matching the ones in
1262 # android/activity_state_list.h. 1294 # android/activity_state_list.h.
1263 'sources': [ 1295 'sources': [
1264 'android/java/src/org/chromium/base/ActivityState.template', 1296 'android/java/src/org/chromium/base/ActivityState.template',
1265 ], 1297 ],
1266 'variables': { 1298 'variables': {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 # in the gyp make generator. What is the correct way to extract 1360 # in the gyp make generator. What is the correct way to extract
1329 # this path from gyp and into 'raw' for input to antfiles? 1361 # this path from gyp and into 'raw' for input to antfiles?
1330 # Hard-coding in the gypfile seems a poor choice. 1362 # Hard-coding in the gypfile seems a poor choice.
1331 ['OS == "android" and gtest_target_type == "shared_library"', { 1363 ['OS == "android" and gtest_target_type == "shared_library"', {
1332 'targets': [ 1364 'targets': [
1333 { 1365 {
1334 'target_name': 'base_unittests_apk', 1366 'target_name': 'base_unittests_apk',
1335 'type': 'none', 1367 'type': 'none',
1336 'dependencies': [ 1368 'dependencies': [
1337 'base_java', 1369 'base_java',
1370 'base_java_unittest_support',
1338 'base_unittests', 1371 'base_unittests',
1339 ], 1372 ],
1340 'variables': { 1373 'variables': {
1341 'test_suite_name': 'base_unittests', 1374 'test_suite_name': 'base_unittests',
1342 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit tests<(SHARED_LIB_SUFFIX)', 1375 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit tests<(SHARED_LIB_SUFFIX)',
1343 }, 1376 },
1344 'includes': [ '../build/apk_test.gypi' ], 1377 'includes': [ '../build/apk_test.gypi' ],
1345 }, 1378 },
1346 ], 1379 ],
1347 }], 1380 }],
(...skipping 10 matching lines...) Expand all
1358 'base_unittests.isolate', 1391 'base_unittests.isolate',
1359 ], 1392 ],
1360 'sources': [ 1393 'sources': [
1361 'base_unittests.isolate', 1394 'base_unittests.isolate',
1362 ], 1395 ],
1363 }, 1396 },
1364 ], 1397 ],
1365 }], 1398 }],
1366 ], 1399 ],
1367 } 1400 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698