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

Side by Side Diff: net/net.gyp

Issue 266053002: Implement alternative string conversion functions in net/ on Android, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 8
9 'linux_link_kerberos%': 0, 9 'linux_link_kerberos%': 0,
10 'use_tracing_cache_backend%': 0, 10 'use_tracing_cache_backend%': 0,
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 'cert/cert_verify_proc_openssl.cc', 416 'cert/cert_verify_proc_openssl.cc',
417 'cert/test_root_certs_openssl.cc', 417 'cert/test_root_certs_openssl.cc',
418 ], 418 ],
419 # The net/android/keystore_openssl.cc source file needs to 419 # The net/android/keystore_openssl.cc source file needs to
420 # access an OpenSSL-internal header. 420 # access an OpenSSL-internal header.
421 'include_dirs': [ 421 'include_dirs': [
422 '../third_party/openssl', 422 '../third_party/openssl',
423 ], 423 ],
424 }, 424 },
425 ], 425 ],
426 [ 'use_icu_alternatives == 1', {
427 'sources!': [
428 'base/net_string_util_icu.cc',
429 ],
430 'sources': [
431 'base/net_string_util_icu_alternatives_android.cc',
432 'base/net_string_util_icu_alternatives_android.h',
433 ],
434 },
435 ],
426 ], 436 ],
427 'target_conditions': [ 437 'target_conditions': [
428 # These source files are excluded by default platform rules, but they 438 # These source files are excluded by default platform rules, but they
429 # are needed in specific cases on other platforms. Re-including them can 439 # are needed in specific cases on other platforms. Re-including them can
430 # only be done in target_conditions as it is evaluated after the 440 # only be done in target_conditions as it is evaluated after the
431 # platform rules. 441 # platform rules.
432 ['OS == "android"', { 442 ['OS == "android"', {
433 'sources/': [ 443 'sources/': [
434 ['include', '^base/platform_mime_util_linux\\.cc$'], 444 ['include', '^base/platform_mime_util_linux\\.cc$'],
435 ['include', '^base/address_tracker_linux\\.cc$'], 445 ['include', '^base/address_tracker_linux\\.cc$'],
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
1398 'android/java/src/org/chromium/net/GURLUtils.java', 1408 'android/java/src/org/chromium/net/GURLUtils.java',
1399 'android/java/src/org/chromium/net/NetworkChangeNotifier.java', 1409 'android/java/src/org/chromium/net/NetworkChangeNotifier.java',
1400 'android/java/src/org/chromium/net/ProxyChangeListener.java', 1410 'android/java/src/org/chromium/net/ProxyChangeListener.java',
1401 'android/java/src/org/chromium/net/X509Util.java', 1411 'android/java/src/org/chromium/net/X509Util.java',
1402 ], 1412 ],
1403 'variables': { 1413 'variables': {
1404 'jni_gen_package': 'net', 1414 'jni_gen_package': 'net',
1405 'jni_generator_ptr_type': 'long', 1415 'jni_generator_ptr_type': 'long',
1406 }, 1416 },
1407 'includes': [ '../build/jni_generator.gypi' ], 1417 'includes': [ '../build/jni_generator.gypi' ],
1418
1419 'conditions': [
1420 ['use_icu_alternatives==1', {
1421 'sources': [
1422 'android/java/src/org/chromium/net/NetStringUtil.java',
1423 ],
1424 }],
1425 ],
1408 }, 1426 },
1409 { 1427 {
1410 'target_name': 'net_test_jni_headers', 1428 'target_name': 'net_test_jni_headers',
1411 'type': 'none', 1429 'type': 'none',
1412 'sources': [ 1430 'sources': [
1413 'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java ', 1431 'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java ',
1414 ], 1432 ],
1415 'variables': { 1433 'variables': {
1416 'jni_gen_package': 'net', 1434 'jni_gen_package': 'net',
1417 'jni_generator_ptr_type': 'long', 1435 'jni_generator_ptr_type': 'long',
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 'net_unittests.isolate', 1585 'net_unittests.isolate',
1568 ], 1586 ],
1569 'sources': [ 1587 'sources': [
1570 'net_unittests.isolate', 1588 'net_unittests.isolate',
1571 ], 1589 ],
1572 }, 1590 },
1573 ], 1591 ],
1574 }], 1592 }],
1575 ], 1593 ],
1576 } 1594 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698