| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 DEPS = [ | 5 DEPS = [ |
| 6 'depot_tools/gclient', | 6 'depot_tools/gclient', |
| 7 'depot_tools/bot_update', | 7 'depot_tools/bot_update', |
| 8 'recipe_engine/path', | 8 'recipe_engine/path', |
| 9 'recipe_engine/platform', | 9 'recipe_engine/platform', |
| 10 'recipe_engine/properties', | 10 'recipe_engine/properties', |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 checkout = api.path['checkout'] | 73 checkout = api.path['checkout'] |
| 74 gn_cmd = api.path['depot_tools'].join('gn.py') | 74 gn_cmd = api.path['depot_tools'].join('gn.py') |
| 75 | 75 |
| 76 # Prepare the arguments to pass in. | 76 # Prepare the arguments to pass in. |
| 77 args = [ | 77 args = [ |
| 78 'is_debug=%s' % gn_bool[not rel], | 78 'is_debug=%s' % gn_bool[not rel], |
| 79 'pdf_enable_v8=%s' % gn_bool[v8], | 79 'pdf_enable_v8=%s' % gn_bool[v8], |
| 80 'pdf_enable_xfa=%s' % gn_bool[xfa], | 80 'pdf_enable_xfa=%s' % gn_bool[xfa], |
| 81 'pdf_use_skia=%s' % gn_bool[skia], | 81 'pdf_use_skia=%s' % gn_bool[skia], |
| 82 'pdf_is_standalone=true', | 82 'pdf_is_standalone=true', |
| 83 'clang_use_chrome_plugins=false', | |
| 84 ] | 83 ] |
| 85 if target_os: | 84 if target_os: |
| 86 args.append('target_os="%s"' % target_os) | 85 args.append('target_os="%s"' % target_os) |
| 87 | 86 |
| 88 api.python('gn gen', gn_cmd, | 87 api.python('gn gen', gn_cmd, |
| 89 ['--root=' + str(checkout), 'gen', '//out/' + out_dir, | 88 ['--root=' + str(checkout), 'gen', '//out/' + out_dir, |
| 90 '--args=' + ' '.join(args)], | 89 '--args=' + ' '.join(args)], |
| 91 cwd=checkout) | 90 cwd=checkout) |
| 92 | 91 |
| 93 def _BuildSteps(api, out_dir): | 92 def _BuildSteps(api, out_dir): |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 yield ( | 482 yield ( |
| 484 api.test('android') + | 483 api.test('android') + |
| 485 api.platform('linux', 64) + | 484 api.platform('linux', 64) + |
| 486 api.properties(mastername='client.pdfium', | 485 api.properties(mastername='client.pdfium', |
| 487 buildername='android', | 486 buildername='android', |
| 488 slavename='test_slave', | 487 slavename='test_slave', |
| 489 target_os='android', | 488 target_os='android', |
| 490 gn=True, | 489 gn=True, |
| 491 skip_test=True) | 490 skip_test=True) |
| 492 ) | 491 ) |
| OLD | NEW |