| OLD | NEW |
| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 }, | 107 }, |
| 108 }, | 108 }, |
| 109 'defines': [ | 109 'defines': [ |
| 110 'NACL_WIN64', | 110 'NACL_WIN64', |
| 111 ], | 111 ], |
| 112 # TODO(rvargas): Bug 78117. Remove this. | 112 # TODO(rvargas): Bug 78117. Remove this. |
| 113 'msvs_disabled_warnings': [ | 113 'msvs_disabled_warnings': [ |
| 114 4244, | 114 4244, |
| 115 ], | 115 ], |
| 116 }, | 116 }, |
| 117 { | |
| 118 'target_name': 'base_jni_headers', | |
| 119 'type': 'none', | |
| 120 'actions': [ | |
| 121 { | |
| 122 'action_name': 'generate_jni_headers', | |
| 123 'inputs': [ | |
| 124 'android/jni_generator/jni_generator.py', | |
| 125 'android/java/org/chromium/base/BuildInfo.java', | |
| 126 'android/java/org/chromium/base/PathUtils.java', | |
| 127 'android/java/org/chromium/base/SystemMessageHandler.java', | |
| 128 ], | |
| 129 'outputs': [ | |
| 130 '<(SHARED_INTERMEDIATE_DIR)/base/jni/build_info_jni.h', | |
| 131 '<(SHARED_INTERMEDIATE_DIR)/base/jni/path_utils_jni.h', | |
| 132 '<(SHARED_INTERMEDIATE_DIR)/base/jni/system_message_handler_jni.h', | |
| 133 ], | |
| 134 'action': [ | |
| 135 'python', | |
| 136 'android/jni_generator/jni_generator.py', | |
| 137 '-o', | |
| 138 '<@(_inputs)', | |
| 139 '<@(_outputs)', | |
| 140 ], | |
| 141 } | |
| 142 ], | |
| 143 }, | |
| 144 # Include this target for a main() function that simply instantiates | 117 # Include this target for a main() function that simply instantiates |
| 145 # and runs a base::TestSuite. | 118 # and runs a base::TestSuite. |
| 146 { | 119 { |
| 147 'target_name': 'run_all_unittests', | 120 'target_name': 'run_all_unittests', |
| 148 'type': 'static_library', | 121 'type': 'static_library', |
| 149 'dependencies': [ | 122 'dependencies': [ |
| 150 'test_support_base', | 123 'test_support_base', |
| 151 ], | 124 ], |
| 152 'sources': [ | 125 'sources': [ |
| 153 'test/run_all_unittests.cc', | 126 'test/run_all_unittests.cc', |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 # base/test/perf_test_suite.h | 511 # base/test/perf_test_suite.h |
| 539 # base/test/test_suite.h | 512 # base/test/test_suite.h |
| 540 # gtk/gtk.h | 513 # gtk/gtk.h |
| 541 '../build/linux/system.gyp:gtk', | 514 '../build/linux/system.gyp:gtk', |
| 542 ], | 515 ], |
| 543 }], | 516 }], |
| 544 ], | 517 ], |
| 545 }, | 518 }, |
| 546 ], | 519 ], |
| 547 'conditions': [ | 520 'conditions': [ |
| 521 ['OS == "android"', { |
| 522 'targets': [ |
| 523 { |
| 524 'target_name': 'base_jni_headers', |
| 525 'type': 'none', |
| 526 'variables': { |
| 527 'java_sources': [ |
| 528 'android/java/org/chromium/base/BuildInfo.java', |
| 529 'android/java/org/chromium/base/PathUtils.java', |
| 530 'android/java/org/chromium/base/SystemMessageHandler.java', |
| 531 ], |
| 532 'jni_headers': [ |
| 533 '<(SHARED_INTERMEDIATE_DIR)/base/jni/build_info_jni.h', |
| 534 '<(SHARED_INTERMEDIATE_DIR)/base/jni/path_utils_jni.h', |
| 535 '<(SHARED_INTERMEDIATE_DIR)/base/jni/system_message_handler_jni.h'
, |
| 536 ], |
| 537 }, |
| 538 'includes': [ '../build/jni_generator.gypi' ], |
| 539 }, |
| 540 { |
| 541 'target_name': 'base_java', |
| 542 'type': 'none', |
| 543 'variables': { |
| 544 'package_name': 'base', |
| 545 'java_in_dir': 'android/java', |
| 546 }, |
| 547 'includes': [ '../build/java.gypi' ], |
| 548 }, |
| 549 ], |
| 550 }], |
| 548 ['OS == "win"', { | 551 ['OS == "win"', { |
| 549 'targets': [ | 552 'targets': [ |
| 550 { | 553 { |
| 551 'target_name': 'debug_message', | 554 'target_name': 'debug_message', |
| 552 'type': 'executable', | 555 'type': 'executable', |
| 553 'sources': [ | 556 'sources': [ |
| 554 'debug_message.cc', | 557 'debug_message.cc', |
| 555 ], | 558 ], |
| 556 'msvs_settings': { | 559 'msvs_settings': { |
| 557 'VCLinkerTool': { | 560 'VCLinkerTool': { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 # treated as weak imports in dependents, who still must | 622 # treated as weak imports in dependents, who still must |
| 620 # #include closure_blocks_leopard_compat.h to get weak imports. | 623 # #include closure_blocks_leopard_compat.h to get weak imports. |
| 621 'type': 'none', | 624 'type': 'none', |
| 622 }], | 625 }], |
| 623 ], | 626 ], |
| 624 }, | 627 }, |
| 625 ], | 628 ], |
| 626 }], | 629 }], |
| 627 ], | 630 ], |
| 628 } | 631 } |
| OLD | NEW |