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