Make directory for filenames.gypi while building 67/143367/3
authorYoungsoo Choi <kenshin.choi@samsung.com>
Wed, 9 Aug 2017 11:01:59 +0000 (11:01 +0000)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Fri, 11 Aug 2017 01:41:19 +0000 (10:41 +0900)
There should be '/PATH/TO/vendor/brightray/vendor/download/libchromiumcontent'
so that filenames.gypi can be generated.

Otherwise, following error occurs.

>> IOError: [Errno 2] No such file or directory:
>> '/PATH/TO/vendor/brightray/vendor/download/libchromiumcontent/filenames.gypi'

Change-Id: I5f3bdc37d183ba222846bdd67eb7c5318066c20f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
vendor/brightray/script/bootstrap

index 3ced740..88711dc 100755 (executable)
@@ -82,7 +82,8 @@ def setup_libchromiumcontent(is_dev, commit, target_arch, url,
   args = ['-f', '-c', commit, '--target_arch', target_arch, url, target_dir]
   if libcc_chromium_efl_path != None:
     args += ['--libcc_chromium_efl_path', libcc_chromium_efl_path]
-  if (libcc_source_path != None and
+    mkdir_p(target_dir)
+  elif (libcc_source_path != None and
       libcc_shared_library_path != None and
       libcc_static_library_path != None):
     args += ['--libcc_source_path', libcc_source_path,