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

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: rebase again 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
« no previous file with comments | « base/android/java/src/org/chromium/base/ContentUriUtils.java ('k') | base/base.gypi » ('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) 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 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 'sources!': [ 889 'sources!': [
890 'test/scoped_locale.cc', 890 'test/scoped_locale.cc',
891 'test/scoped_locale.h', 891 'test/scoped_locale.h',
892 ], 892 ],
893 }], 893 }],
894 ['os_bsd==1', { 894 ['os_bsd==1', {
895 'sources!': [ 895 'sources!': [
896 'test/test_file_util_linux.cc', 896 'test/test_file_util_linux.cc',
897 ], 897 ],
898 }], 898 }],
899 ['OS == "android"', {
900 'dependencies': [
901 'base_unittests_jni_headers',
902 ],
903 'include_dirs': [
904 '<(SHARED_INTERMEDIATE_DIR)/base',
905 ],
906 }],
899 ], 907 ],
900 'sources': [ 908 'sources': [
901 'test/expectations/expectation.cc', 909 'test/expectations/expectation.cc',
902 'test/expectations/expectation.h', 910 'test/expectations/expectation.h',
903 'test/expectations/parser.cc', 911 'test/expectations/parser.cc',
904 'test/expectations/parser.h', 912 'test/expectations/parser.h',
905 'test/gtest_xml_util.cc', 913 'test/gtest_xml_util.cc',
906 'test/gtest_xml_util.h', 914 'test/gtest_xml_util.h',
907 'test/launcher/test_launcher.cc', 915 'test/launcher/test_launcher.cc',
908 'test/launcher/test_launcher.h', 916 'test/launcher/test_launcher.h',
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 'test/sequenced_worker_pool_owner.cc', 949 'test/sequenced_worker_pool_owner.cc',
942 'test/sequenced_worker_pool_owner.h', 950 'test/sequenced_worker_pool_owner.h',
943 'test/simple_test_clock.cc', 951 'test/simple_test_clock.cc',
944 'test/simple_test_clock.h', 952 'test/simple_test_clock.h',
945 'test/simple_test_tick_clock.cc', 953 'test/simple_test_tick_clock.cc',
946 'test/simple_test_tick_clock.h', 954 'test/simple_test_tick_clock.h',
947 'test/task_runner_test_template.cc', 955 'test/task_runner_test_template.cc',
948 'test/task_runner_test_template.h', 956 'test/task_runner_test_template.h',
949 'test/test_file_util.cc', 957 'test/test_file_util.cc',
950 'test/test_file_util.h', 958 'test/test_file_util.h',
959 'test/test_file_util_android.cc',
951 'test/test_file_util_linux.cc', 960 'test/test_file_util_linux.cc',
952 'test/test_file_util_mac.cc', 961 'test/test_file_util_mac.cc',
953 'test/test_file_util_posix.cc', 962 'test/test_file_util_posix.cc',
954 'test/test_file_util_win.cc', 963 'test/test_file_util_win.cc',
955 'test/test_listener_ios.h', 964 'test/test_listener_ios.h',
956 'test/test_listener_ios.mm', 965 'test/test_listener_ios.mm',
957 'test/test_pending_task.cc', 966 'test/test_pending_task.cc',
958 'test/test_pending_task.h', 967 'test/test_pending_task.h',
959 'test/test_process_killer_win.cc', 968 'test/test_process_killer_win.cc',
960 'test/test_process_killer_win.h', 969 'test/test_process_killer_win.h',
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 ], 1216 ],
1208 }], 1217 }],
1209 ['OS == "android"', { 1218 ['OS == "android"', {
1210 'targets': [ 1219 'targets': [
1211 { 1220 {
1212 'target_name': 'base_jni_headers', 1221 'target_name': 'base_jni_headers',
1213 'type': 'none', 1222 'type': 'none',
1214 'sources': [ 1223 'sources': [
1215 'android/java/src/org/chromium/base/ActivityStatus.java', 1224 'android/java/src/org/chromium/base/ActivityStatus.java',
1216 'android/java/src/org/chromium/base/BuildInfo.java', 1225 'android/java/src/org/chromium/base/BuildInfo.java',
1226 'android/java/src/org/chromium/base/ContentUriUtils.java',
1217 'android/java/src/org/chromium/base/CpuFeatures.java', 1227 'android/java/src/org/chromium/base/CpuFeatures.java',
1218 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java' , 1228 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java' ,
1219 'android/java/src/org/chromium/base/MemoryPressureListener.java', 1229 'android/java/src/org/chromium/base/MemoryPressureListener.java',
1220 'android/java/src/org/chromium/base/JavaHandlerThread.java', 1230 'android/java/src/org/chromium/base/JavaHandlerThread.java',
1221 'android/java/src/org/chromium/base/PathService.java', 1231 'android/java/src/org/chromium/base/PathService.java',
1222 'android/java/src/org/chromium/base/PathUtils.java', 1232 'android/java/src/org/chromium/base/PathUtils.java',
1223 'android/java/src/org/chromium/base/PowerMonitor.java', 1233 'android/java/src/org/chromium/base/PowerMonitor.java',
1224 'android/java/src/org/chromium/base/SystemMessageHandler.java', 1234 'android/java/src/org/chromium/base/SystemMessageHandler.java',
1225 'android/java/src/org/chromium/base/SysUtils.java', 1235 'android/java/src/org/chromium/base/SysUtils.java',
1226 'android/java/src/org/chromium/base/ThreadUtils.java', 1236 'android/java/src/org/chromium/base/ThreadUtils.java',
1227 ], 1237 ],
1228 'conditions': [ 1238 'conditions': [
1229 ['google_tv==1', { 1239 ['google_tv==1', {
1230 'sources': [ 1240 'sources': [
1231 'android/java/src/org/chromium/base/ContextTypes.java', 1241 'android/java/src/org/chromium/base/ContextTypes.java',
1232 ], 1242 ],
1233 }], 1243 }],
1234 ], 1244 ],
1235 'variables': { 1245 'variables': {
1236 'jni_gen_package': 'base', 1246 'jni_gen_package': 'base',
1237 'jni_generator_ptr_type': 'long', 1247 'jni_generator_ptr_type': 'long',
1238 }, 1248 },
1239 'includes': [ '../build/jni_generator.gypi' ], 1249 'includes': [ '../build/jni_generator.gypi' ],
1240 }, 1250 },
1241 { 1251 {
1252 'target_name': 'base_unittests_jni_headers',
1253 'type': 'none',
1254 'sources': [
1255 'test/android/java/src/org/chromium/base/ContentUriTestUtils.java',
1256 ],
1257 'variables': {
1258 'jni_gen_package': 'base',
1259 },
1260 'includes': [ '../build/jni_generator.gypi' ],
1261 },
1262 {
1242 'target_name': 'base_java', 1263 'target_name': 'base_java',
1243 'type': 'none', 1264 'type': 'none',
1244 'variables': { 1265 'variables': {
1245 'java_in_dir': '../base/android/java', 1266 'java_in_dir': '../base/android/java',
1246 }, 1267 },
1247 'dependencies': [ 1268 'dependencies': [
1248 'base_java_activity_state', 1269 'base_java_activity_state',
1249 'base_java_memory_pressure_level_list', 1270 'base_java_memory_pressure_level_list',
1250 ], 1271 ],
1251 'includes': [ '../build/java.gypi' ], 1272 'includes': [ '../build/java.gypi' ],
1252 'conditions': [ 1273 'conditions': [
1253 ['android_webview_build==0', { 1274 ['android_webview_build==0', {
1254 'dependencies': [ 1275 'dependencies': [
1255 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', 1276 '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib',
1256 ], 1277 ],
1257 }] 1278 }]
1258 ], 1279 ],
1259 }, 1280 },
1260 { 1281 {
1282 'target_name': 'base_java_unittest_support',
1283 'type': 'none',
1284 'dependencies': [
1285 'base_java',
1286 ],
1287 'variables': {
1288 'java_in_dir': '../base/test/android/java',
1289 },
1290 'includes': [ '../build/java.gypi' ],
1291 },
1292 {
1261 'target_name': 'base_java_activity_state', 1293 'target_name': 'base_java_activity_state',
1262 'type': 'none', 1294 'type': 'none',
1263 # This target is used to auto-generate ActivityState.java 1295 # This target is used to auto-generate ActivityState.java
1264 # from a template file. The source file contains a list of 1296 # from a template file. The source file contains a list of
1265 # Java constant declarations matching the ones in 1297 # Java constant declarations matching the ones in
1266 # android/activity_state_list.h. 1298 # android/activity_state_list.h.
1267 'sources': [ 1299 'sources': [
1268 'android/java/src/org/chromium/base/ActivityState.template', 1300 'android/java/src/org/chromium/base/ActivityState.template',
1269 ], 1301 ],
1270 'variables': { 1302 'variables': {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 # in the gyp make generator. What is the correct way to extract 1364 # in the gyp make generator. What is the correct way to extract
1333 # this path from gyp and into 'raw' for input to antfiles? 1365 # this path from gyp and into 'raw' for input to antfiles?
1334 # Hard-coding in the gypfile seems a poor choice. 1366 # Hard-coding in the gypfile seems a poor choice.
1335 ['OS == "android" and gtest_target_type == "shared_library"', { 1367 ['OS == "android" and gtest_target_type == "shared_library"', {
1336 'targets': [ 1368 'targets': [
1337 { 1369 {
1338 'target_name': 'base_unittests_apk', 1370 'target_name': 'base_unittests_apk',
1339 'type': 'none', 1371 'type': 'none',
1340 'dependencies': [ 1372 'dependencies': [
1341 'base_java', 1373 'base_java',
1374 'base_java_unittest_support',
1342 'base_unittests', 1375 'base_unittests',
1343 ], 1376 ],
1344 'variables': { 1377 'variables': {
1345 'test_suite_name': 'base_unittests', 1378 'test_suite_name': 'base_unittests',
1346 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit tests<(SHARED_LIB_SUFFIX)', 1379 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit tests<(SHARED_LIB_SUFFIX)',
1347 }, 1380 },
1348 'includes': [ '../build/apk_test.gypi' ], 1381 'includes': [ '../build/apk_test.gypi' ],
1349 }, 1382 },
1350 ], 1383 ],
1351 }], 1384 }],
(...skipping 10 matching lines...) Expand all
1362 'base_unittests.isolate', 1395 'base_unittests.isolate',
1363 ], 1396 ],
1364 'sources': [ 1397 'sources': [
1365 'base_unittests.isolate', 1398 'base_unittests.isolate',
1366 ], 1399 ],
1367 }, 1400 },
1368 ], 1401 ],
1369 }], 1402 }],
1370 ], 1403 ],
1371 } 1404 }
OLDNEW
« no previous file with comments | « base/android/java/src/org/chromium/base/ContentUriUtils.java ('k') | base/base.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698