The purpose of this study is to evaluate of the safety, efficacy, pharmacokinetics (PK) and pharmacodynamic (PD) effects of lumacaftor (VX-809) alone and when coadministered with ivacaftor (VX-770) in participants with cystic fibrosis, homozygous or heterozygous for the F508del-CFTR mutation.