/build/scripts/ |
H A D | download_sdk.py | 111 parser.add_argument('--product-name', default='ohos-sdk-full', help='OHOS product name') 144 for product in products_list: 145 product_name = product['component'] 152 if product['obsPath'] and os.path.exists(default_save_path): 153 download_url = 'http://download.ci.openharmony.cn/{}'.format(product['obsPath'])
|
/build/hb/services/ |
H A D | menu.py | 97 product = product_info['name'] 103 product_path_dict['{}@{}'.format(product, 107 raise OHOSException('no valid product found') 110 product if isinstance(product, Separator) else { 111 'name': product.split('@')[0], 112 'value': product.split('@')[1] 113 } for product in product_path_dict.keys() 115 product = self._list_promt('product', 'Whic [all...] |
H A D | ninja.py | 54 self.config.product,
|
H A D | preloader.py | 211 'generated product parts info to {}/parts.json'.format( 299 allow_info_file = "out/products_ext/{}/compile_standard_whitelist.json".format(self.config.product) 311 self.config.product
|
H A D | loader.py | 75 self.config.root_path, 'out/preloader', self.config.product, 'subsystem_config.json') 77 self.config.root_path, 'out/preloader', self.config.product, 'platforms.build') 79 self.config.root_path, 'out/preloader', self.config.product, 'exclusion_modules.json') 90 self.config.root_path, 'out/preloader', self.config.product, 'compile_standard_whitelist.json') 203 'build/subsystem_config.json') is written correctly.".format(self.config.product), "2001") 215 is written correctly.".format(self.config.product), "2004") 224 LogUtil.hb_info("Checking all product features...") 248 message = "The product use a feature vals='{}', but that is not defined " \ 257 "The product use a feature that is not supported" 908 LogUtil.hb_warning("{} was not configured for this product [all...] |
/build/hb/resolver/ |
H A D | env_args_resolver.py | 65 product = json_data.get('product', 'not set') 73 LogUtil.hb_info('product: {}'.format(product)) 74 LogUtil.hb_info('product path: {}'.format(product_path))
|
H A D | set_args_resolver.py | 49 config.product = product_info.get('name') 80 config.board, config.product)
|
H A D | build_args_resolver.py | 61 """resolve '--product-name' arg. 68 target_generator.regist_arg('product_name', config.product) 183 prefix = 'out/{}/build_configs/'.format(config.product) 209 :raise OHOSException: when build target not exist in compiling product. 230 ComponentUtil.get_component_name(os.getcwd()), Config().product): 242 raise OHOSException('There is no target component "{}" for the current product "{}"' 243 .format(component_name, Config().product), "4001") 736 '"--archive-image" option not work, cause the currently compiled product is not a standard product')
|
/build/hb/util/preloader/ |
H A D | parse_vendor_product_config.py | 128 for product in os.listdir(company_path): 129 product_path = os.path.join(company_path, product) 137 raise Exception(f'Error: failed to get product config for {product_name}') 146 parser.add_argument('--product-name', required=True)
|
H A D | preloader_process_data.py | 77 config.root_path, 'out/preloader', config.product) 99 self._name = config.product 105 # parse product configuration, then generate parts list and build vars 129 self._syscap_info = {'product': product_name, 'api_version': api_version, 132 # Update the _device_name and _device_info based on the product configuration in the vendor warehouse 152 # Update the _parts based on the product configuration in the vendor warehouse 163 # 2. product config based on default minimum system 195 # Update the _build_vars based on the product configuration in the vendor warehouse 362 raise Exception("product configuration '{}' doesn't exist.".format(
|
/build/hb/resources/ |
H A D | config.py | 176 def product(self): member in Config 181 @product.setter 182 def product(self, value: str): member in Config 184 self.config_update('product', self._product) 308 f'Invalid built-in product path: {_built_in_product_path}') 380 self.product = config_content.get('product', None)
|
/build/hb/util/ |
H A D | product_util.py | 44 for product in os.listdir(company_path): 45 p_config_path = os.path.join(company_path, product) 95 for product in os.listdir(company_path): 96 product_path = os.path.join(company_path, product) 205 # Add the product config file to last with highest priority 233 # Add the product config file to last with highest priority 316 raise OHOSException(f'product {product_name}@{company} not found')
|
/build/hb/util/post_build/ |
H A D | part_rom_statistics.py | 216 product = file_json["product"]
217 return (out_path, board, product, os_level)
|
/build/ohos/packages/ |
H A D | fs_process.py | 36 r'${product_name}': self.config.product, 216 'If the product does not need to be packaged, ignore it.') 234 parser.add_argument('--product', required=True) 238 parser.add_argument('--product-path', required=True) 244 r'${product_name}': args.product,
|
/build/ |
H A D | prebuilts_download.sh | 210 $prebuild_python3_path ${code_dir}/build/scripts/download_sdk.py --branch master --product-name ohos-sdk-full-api --api-version 12
|
/build/tools/component_tools/ |
H A D | parse_kconf.py | 173 --out=./product.json --deps={$repo}/out/{your_product}/part_deps_info/part_deps_info.json --config=./.config' 183 parser.add_argument('--out', type=str, default="./product.json", 184 help="define output file path and name, like './product.json'")
|
/build/build_scripts/ |
H A D | build.sh | 183 ./build.py --product-name ohos-sdk $ccache_args $xcache_args --load-test-config=false --get-warning-list=false --stat-ccache=false --compute-overlap-rate=false --deps-guard=false --generate-ninja-trace=false --gn-args skip_generate_module_list_file=true sdk_platform=linux ndk_platform=linux use_cfi=false use_thin_lto=false enable_lto_O0=true sdk_check_flag=false enable_ndk_doxygen=false archive_ndk=false sdk_for_hap_build=true enable_archive_sdk=false enable_notice_collection=false enable_process_notice=false
|
/build/hb/util/loader/ |
H A D | load_ohos_build.py | 667 parts_config_path = os.path.join(config.root_path, "out/preloader", config.product, 677 compile_standard_whitelist_file = os.path.join(config.root_path, "out/preloader", config.product,
|