OLD | NEW |
---|---|
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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'test_support_content', | 8 'target_name': 'test_support_content', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1381 'content_java_test_support', | 1381 'content_java_test_support', |
1382 'content_shell_java', | 1382 'content_shell_java', |
1383 ], | 1383 ], |
1384 'variables': { | 1384 'variables': { |
1385 'apk_name': 'content_browsertests', | 1385 'apk_name': 'content_browsertests', |
1386 'java_in_dir': 'shell/android/browsertests_apk', | 1386 'java_in_dir': 'shell/android/browsertests_apk', |
1387 'resource_dir': 'shell/android/browsertests_apk/res', | 1387 'resource_dir': 'shell/android/browsertests_apk/res', |
1388 'native_lib_target': 'libcontent_browsertests', | 1388 'native_lib_target': 'libcontent_browsertests', |
1389 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], | 1389 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], |
1390 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', | 1390 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', |
1391 'conditions': [ | |
1392 ['icu_use_data_file_flag==1', { | |
1393 'additional_input_paths': [ | |
1394 '<(PRODUCT_DIR)/icudtl.dat', | |
1395 ], | |
1396 }], | |
1397 ], | |
1391 }, | 1398 }, |
1399 'conditions': [ | |
1400 ['icu_use_data_file_flag==1', { | |
1401 'copies': [ | |
1402 { | |
1403 'destination': '<(asset_location)', | |
1404 'files': [ | |
1405 '<(PRODUCT_DIR)/icudtl.dat', | |
1406 ], | |
1407 }, | |
1408 ], | |
1409 }], | |
1410 ], | |
1392 'includes': [ '../build/java_apk.gypi' ], | 1411 'includes': [ '../build/java_apk.gypi' ], |
1393 }, | 1412 }, |
1394 { | 1413 { |
1395 'target_name': 'chromium_linker_test_apk', | 1414 'target_name': 'chromium_linker_test_apk', |
1396 'type': 'none', | 1415 'type': 'none', |
1397 'dependencies': [ | 1416 'dependencies': [ |
1398 'chromium_android_linker_test', | 1417 'chromium_android_linker_test', |
1399 'content.gyp:content_java', | 1418 'content.gyp:content_java', |
1400 'content_shell_java', | 1419 'content_shell_java', |
1401 ], | 1420 ], |
1402 'variables': { | 1421 'variables': { |
1403 'apk_name': 'ChromiumLinkerTest', | 1422 'apk_name': 'ChromiumLinkerTest', |
1404 'java_in_dir': 'shell/android/linker_test_apk', | 1423 'java_in_dir': 'shell/android/linker_test_apk', |
1405 'resource_dir': 'shell/android/linker_test_apk/res', | 1424 'resource_dir': 'shell/android/linker_test_apk/res', |
1406 'native_lib_target': 'libchromium_android_linker_test', | 1425 'native_lib_target': 'libchromium_android_linker_test', |
1407 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], | 1426 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/cont ent_shell.pak'], |
1408 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', | 1427 'asset_location': '<(PRODUCT_DIR)/content_shell/assets', |
1409 'use_chromium_linker': '1', | 1428 'use_chromium_linker': '1', |
1410 'enable_chromium_linker_tests': '1', | 1429 'enable_chromium_linker_tests': '1', |
1430 'conditions': [ | |
1431 ['icu_use_data_file_flag==1', { | |
1432 'additional_input_paths': [ | |
1433 '<(PRODUCT_DIR)/icudtl.dat', | |
1434 ], | |
1435 }], | |
1436 ], | |
1411 }, | 1437 }, |
1438 'conditions': [ | |
1439 ['icu_use_data_file_flag==1', { | |
1440 'copies': [ | |
1441 { | |
1442 'destination': '<(asset_location)', | |
1443 'files': [ | |
1444 '<(PRODUCT_DIR)/icudtl.dat', | |
1445 ], | |
1446 }, | |
1447 ], | |
1448 }], | |
1449 ], | |
1412 'includes': [ '../build/java_apk.gypi' ], | 1450 'includes': [ '../build/java_apk.gypi' ], |
jungshik at Google
2014/02/11 19:55:06
With this PS, content_shell now works. However, I'
cjhopman
2014/02/11 20:55:00
Hm. I think adding something to java_apk.gypi to m
bulach
2014/02/12 10:53:19
+1 for encapsulating within java_apk.gypi and +1 f
| |
1413 }, | 1451 }, |
1414 { | 1452 { |
1415 'target_name': 'chromium_android_linker_test', | 1453 'target_name': 'chromium_android_linker_test', |
1416 'type': 'shared_library', | 1454 'type': 'shared_library', |
1417 'defines!': ['CONTENT_IMPLEMENTATION'], | 1455 'defines!': ['CONTENT_IMPLEMENTATION'], |
1418 'dependencies': [ | 1456 'dependencies': [ |
1419 'chromium_android_linker_test_jni_headers', | 1457 'chromium_android_linker_test_jni_headers', |
1420 'content_shell_lib', | 1458 'content_shell_lib', |
1421 # Required to include "content/public/browser/android/compositor.h" | 1459 # Required to include "content/public/browser/android/compositor.h" |
1422 # in chromium_linker_test_android.cc :-( | 1460 # in chromium_linker_test_android.cc :-( |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1646 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], | 1684 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], |
1647 }, | 1685 }, |
1648 ], | 1686 ], |
1649 }], | 1687 }], |
1650 ], | 1688 ], |
1651 }, | 1689 }, |
1652 ], | 1690 ], |
1653 }], | 1691 }], |
1654 ], | 1692 ], |
1655 } | 1693 } |
OLD | NEW |