GlaxoSmithKline said on Tuesday it had chosen Emma Walmsley, head of consumer healthcare, as its new chief executive, after considering internal and external candidates.