Make sure we compile chromium code with the same defines as chromium-efl
authorPiotr Tworek <p.tworek@samsung.com>
Thu, 5 Mar 2015 09:39:02 +0000 (18:39 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
Apparently some of them are needed to ship chromium code in shared
library. Would be good to investigate them and explain what they
actually do.

Change-Id: I459ba1458fced5ddaaeb6a133f0d13f79149d252
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
tizen_src/supplement.gypi

index 5e08a9e..154b327 100644 (file)
       # Mobile gcc 4.6.x hack end
     ],
 
+    'defines': [
+      # TODO: Check if those defines are still necessary. If they are add an explanation why.
+      'COMPONENT_BUILD=1',
+      'SKIA_DLL=1',
+      'BUILDING_V8_SHARED=1',
+      'V8_SHARED=1',
+      'USE_DL_PREFIX=1',
+    ],
+
     'conditions': [
 
       ['use_efl==1', {