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 'content_shell_product_name': 'Content Shell', | 7 'content_shell_product_name': 'Content Shell', |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 # executable. | 433 # executable. |
434 'postbuild_name': 'Verify No Objective-C', | 434 'postbuild_name': 'Verify No Objective-C', |
435 'action': [ | 435 'action': [ |
436 '../build/mac/verify_no_objc.sh', | 436 '../build/mac/verify_no_objc.sh', |
437 ], | 437 ], |
438 }, | 438 }, |
439 ], | 439 ], |
440 }, # target content_shell_helper_app | 440 }, # target content_shell_helper_app |
441 ], | 441 ], |
442 }], # OS=="mac" | 442 }], # OS=="mac" |
443 ], | 443 ['OS=="android"', { |
| 444 'targets': [ |
| 445 { |
| 446 'target_name': 'content_shell_apk', |
| 447 'type': 'none', |
| 448 'actions': [ |
| 449 { |
| 450 'action_name': 'content_shell_apk', |
| 451 'inputs': [ |
| 452 '<(DEPTH)/content/shell/android/content_shell_apk.xml', |
| 453 '<!@(find shell/android/java -name "*.java")', |
| 454 ], |
| 455 'outputs': [ |
| 456 # Awkwardly, we build a Debug APK even when gyp is in |
| 457 # Release mode. I don't think it matters (e.g. we're |
| 458 # probably happy to not codesign) but naming should be |
| 459 # fixed. |
| 460 '<(PRODUCT_DIR)/ContentShell-debug.apk', |
| 461 ], |
| 462 'action': [ |
| 463 'ant', |
| 464 '-DPRODUCT_DIR=<(PRODUCT_DIR)', |
| 465 '-buildfile', |
| 466 '<(DEPTH)/content/shell/android/content_shell_apk.xml', |
| 467 ] |
| 468 } |
| 469 ], |
| 470 }, |
| 471 ], |
| 472 }], # OS=="android" |
| 473 ] |
444 } | 474 } |
OLD | NEW |