Home
last modified time | relevance | path

Searched refs:product (Results 1 - 18 of 18) sorted by relevance

/build/scripts/
H A Ddownload_sdk.py111 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 Dmenu.py97 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 Dninja.py54 self.config.product,
H A Dpreloader.py211 '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 Dloader.py75 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 Denv_args_resolver.py65 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 Dset_args_resolver.py49 config.product = product_info.get('name')
80 config.board, config.product)
H A Dbuild_args_resolver.py61 """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 Dparse_vendor_product_config.py128 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 Dpreloader_process_data.py77 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 Dconfig.py176 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 Dproduct_util.py44 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 Dpart_rom_statistics.py216 product = file_json["product"]
217 return (out_path, board, product, os_level)
/build/ohos/packages/
H A Dfs_process.py36 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 Dprebuilts_download.sh210 $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 Dparse_kconf.py173 --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 Dbuild.sh183 ./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 Dload_ohos_build.py667 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,

Completed in 14 milliseconds