Lines Matching refs:PROJECT
4 Copyright (C) 2010 The Android Open Source Project
26 need to launch ndk-gdb-py from your application project directory
65 PROJECT = None
114 global PROJECT, NDK
149 parser.add_argument( '-p', '--project',
150 help='Specify application project path',
151 dest='project')
240 if args.project != None:
241 PROJECT = args.project
275 global GNUMAKE_CMD, GNUMAKE_FLAGS, NDK, PROJECT
281 PROJECT,
290 global GNUMAKE_CMD, GNUMAKE_FLAGS, NDK, PROJECT
296 PROJECT,
499 global ADB_CMD, NDK, PROJECT
519 if PROJECT != None:
520 log('Using specified project path: %s' % (PROJECT))
521 if not os.path.isdir(PROJECT):
522 error('Your --project option does not point to a directory!')
523 if not os.path.isfile(PROJECT+os.sep+MANIFEST):
524 error('''Your --project does not point to an Android project path!
527 # Assume we are in the project directory
529 PROJECT = '.'
531 PROJECT = ''
536 PROJECT=CURDIR
540 if not os.path.isdir(PROJECT):
541 error('Launch this script from an application project directory, or use --project=<path>.')
542 log('Using auto-detected project path: %s' % (PROJECT))
544 PACKAGE_NAME = extract_package_name(PROJECT+os.sep+MANIFEST)
550 Please check that the file is well-formed!''' % (PROJECT+os.sep+MANIFEST))
553 print(' '.join(extract_launchable(PROJECT+os.sep+MANIFEST)))
601 DEBUGGABLE = extract_debuggable(PROJECT+os.sep+MANIFEST)
607 gdbserver_path = os.path.join(PROJECT,'libs',COMPAT_ABI,'gdbserver')
625 *then* re-install to the device!''' % (PROJECT,COMPAT_ABI))
646 OPTION_LAUNCH = extract_launchable(PROJECT+os.sep+MANIFEST)
746 libdir = os.path.join(PROJECT,'libs',COMPAT_ABI)